[Xastir] Compile problems on Solaris 10 x86

Tim Gimmel tim at gimmel.org
Sun Feb 20 20:37:56 EST 2005


Well I know I have used up most of my list credits today; thanks for the
pronunciation info! hihi.
Trying to compile xastir on a Solaris 10 box (x86 not sparc) and first
thing I had to do was manually change the CFLAGS and add an s to
-pthread.  I did this directly to the Makefile:

CFLAGS = -O2 -pipe -Wall -D_REENTRANT -pthreads
PTHREAD_CFLAGS = -D_REENTRANT -pthreads

I don't know how to fix it in the configure process.  It was bombing out
during the link step.  But after I changed the pthread flag it still
bombs out during linking. I have the companion software install which
has all the gnu software installed (I hope). What do you fellows think?

Thanks es 73,
Tim
kb4ama


gcc  -O2 -pipe -Wall -D_REENTRANT -pthreads -L/usr/sfw/lib
-L/opt/sfw/lib -L/usr/openwin/lib -R/usr/openwin/lib
-L/builds/sfw10-gate/proto/root_i386/usr/sfw/lib -L/usr/lib -L/usr/X/lib
-R/usr/sfw/lib:/usr/lib:/usr/X/lib -o xastir  alert.o awk.o
bulletin_gui.o color.o datum.o db.o dbfawk.o draw_symbols.o fcc_data.o
festival.o geo-find.o geocoder_gui.o gps.o hashtable.o hashtable_itr.o
hostname.o igate.o interface.o interface_gui.o io-common.o io-mmap.o
lang.o list_gui.o locate_gui.o location.o location_gui.o main.o maps.o
map_cache.o map_dos.o map_geo.o map_gdal.o map_gnis.o map_pdb.o
map_shp.o map_tif.o map_tiger.o messages.o messages_gui.o popup_gui.o
rac_data.o rotated.o snprintf.o sound.o shp_hash.o track_gui.o util.o
view_message_gui.o wx.o wx_gui.o xa_config.o x_spider.o  -lXm -lXt -lX11
-lMagick -ltiff -ljpeg -lpng -ldpstk -ldps -lXext-lXt -lSM -lICE -lX11
-lsocket -lnsl -lbz2 -lxml2 -lz -lpthread -lm -ldb-4.2 -lXpm -lintl -lrt
-lcurl -lXm -lXt -lXp -lXext -lm -lSM -lICE -lX11 -lsocket -lnsl -lpcre
Undefined                       first referenced
 symbol                             in file
rpl_malloc                          awk.o
ld: fatal: Symbol referencing errors. No output written to xastir
collect2: ld returned 1 exit status
make[3]: *** [xastir] Error 1
make[3]: Leaving directory `/home/tim/xastir-1.4.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tim/xastir-1.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tim/xastir-1.4.2'
make: *** [all] Error 2
tim at bones:~/xastir-1.4.2$



More information about the Xastir mailing list