Subject: tnftpd fails to build on Linux
To: None <tech-pkg@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 08/12/2006 12:51:22
Hi,

Trying to build tnftpd on Linux (RedHat EL4). Here's the error...

yacc  ftpcmd.y
gcc -I. -I./.. -I. -I..  -I./../libnetbsd -DHAVE_TNFTPD_H=1 -O2
-D_DEFAULT_CONFDIR=\"/etc\"  -c -o ftpcmd.o y.tab.c
ftpcmd.y: In function `yyparse':
ftpcmd.y:300: error: `epsvall' undeclared (first use in this function)
ftpcmd.y:300: error: (Each undeclared identifier is reported only once
ftpcmd.y:300: error: for each function it appears in.)
ftpcmd.y:544: error: `sitetab' undeclared (first use in this function)
ftpcmd.y: At top level:
ftpcmd.y:1303: warning: static declaration of 'check_write' follows
non-static declaration
ftpcmd.y:423: warning: previous implicit declaration of 'check_write'
was here
ftpcmd.y:1304: error: conflicting types for 'help'
ftpcmd.y:544: error: previous implicit declaration of 'help' was here
ftpcmd.y:1305: error: conflicting types for 'port_check'
ftpcmd.y:258: error: previous implicit declaration of 'port_check' was here
*** Error code 1

Stop.
bmake: stopped in /usr/pkgobj/net/tnftpd/work/tnftpd-20040810/src
*** Error code 1




There's no yacc or bison in the base system. Only pkgsrc's bison is
installed. However, during bootstrap, RedHat's byacc package was there.
I can't see how that would make a difference, though.

Any idea what could be going on?

Louis