[OSM-dev] libosm does not compile on debian lenny amd64

Joerg Ostertag (OSM Tettnang/Germany) openstreetmap at ostertag.name
Sun Jan 4 21:43:16 GMT 2009


Any hint is wellcom ...
 
debian-lenny-64 --directory /home/tweety/openstreetmap-applications/lib/libosm "make"
I: [debian-lenny-64 chroot] Running command: "make"
g++ -g -I/usr/local/include -I../   -c -o Object.o Object.cpp
g++ -g -I/usr/local/include -I../   -c -o Way.o Way.cpp
g++ -g -I/usr/local/include -I../   -c -o Parser.o Parser.cpp
g++ -g -I/usr/local/include -I../   -c -o Components.o Components.cpp
g++ -g -I/usr/local/include -I../   -c -o functions.o functions.cpp
g++ -g -I/usr/local/include -I../   -c -o llgr.o llgr.cpp
g++ -g -I/usr/local/include -I../   -c -o FeaturesParser.o FeaturesParser.cpp
g++ -g -I/usr/local/include -I../   -c -o FeatureClassification.o 
FeatureClassification.cpp
g++ -g -I/usr/local/include -I../   -c -o Node.o Node.cpp
ar rv libosm.a Object.o Way.o Parser.o Components.o functions.o llgr.o 
FeaturesParser.o FeatureClassification.o Node.o 
ar: creating libosm.a
a - Object.o
a - Way.o
a - Parser.o
a - Components.o
a - functions.o
a - llgr.o
a - FeaturesParser.o
a - FeatureClassification.o
a - Node.o
g++ -shared -o libosm.so Object.o Way.o Parser.o Components.o functions.o 
llgr.o FeaturesParser.o FeatureClassification.o Node.o
/usr/bin/ld: Object.o: relocation R_X86_64_32 against `a local symbol' can not 
be used when making a shared object; recompile with -fPIC
Object.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libosm.so] Error 1



-- 
Jörg (Germany, Tettnang)

http://www.ostertag.name/




More information about the dev mailing list