Ben Suffolk wrote:
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 :-
[EMAIL PROTECTED] ~/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
[EMAIL PROTECTED] ~/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.
[EMAIL PROTECTED] ~/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
now, I can confirm that it builds cleanly on:
[EMAIL PROTECTED] uname -a
FreeBSD vm-freebsd6.intern.tolj.org 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov
3 09:36:13 UTC 2005
I have no clue why that other doesn't build. Are you shure it's a "clean"
checkout?
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------