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

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

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

2013-09-19 Thread Thomas Albrecht
I'm trying to compile terragear.git on a fresh Manjaro Linux, but linking fails on gdalchop.cxx with gdalchop.cxx:(.text+0x4f4): undefined reference to `sgWriteLong(gzFile_s*, int)' gdalchop.cxx:(.text+0x4ff): undefined reference to `sgWriteInt(gzFile_s*, int)' gdalchop.cxx:(.text+0x578):