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 000000000006d150 T sgWriteLong(gzFile_s*, int) 000000000006d240 T sgWriteLongLong(gzFile_s*, long) ~$ nm -C /home/palmer/flightgear_source/simgear-2.12.0/simgear/libSimGearCore.a | grep sgWriteLong 0000000000000450 T sgWriteLong(gzFile_s*, int) 0000000000000540 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=58041151&iu=/4140/ostg.clktrk _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel