[Xastir] Compile error on OS X

Derrick J Brashear shadow at dementia.org
Mon Jan 10 15:24:17 EST 2005


On Mon, 10 Jan 2005, Jeff Wigal wrote:

> 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 `)'

compiles as-is for me, but i have 10.3, not 10.2

grep -i socklen_t /usr/include/sys/* /usr/include/machine/*
and tell us what you find.

i assume it's defined somewhere else in 10.2





More information about the Xastir mailing list