[syslinux] failure when trying to build on OpenBSD 2.8

Eichert, Diana deicher at sandia.gov
Sat Feb 16 21:27:25 PST 2002


Hello

I'm trying to build hpa-tftp on an OpenBSD so I'll have support 
for "tsize".  configure run successfully, then I run gmake, then 
the following errors.

thanks

gmake[1]: Entering directory `/usr/local/src/tftp-hpa-0.28/tftp'
gcc -g -O2 -D_XPG4_2 -D_XOPEN_SOURCE -D__EXTENSIONS__ -D_BSD_SOURCE
-D_ISO9X_SOURCE -D_OSF_SOURCE -D_XOPEN_SOURCE_EXTENDED -W -Wall
-Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef
-Wshadow -Wsign-compare -pipe -I.. -c tftp.c
In file included from ../config.h:95,
                 from tftpsubs.h:48,
                 from tftp.c:39:
/usr/include/sys/socket.h:164: syntax error before `u_char'
/usr/include/sys/socket.h:166: syntax error before `u_char'
/usr/include/sys/socket.h:174: syntax error before `u_short'
/usr/include/sys/socket.h:319: syntax error before `u_int'
/usr/include/sys/socket.h:383: syntax error before `u_short'
In file included from ../config.h:232,
                 from tftpsubs.h:48,
                 from tftp.c:39:
/usr/include/arpa/inet.h:89: syntax error before `inet_nsap_addr'
/usr/include/arpa/inet.h:89: syntax error before `u_char'
/usr/include/arpa/inet.h:89: warning: data definition has no type or storage
class
/usr/include/arpa/inet.h:90: syntax error before `*'
gmake[1]: *** [tftp.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/tftp-hpa-0.28/tftp'
gmake: *** [tftp.build] Error 2
# uname -a
OpenBSD littledawg 2.8 LIBRETTO#1 i386




More information about the Syslinux mailing list