RE: {bb} bb1.9i-btf FreeBSD 7.0 compile issues?

"Gavin Stone-Tolcher" <[email protected]> Wed, 2 Apr 2008 11:01:54 +1000
Newsgroups gmane.network.bb4.general
Message-ID <[email protected]>
> I suspect the new freebsd doesn't like "static void"... I'd
> get rid of the static keyword and give it another try.

Thanks very much for the quick response. In bbd.c I changed

static void bbd_timeout() 
to
void bbd_timeout()

in two places, and that seems to have fixed the issue. 

Going back over the mailing list archives it appears that this may 
have come up before for other OSes and would appear to be a GCC 4 
standards compliance issue?

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

Trying "-std=gnu89" had no effect, although the gcc manpage 
indicates that "gnu89" does include "some" C99 features. Using 
"-ansi" also did not work.
             
  
Cheers,
Gavin Stone-Tolcher                    [email protected]
Incident Response Team               Information Technology Services
The University of Queensland                  Phone: +61 7 336 54407
Queensland 4072    AUSTRALIA                    Fax: +61 7 336 57539

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:[email protected] with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.