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

Sean MacGuire <[email protected]> Tue, 01 Apr 2008 03:08:33 -0400
Newsgroups gmane.network.bb4.general
Message-ID <[email protected]>
Gavin Stone-Tolcher wrote:
> Hi, I have just tried to compile bb1.9i-btf on a 32bit and 
> 64bit(amd64) versions of FreeBSD 7.0. The compile aborts. 
> Does anyone have any ideas?
> 
> BTW, I am using bb1.9e-btf successfully on a 32bit FreeBSD 4.11
> system. bb1.9e-btf also will not compile on a FreeBSD 7.0 system.
> 
> Additionally I have tried bb1.9i-btf on a 32 bit FreeBSD 6.2 
> system and it compiles fine.
> 
> The version of gcc is quite different between the systems, could this
> be a problem?
> 
> FreeBSD 4.11 has gcc version 2.95.4 (compiles ok)
> FreeBSD 6.2 has gcc version 3.4.6 (compiles ok)
> FreeBSD 7.0 has gcc version 4.2.1 (won't compile)
> 
> Here is the make output from the 64bit 7.0 system:

As a general rule, you can usually ignore warnings, but if an
error pops up, it'll kill the compile.  So... search for 'error'

<SNIP>

bbd.c: In function 'main':
bbd.c:724: error: invalid storage class for function 'bbd_timeout'

Here's the code:

/*
  * BBD ALARM
  */
#ifdef fedora
void bbd_timeout()
#else
static void bbd_timeout()
#endif

I suspect the new freebsd doesn't like "static void"... I'd
get rid of the static keyword and give it another try.
-- 
Sean MacGuire                                 [email protected]

icbm --> 45'31.06N-73'35.19W                    +1 514 996 4638
The best way to predict the future is to invent it. -  Alan Kay
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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.