Netboot Mailing List (by thread)

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

problems with netboot compilation on linux.




Hello,
	I'm trying to compile netboot 0.81 on slackware linux 7.0. I've included
a typescript file below detailing my problems. Any help appreciated.
Thanks.
Dave.

Script started on Wed Apr  5 02:58:08 2000
dave:~/netboot/netboot$ ./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O ) works... yes
checking whether the C compiler (gcc -O ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc accepts -Wall... yes
checking for POSIXized ISC... no
checking for a BSD compatible install... /usr/bin/ginstall -c
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for flex... flex
checking for bison... bison -y
checking for gmake... gmake
checking for mawk... no
checking for gawk... gawk
checking whether gmake sets ${MAKE}... yes
checking for as86... /usr/bin/as86
checking for correct version of as86... no
configure: warning: Can't compile i86 modules, using default
checking for ANSI C header files... yes
checking for string.h... yes
checking for memory.h... yes
checking for unistd.h... yes
checking for getopt.h... yes
checking for malloc.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for sys/time.h... yes
checking for sys/param.h... yes
checking for sys/bitypes.h... yes
checking for arpa/inet.h... yes
checking for linux/config.h... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for size_t... yes
checking for getopt_long... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for inet_addr... yes
checking for packed attribute... yes
checking for definition of __uxx in types.h... no
checking for definition of u_intxx_t in types.h... yes
checking size of unsigned char... 1
checking size of unsigned short... 2
checking size of unsigned long... 4
checking size of unsigned int... 4
checking for inline... inline
checking whether system allows accessing misaligned data... yes
checking whether byte ordering is bigendian... no
./configure: cmp: command not found
updating cache ./config.cache
creating ./config.status
creating Makefile
creating misc/Makefile
creating misc/romcheck/Makefile
creating include/Makefile
creating mknbi-dos/Makefile
creating mknbi-linux/Makefile
creating mknbi-mgl/Makefile
creating makerom/Makefile
creating nblib/Makefile
creating bootrom/make.defs
creating config.h
dave:~/netboot/netboot$ make
making all in include
make[1]: Entering directory `/home/dmehler/netboot/netboot/include'
sed
"s/%VER_MAJOR%/0/;s/%VER_MINOR%/8/;s/%PATCHLEVEL%/1/;s/%PACKAGE%/netboot/
;s/%YEAR%/1998/" version.h.in >version.h
make[1]: Leaving directory `/home/dmehler/netboot/netboot/include'
making all in misc
make[1]: Entering directory `/home/dmehler/netboot/netboot/misc'
gcc -o makec makec.c
makec.c: In function `main':
makec.c:27: warning: return type of `main' is not `int'
sed "s&%PREFIX%&/usr/local&" netboot.config.in >netboot.config
sed
"s&%CONFIG%&/usr/local/etc/netboot.config&;s&%LIBDIR%&/usr/local/lib/netb
oot&" netboot.config.man.in >netboot.config.man
making all in romcheck
make[2]: Entering directory `/home/dmehler/netboot/netboot/misc/romcheck'
make[2]: Leaving directory `/home/dmehler/netboot/netboot/misc/romcheck'
make[1]: Leaving directory `/home/dmehler/netboot/netboot/misc'
making all in nblib
make[1]: Entering directory `/home/dmehler/netboot/netboot/nblib'
(cd ../include && make version.h) || exit 1
make[2]: Entering directory `/home/dmehler/netboot/netboot/include'
make[2]: `version.h' is up to date.
make[2]: Leaving directory `/home/dmehler/netboot/netboot/include'
gcc -O2 -Wall  -DHAVE_CONFIG_H -DDEFAULT_DIR=\"/usr/local/lib/netboot\"
-DDEFAULT_CONFIG=\"/usr/local/etc/netboot.config\" -I. -I.. -I../include 
 -c memory.c -o memory.o
gcc -O2 -Wall  -DHAVE_CONFIG_H -DDEFAULT_DIR=\"/usr/local/lib/netboot\"
-DDEFAULT_CONFIG=\"/usr/local/etc/netboot.config\" -I. -I.. -I../include 
 -c parseopt.c -o parseopt.o
parseopt.c: In function `parseopt':
parseopt.c:226: warning: `islong' might be used uninitialized in this
function
gcc -O2 -Wall  -DHAVE_CONFIG_H -DDEFAULT_DIR=\"/usr/local/lib/netboot\"
-DDEFAULT_CONFIG=\"/usr/local/etc/netboot.config\" -I. -I.. -I../include 
 -c config.c -o config.o
config.c: In function `readdb':
config.c:429: warning: `fd' might be used uninitialized in this function
gcc -O2 -Wall  -DHAVE_CONFIG_H -DDEFAULT_DIR=\"/usr/local/lib/netboot\"
-DDEFAULT_CONFIG=\"/usr/local/etc/netboot.config\" -I. -I.. -I../include 
 -c setup.c -o setup.o
gcc -O2 -Wall  -DHAVE_CONFIG_H -DDEFAULT_DIR=\"/usr/local/lib/netboot\"
-DDEFAULT_CONFIG=\"/usr/local/etc/netboot.config\" -I. -I.. -I../include 
 -c fileio.c -o fileio.o
/usr/bin/ar ruv libnb.a memory.o parseopt.o config.o setup.o fileio.o
a - memory.o
a - parseopt.o
a - config.o
a - setup.o
a - fileio.o
ranlib libnb.a
make[1]: Leaving directory `/home/dmehler/netboot/netboot/nblib'
making all in makerom
make[1]: Entering directory `/home/dmehler/netboot/netboot/makerom'
(cd ../include && make version.h) || exit 1
make[2]: Entering directory `/home/dmehler/netboot/netboot/include'
make[2]: `version.h' is up to date.
make[2]: Leaving directory `/home/dmehler/netboot/netboot/include'
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -I../bootrom/headers
  -c main.c -o main.o
main.c:331: warning: return type of `main' is not `int'
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -I../bootrom/headers
  -c getdb.c -o getdb.o
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -I../bootrom/headers
  -c user.c -o user.o
user.c: In function `getnum':
user.c:282: warning: suggest explicit braces to avoid ambiguous `else'
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -I../bootrom/headers
  -c passes.c -o passes.o
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -I../bootrom/headers
  -c freeze.c -o freeze.o
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -I../bootrom/headers
  -c makeflash.c -o makeflash.o
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -I../bootrom/headers
  -c makehex.c -o makehex.o
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -I../bootrom/headers
  -c flash_c.c -o flash_c.o
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -I../bootrom/headers
  -c execom_c.c -o execom_c.o
(cd ../nblib && make all) || exit 1
make[2]: Entering directory `/home/dmehler/netboot/netboot/nblib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dmehler/netboot/netboot/nblib'
gcc -o makerom -s main.o getdb.o user.o passes.o freeze.o makeflash.o
makehex.o flash_c.o execom_c.o -L../nblib -lnb 
make[1]: Leaving directory `/home/dmehler/netboot/netboot/makerom'
making all in mknbi-dos
make[1]: Entering directory `/home/dmehler/netboot/netboot/mknbi-dos'
(cd ../include && make version.h) || exit 1
make[2]: Entering directory `/home/dmehler/netboot/netboot/include'
make[2]: `version.h' is up to date.
make[2]: Leaving directory `/home/dmehler/netboot/netboot/include'
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include   -c mknbi.c -o
mknbi.o
mknbi.c:712: warning: return type of `main' is not `int'
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include   -c openrd.c -o
openrd.o
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include   -c first_c.c -o
first_c.o
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include   -c boot_c.c -o
boot_c.o
(cd ../nblib && make all) || exit 1
make[2]: Entering directory `/home/dmehler/netboot/netboot/nblib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dmehler/netboot/netboot/nblib'
gcc -o mknbi -s mknbi.o openrd.o first_c.o boot_c.o -L../nblib -lnb 
make[1]: Leaving directory `/home/dmehler/netboot/netboot/mknbi-dos'
making all in mknbi-linux
make[1]: Entering directory `/home/dmehler/netboot/netboot/mknbi-linux'
(cd ../include && make version.h) || exit 1
make[2]: Entering directory `/home/dmehler/netboot/netboot/include'
make[2]: `version.h' is up to date.
make[2]: Leaving directory `/home/dmehler/netboot/netboot/include'
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include   -c mknbi.c -o
mknbi.o
mknbi.c:485: warning: return type of `main' is not `int'
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include   -c first_c.c -o
first_c.o
(cd ../nblib && make all) || exit 1
make[2]: Entering directory `/home/dmehler/netboot/netboot/nblib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dmehler/netboot/netboot/nblib'
gcc -o mknbi -s mknbi.o first_c.o -L../nblib -lnb 
make[1]: Leaving directory `/home/dmehler/netboot/netboot/mknbi-linux'
making all in mknbi-mgl
make[1]: Entering directory `/home/dmehler/netboot/netboot/mknbi-mgl'
(cd ../include && make version.h) || exit 1
make[2]: Entering directory `/home/dmehler/netboot/netboot/include'
make[2]: `version.h' is up to date.
make[2]: Leaving directory `/home/dmehler/netboot/netboot/include'
bison -y -d mglparse.y
flex  mgllex.l
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -DPARANOID   -c
mknbi.c -o mknbi.o
mknbi.c:320: warning: return type of `main' is not `int'
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -DPARANOID   -c
gencode.c -o gencode.o
gencode.c: In function `docmd':
gencode.c:1578: warning: suggest explicit braces to avoid ambiguous
`else'
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -DPARANOID   -c
genexpr.c -o genexpr.o
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -DPARANOID   -c
expr.c -o expr.o
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -DPARANOID   -c
runtime_c.c -o runtime_c.o
gcc -O2 -Wall  -DHAVE_CONFIG_H -I. -I.. -I../include -DPARANOID   -c
y.tab.c -o y.tab.o
mglparse.y: In function `yyparse':
mglparse.y:2395: called object is not a function
mglparse.y:2395: called object is not a function
mglparse.y:2395: warning: left-hand operand of comma expression has no
effect
mglparse.y:2395: warning: left-hand operand of comma expression has no
effect
mglparse.y:2395: called object is not a function
mglparse.y:2395: warning: left-hand operand of comma expression has no
effect
mglparse.y:2395: called object is not a function
mglparse.y:2395: warning: left-hand operand of comma expression has no
effect
mglparse.y:2421: called object is not a function
mglparse.y:2421: called object is not a function
mglparse.y:2421: warning: left-hand operand of comma expression has no
effect
mglparse.y:2421: warning: left-hand operand of comma expression has no
effect
mglparse.y:2421: called object is not a function
mglparse.y:2421: warning: left-hand operand of comma expression has no
effect
mglparse.y:2421: called object is not a function
mglparse.y:2421: warning: left-hand operand of comma expression has no
effect
mglparse.y:2395: warning: `__s2_len' might be used uninitialized in this
function
make[1]: *** [y.tab.o] Error 1
make[1]: Leaving directory `/home/dmehler/netboot/netboot/mknbi-mgl'
make: *** [all] Error 1
dave:~/netboot/netboot$ exit

Script done on Wed Apr  5 03:04:12 2000

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
===========================================================================
This Mail was sent to netboot mailing list by:
awesome-dave1@juno.com
To get help about this list, send a mail with 'help' as the only string in
it's body to majordomo@baghira.han.de. If you have problems with this list,
send a mail to netboot-owner@baghira.han.de.



For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.