[Xastir] Compile Error on Ubuntu 14.04 64 bit

Lee Bengston lee.bengston at gmail.com
Fri Jun 6 22:42:41 EDT 2014


On Fri, Jun 6, 2014 at 9:57 PM, Tom Russo <russo at bogodyn.org> wrote:

Googling, this appears to be an issue that may be resolved by reordering the
> link line (there are other codes that won't compile on Ubuntu because of
> link
> line ordering of dependent libraries).  Could you post a little more of the
> make output (e.g. the link line that precedes this error message)?  Maybe
> something will stand out.


​This is what I saved in total - can always re-run make if more is needed.

mv -f .deps/compiledate.Tpo .deps/compiledate.Po
gcc  -g -O2 -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -pthread -Wl,--no-keep-memory -L/usr/lib -fPIE -pie
-Wl,-z,relro -Wl,-z,now -L/usr/lib/X11 -L/usr/local/lib -o xastir alert.o
awk.o bulletin_gui.o color.o datum.o db.o db_gis.o dbfawk.o draw_symbols.o
fcc_data.o festival.o fetch_remote.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_gdal.o map_geo.o
map_gnis.o map_OSM.o map_pop.o map_pdb.o map_shp.o map_tif.o map_tiger.o
map_WMS.o messages.o messages_gui.o objects.o popup_gui.o rac_data.o
rotated.o rpl_malloc.o shp_hash.o snprintf.o sound.o tile_mgmnt.o
track_gui.o util.o view_message_gui.o wx.o wx_gui.o x_spider.o xa_config.o
compiledate.o -Lrtree -lrtree  -lXm -lXt -lX11 -lGraphicsMagick -ljbig
-llcms2 -ltiff -lfreetype -ljasper -ljpeg -lpng12 -lwmflite -lXext -lSM
-lICE -lX11 -llzma -lbz2 -lxml2 -lz -lm -lgomp -lpthread -ldb-5.3 -lXpm
-lrt -lXm -lXt -lXp -lXext -lm -lSM -lICE -lX11 -lcurl -lproj -lshp -lpcre
-ltiff -lgeotiff -lax25
/usr/bin/ld: alert.o: relocation R_X86_64_32 against `.rodata.str1.1' can
not be used when making a shared object; recompile with -fPIC
alert.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[3]: *** [xastir] Error 1
make[3]: Leaving directory `/home/lee/src/build2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lee/src/build2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lee/src/build2'
make: *** [all] Error 2


Thanks,
Lee​



More information about the Xastir mailing list