BB Unix Network Monitor - Message

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

RE: {bb} Installing on FC4



Ran into the same problem.  An old bb support forum has the answer for
this:

If the problem persists, the next step would seem to be to
remove the "static" modifier from the bbd_timeout function.
i.e. change:

  static void bbd_timeout()

to:

  void bbd_timeout()

near line 719 in the file bbd.c.

-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of Eric
Brunson
Sent: Wednesday, September 21, 2005 11:54 AM
To: bb@bb4.com
Subject: Re: {bb} Installing on FC4

Philip Clark wrote:

>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.
>
>
> 
>  
>
Oh, you're right, it's the code I was thinking of was in bb-network.sh


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index