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

2009-01-05 Thread Nick Whitelegg
Hello Joerg, I think this is because you need to use -fPIC when compiling the individual .cpp files when making the shared library. e.g. the Mapnik OSM plugin makefile is similar in that it makes a shared library: CXXFLAGS = `xml2-config --cflags` -I/usr/local/include/mapnik -I/usr/include/b

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

2009-01-04 Thread Joerg Ostertag (OSM Tettnang/Germany)
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/lo