[mapserver-users] compile error
jabbott at abbotts.org
jabbott at abbotts.org
Fri Jul 26 20:45:17 PDT 2002
Hello all,
I am setting up mapserver on a solaris 8 box. I am getting a compile error.
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS -DUSE_GD_PNG -DUSE_GD_WBMP -I/usr/local/include -I/usr/src/proj-4.4.5/src shp2img.o -L. -lmap -lgd -L/usr/local/lib -lgd -lfreetype -lpng -L/lib -lz -lfreetype -lpng -L/lib -lz -L/usr/src/proj-4.4.5/src/.libs -lproj -lm -o shp2img
Undefined first referenced
symbol in file
__gxx_personality_v0 ./libmap.a(mapogr.o)
ld: fatal: Symbol referencing errors. No output written to shp2img
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1
# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.1
#
I got freetype2 to install as well as zlib, libping and the jpg libraries but I had to install gd as a package.
--ja
--
More information about the MapServer-users
mailing list