[Xastir] Compile error on OS X

Jeff Wigal jeffw at wigaldesign.com
Mon Jan 10 04:15:44 EST 2005


I am getting a compile error when I attempt to do a CVS update on my
pre-exisying, and still functional install of xastir on os X 10.2...  I have
done CVS updates in the past without problems, but not within the last 3
months or so.

gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include -I/sw/include
-I/opt/local/include -I/usr/X11R6/include -I/sw/include/freetype2
-D_REENTRANT -I/usr/X11R6/include/X11 -I/sw/include/libxml2
-DXASTIR_DATA_BASE=\"/usr/local/share/xastir\"  -O2 -pipe -Wall -c `test -f
'xa_config.c' || echo './'`xa_config.c
source='x_spider.c' object='x_spider.o' libtool=no \
depfile='.deps/x_spider.Po' tmpdepfile='.deps/x_spider.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include -I/sw/include
-I/opt/local/include -I/usr/X11R6/include -I/sw/include/freetype2
-D_REENTRANT -I/usr/X11R6/include/X11 -I/sw/include/libxml2
-DXASTIR_DATA_BASE=\"/usr/local/share/xastir\"  -O2 -pipe -Wall -c `test -f
'x_spider.c' || echo './'`x_spider.c
x_spider.c:857: undefined type, found `socklen_t'
x_spider.c:920: illegal statement, missing `;' after `)'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic
mode
x_spider.c: In function `Server':
x_spider.c:857: `socklen_t' undeclared (first use in this function)
x_spider.c:857: (Each undeclared identifier is reported only once
x_spider.c:857: for each function it appears in.)
x_spider.c:857: parse error before "clilen"
x_spider.c:920: `clilen' undeclared (first use in this function)
x_spider.c:920: parse error before "sizeof"
make[3]: *** [x_spider.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[Eleanor-Ois-Computer:~/xastir] jeff%

My entire session can be found here:

www.wigaldesign.com/xastir.txt

Any thoughts?

Jeff, WY7Q




More information about the Xastir mailing list