Re: [Flightgear-devel] terragear.git: gdalchop.cxx undef reference to sgWriteLong

2013-09-22 Thread Thomas Albrecht
Hi Rebecca,

Thanks for the pointers! Yes, I compile SG myself, but the version TG would 
link against might have been compiled on Ubuntu (I'm migrating to Manjaro). 
Compiling everything again solved my problem. Most likely an ID-10T error.

Tom

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] terragear.git: gdalchop.cxx undef reference to sgWriteLong

2013-09-20 Thread Rebecca N. Palmer
Different argument types (sgWriteLong(gzFile_s*, int) and 
sgWriteLong(void*, int)) are different symbols in C++.

On my system both 2.10 shared and 2.12 static (I haven't tried next or 
master, but the git history says io/lowlevel.cxx hasn't changed for 2 
years) give the correct types.  Did you compile libSimGearCore yourself, 
and do you have zlib1g-dev installed?

~$ nm -gC 
/home/palmer/flightgear_source/simgear-2.10.0/debian/libsimgearcore2.10.0/usr/lib/x86_64-linux-gnu/libSimGearCore.so.2.10.0
 
  | grep sgWriteLong
0006d150 T sgWriteLong(gzFile_s*, int)
0006d240 T sgWriteLongLong(gzFile_s*, long)
~$ nm -C 
/home/palmer/flightgear_source/simgear-2.12.0/simgear/libSimGearCore.a | 
grep sgWriteLong
0450 T sgWriteLong(gzFile_s*, int)
0540 T sgWriteLongLong(gzFile_s*, long)
  U sgWriteLong(gzFile_s*, int)

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel