On Tue, May 15, 2012 at 02:34:00PM -0500, we recorded a bogon-computron collision of the <[email protected]> flavor, containing: > Curt and/or Tom > Rick as not been able to help fix this problem so he suggested you > guys. So here it comes: > > On Mon, 14 May 2012, James Jolin wrote: > > > make[3]: Entering directory `/home/jjolin/src/xastir/src' > > gcc -g [...] > > x_spider.o xa_config.o compiledate.o -Lrtree -lrtree -lXm -lXt -lX11 > > -lGraphicsMagick -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng > > -lwmflite -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm -lgomp > > -lpthread -lltdl -ldb-4.8 -lrt -lXm -lXt -lXp -lXext -lm -lSM -lICE > > -lX11 -lcurl -lshp -lpcre -lproj -ltiff -lgeotiff -lax25 > > /usr/local/lib/libgeotiff.a(geotiff_proj4.o): In function > > `GTIFProj4FromLatLong': > > geotiff_proj4.c:(.text+0xf0c): undefined reference to `pj_init' > > geotiff_proj4.c:(.text+0xf88): undefined reference to `pj_fwd' > > geotiff_proj4.c:(.text+0xfae): undefined reference to `pj_free' > > /usr/local/lib/libgeotiff.a(geotiff_proj4.o): In function > > `GTIFProj4ToLatLong': > > geotiff_proj4.c:(.text+0x104c): undefined reference to `pj_init' > > geotiff_proj4.c:(.text+0x10be): undefined reference to `pj_inv' > > geotiff_proj4.c:(.text+0x10ee): undefined reference to `pj_free' > > collect2: ld returned 1 exit status > > make[3]: *** [xastir] Error 1 > > make[3]: Leaving directory `/home/jjolin/src/xastir/src' > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory `/home/jjolin/src/xastir/src' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/home/jjolin/src/xastir' > > make: *** [all] Error 2 > > jjolin@jjolin-Inspiron-8200 ~/src/xastir $ > > I did not run make install yet until we resolve the above. > > ..the same errors concerning undefined references. I'm afraid I can't > help you any further, you'll have to pass this to Tom or Curt, the > developers, who know more about the details of library version > interactions. > Tom Russo has a message to another question on the list this morning > concerning quirks of building xastir on Centos, and he references > problems with libgeotiff and libproj. Might be similar to your problems.
What system are you building on, James? I see you're linking both -lproj and -lgeotiff, and ordinarily pj_init, pj_inv, and pj_free are available in libproj, so this is puzzling. Did you install geotiff and proj from packages, or from source? The only guess I have is that on your system it might be necessary to "ranlib" libproj.a and libgeotiff.a, because on some systems if one doesn't do this then libraries need to be in a particular order --- i.e., since libgeotiff depends on libproj, without ranlib one might need "-lgeotiff -lproj" rather than "-lproj -lgeotiff". I haven't seen *that* problem in many years, though (it was very common back when the earth was still cooling). -- Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM "And, isn't sanity really just a one-trick pony anyway? I mean all you get is one trick, rational thinking, but when you're good and crazy, oooh, oooh, oooh, the sky is the limit!" --- The Tick _______________________________________________ Xastir mailing list [email protected] http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
