pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/29408: gkermit fails to compile under Linux
>Number: 29408
>Category: pkg
>Synopsis: gkermit fails to compile under Linux
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 16 20:55:00 +0000 2005
>Originator: Jorge Acereda
>Release: Linux with pkgsrc
>Organization:
>Environment:
Linux odw 2.6.10-pegasos-r2 #9 Mon Feb 7 18:24:40 CET 2005 ppc 7447/7457,
altivec supported CHRP Pegasos2 GNU/Linux
>Description:
cc -o gkermit gproto.o gkermit.o gunixio.o gcmdline.o
gkermit.o(.text+0xfea): In function `seof':
: undefined reference to `errno'
gkermit.o(.text+0xff2): In function `seof':
: undefined reference to `errno'
gkermit.o(.text+0x20fe): In function `sfile':
: undefined reference to `errno'
gkermit.o(.text+0x210a): In function `sfile':
: undefined reference to `errno'
gkermit.o(.text+0x24be): In function `decode':
: undefined reference to `errno'
gkermit.o(.text+0x24ca): more undefined references to `errno' follow
collect2: ld returned 1 exit status
*** Error code 1
>How-To-Repeat:
In a linux machine,
cd /usr/pkgsrc/comms/gkermit
bmake install
>Fix:
$NetBSD$
--- gkermit.c.orig 2005-02-16 21:46:39.361929288 +0100
+++ gkermit.c
@@ -55,6 +55,7 @@ char *build = "stty";
#endif /* POSIX */
#define _GKERMIT_C
+#include <errno.h>
#include <stdio.h>
#include "gkermit.h"
Home |
Main Index |
Thread Index |
Old Index