BB Unix Network Monitor - Message

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

RE: {bb} Problems compiling bb1.9h on fedora core 4



Hiya Phil,

I tried adding -std=gnu8to gcc, but that didn't make any difference. Then I
removed the static from the line "static void bbd_timeout()" which resulted
in compile of the bbd.c however I did get some error lines :

Bbd.c: In function `main`:
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

Hope this helps,
 
Best regards,
Peter

-----Oorspronkelijk bericht-----
Van: Philip Clark [mailto:bblist@cannae.uklinux.net] 
Verzonden: donderdag 14 juli 2005 19:37
Aan: bb@bb4.com
Onderwerp: Re: {bb} Problems compiling bb1.9h on fedora core 4

This is what you want:

  http://support.bb4.com/archive/200507/msg00010.html

It would be helpful if you could try with the "-std=gnu89" flag
to gcc and let the list know what happens. Otherwise, just remove
"static" from that line in the source file.

Cheers, Phil.



On Thu, 2005-07-14 at 10:42, Jensen, Peter wrote:
> Hello,
> 
>  
> 
> I just installed a box with fedora core 4, and im following the
installation
> according the readme files. After running the bbconfig (I tried bbconfig
> linux and bbconfig redhat) script i end up with the next step which is
> running make in the src directory. During this process he crashes with an
> error:
> 
>  
> 
> [BB@BB src]$ make
> 
> Making linux makefile
> 
> make[1]: Entering directory `/home/BB/bb1.9h-btf/src'
> 
> BBOS="linux" CC="gcc" CFLAGS=" -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY
> -DREGEXEC -DTIMEH" make -e bball
> 
> make[2]: Entering directory `/home/BB/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 `/home/BB/bb1.9h-btf/src'
> 
> make[1]: *** [all] Error 2
> 
> make[1]: Leaving directory `/home/BB/bb1.9h-btf/src'
> 
> make: *** [all] Error 2
> 
> [BB@BB src]$
> 
>  
> 
> Am I doing something wrong or is this a bug ? ..can anyone enlighten/help
me
> ?
> 
>  
> 
> Thanks in advance!
> 
>  
> 
> With best regards,
> 
> Peter
> 


-- 
Santa is jolly because he knows where all the bad girls live.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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.


*********************************DISCLAIMER*********************************

Dit E-mail bericht is slechts bestemd voor de (rechts)persoon aan wie het is
gericht en kan informatie bevatten die persoonlijk is en niet openbaar mag
worden gemaakt krachtens wet- of regelgeving of overeenkomst. Indien een
ander dan geadresseerde dit e-mail bericht ontvangt of anderszins in handen
krijgt is hij niet gerechtigd tot kennisneming, verspreiding, openbaar maken
of vermenigvuldiging daarvan. Hij wordt verzocht onmiddellijk de afzender op
de hoogte te stellen en het e-mail bericht te vernietigen. De afzender staat
niet in voor de juiste en volledige overbrenging van de inhoud van een
verzonden e-mail, noch voor tijdige ontvangst daarvan. Dit e-mail bericht
brengt geen enkele contractuele gebondenheid voor de afzender tot stand. 
****************************************************************************




--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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