Hy, i just tried to build the latest RC on a fresh FreeBSD. But it crash 
when it starts to compile the chan_iax:

Making all in channels
Making all in iax2
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H 
-include ../../include/confdefs.h -I. -I../../include -I../../corelib 
-I../../include  -I//usr/local/include/  -I../../corelib -g -O2 -MT 
chan_iax2_la-chan_iax2.lo -MD -MP -MF .deps/chan_iax2_la-chan_iax2.Tpo 
-c -o chan_iax2_la-chan_iax2.lo `test -f 'chan_iax2.c' || echo 
'./'`chan_iax2.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -include ../../include/confdefs.h -I. 
-I../../include -I../../corelib -I../../include -I//usr/local/include/ 
-I../../corelib -g -O2 -MT chan_iax2_la-chan_iax2.lo -MD -MP -MF 
.deps/chan_iax2_la-chan_iax2.Tpo -c chan_iax2.c  -fPIC -DPIC -o 
.libs/chan_iax2_la-chan_iax2.o
In file included from chan_iax2.c:35:
/usr/include/netinet/in_systm.h:49: error: syntax error before "n_short"
/usr/include/netinet/in_systm.h:50: error: syntax error before "n_long"
/usr/include/netinet/in_systm.h:52: error: syntax error before "n_time"
In file included from chan_iax2.c:36:
/usr/include/netinet/ip.h:49: error: syntax error before "u_int"
/usr/include/netinet/ip.h:148: error: syntax error before "u_char"
/usr/include/netinet/ip.h:160: error: syntax error before "n_long"
/usr/include/netinet/ip.h:163: error: syntax error before "n_long"
/usr/include/netinet/ip.h:200: error: syntax error before "u_char"
*** Error code 1

Stop in /usr/src/callweaver-RC-1.1.99.20071015/channels/iax2.
*** Error code 1

Stop in /usr/src/callweaver-RC-1.1.99.20071015/channels.
*** Error code 1

Stop in /usr/src/callweaver-RC-1.1.99.20071015.


Any hints for me?

There before i compiled  latest libtiff and spandsp and made a:
./configure LDFLAGS='-L/usr/local/lib -R/usr/local/lib' 
CPPFLAGS='-I//usr/local/include/'

-- 
Kristijan 

_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to