Re: Compiling on FreeBSD

Ben Suffolk <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
>>>> strange, shouldn't happen on a fresh checkout. Did you use GNU  
>>>> make?
>>> Ah.... No I didn't, it gets a lot further with gmake :-
>>> tp_server.o -c test/test_http_server.c
>>> test/test_http_server.c: In function `client_thread':
>>> test/test_http_server.c:196: syntax error before `pid'
>>> test/test_http_server.c:198: `f' undeclared (first use in this  
>>> function)
>>> test/test_http_server.c:198: (Each undeclared identifier is  
>>> reported  only once
>>> test/test_http_server.c:198: for each function it appears in.)
>>> gmake: *** [test/test_http_server.o] Error 1
>>
>> ??? fresh checkout? gcc compiler?
>
> Yep :-
> piglet:$ uname -a
> FreeBSD piglet.vanilla.net 4.10-STABLE FreeBSD 4.10-STABLE #2: Thu  
> Jul 27 10:26:36 BST 2006     [email protected]:/usr/obj/ 
> usr/src/sys/DELL-PE750  i386
>
> piglet:$ gcc --version
> 2.95.4
>
> piglet:$ gmake --version
> GNU Make 3.80
> Copyright (C) 2002  Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.

I have just tried it on a different FreeBSD Box and it compiles fine,  
this ones a newer build :-

[suffo_b@magnum ~/kannel/gateway]$ uname -a
FreeBSD magnum.internal.vanilla.net 6.1-STABLE FreeBSD 6.1-STABLE #1:  
Mon Jul 17 13:49:12 UTC 2006     [email protected]:/ 
usr/obj/usr/src/sys/PE1650  i386

[suffo_b@magnum ~/kannel/gateway]$ gcc --version
gcc (GCC) 3.4.4 [FreeBSD] 20050518
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There  
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
PURPOSE.

[suffo_b@magnum ~/kannel/gateway]$ gmake --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-portbld-freebsd6.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.