NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build.sh on Linux?



Netbsd-users,
I am trying to compile NetBSD on Fedora 9.  When I execute "./build.sh
-a i386 -m i386 -U tools" it fails to build the tool set with:


#   compile  compat/glob.lo
cc -O  -I. -I./include -I/home/glen/src/c/netbsd/usr/src/tools/compat
-I/home/glen/src/c/netbsd/usr/src/tools/compat/sys 
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE
-c -o glob.lo.o   
/home/glen/src/c/netbsd/usr/src/tools/compat/../../lib/libc/gen/glob.c
/home/glen/src/c/netbsd/usr/src/tools/compat/../../lib/libc/gen/glob.c:
In function 'globextend':
/home/glen/src/c/netbsd/usr/src/tools/compat/../../lib/libc/gen/glob.c:804:
error: 'ARG_MAX' undeclared (first use in this function)
/home/glen/src/c/netbsd/usr/src/tools/compat/../../lib/libc/gen/glob.c:804:
error: (Each undeclared identifier is reported only once
/home/glen/src/c/netbsd/usr/src/tools/compat/../../lib/libc/gen/glob.c:804:
error: for each function it appears in.)

*** Failed target:  glob.lo
*** Failed command: cc -O -I. -I./include
-I/home/glen/src/c/netbsd/usr/src/tools/compat
-I/home/glen/src/c/netbsd/usr/src/tools/compat/sys
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE
-c -o glob.lo.o
/home/glen/src/c/netbsd/usr/src/tools/compat/../../lib/libc/gen/glob.c
*** Error code 1

Stop.
nbmake: stopped in /home/glen/src/c/netbsd/usr/src/tools/compat

Any suggestions?

Thanks,
Glen



Home | Main Index | Thread Index | Old Index