On Wed, 2005-09-21 at 17:02, Eric Brunson wrote:
James Nunnerley wrote:
The output I’m now getting when I do a make is:
Making linux makefile
make[1]: Entering directory `/usr/local/bb1.9h-btf/src'
BBOS="linux" CC="gcc" CFLAGS=" -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY
-DREGEXEC -DTIMEH" make -e bball
make[2]: Entering directory `/usr/local/bb1.9h-btf/src'
gcc -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY -DREGEXEC -DTIMEH
`./minimake/genbbdefs` -g -o bb.o -c bb.c
gcc -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY -DREGEXEC -DTIMEH
`./minimake/genbbdefs` -g -o bbsend.o -c bbsend.c
gcc -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY -DREGEXEC -DTIMEH
`./minimake/genbbdefs` -g -o utils.o -c utils.c
gcc -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY -DREGEXEC -DTIMEH
`./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bb bb.o
bbsend.o utils.o
gcc -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY -DREGEXEC -DTIMEH
`./minimake/genbbdefs` -g -o dohostsvc.o -c dohostsvc.c
gcc -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY -DREGEXEC -DTIMEH
`./minimake/genbbdefs` -g -o bbd.o -c bbd.c
bbd.c: In function 'main':
bbd.c:718: error: invalid storage class for function 'bbd_timeout'
bbd.c:1109: warning: pointer targets in passing argument 3 of 'accept'
differ in signedness
bbd.c:1148:8: warning: extra tokens at end of #endif directive
bbd.c:1180:8: warning: extra tokens at end of #endif directive
make[2]: *** [bbd.o] Error 1
make[2]: Leaving directory `/usr/local/bb1.9h-btf/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/bb1.9h-btf/src'
make: *** [all] Error 2
Can anyone explain the errors, as I then can’t do the “make install”
either?
Thanks
James
My guess would be incompatibilities between GCC 3.4.4 in FC3 and GCC
4.0.1 in FC4. If the C code is as hideous as the perl I've looked at in
BB, I can't say I'm suprised. You might look in the GCC docs for a
compatability mode or a switch to reduce strictness.
Yes, a recent gcc "feature".
http://support.bb4.com/archive/200507/msg00010.html
The proposed flag was reported to make no difference.
Also, what perl are you looking at? BB contains no perl. The majority
of the code looks quite beautiful to me, but that's probably just an
"eye of the beholder" thing :)
Cheers, Phil.