[Xastir] Make output on xastir 2.0.1

James Jolin jjolin at itol.com
Tue May 15 21:33:03 EDT 2012


On 05/15/2012 02:42 PM, Tom Russo wrote:
> On Tue, May 15, 2012 at 02:34:00PM -0500, we recorded a bogon-computron collision of the<jjolin at itol.com>  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 at 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).
>
Ok here's the info.  I am using Mint 12 and I got the packages from 
apt-get/synaptic.  You lost me on the ranlib thingy.  I assume that 
ranlib is a command? I will stop here and see what my info brings.
Jim wa9arb




More information about the Xastir mailing list