[Mapserver-users] Compiling Insight Request - Mapserver 3.6.3
Donald L. Schrupp
dschrupp at ix.netcom.com
Mon Jan 20 11:12:45 PST 2003
Dear MapServer List:
I'm requesting some insight as to what I might
need to change in my compiling steps to get
Mapserver 3.6.3 to compile. Since I've gotten older
versions running under older Linux setups (RH
7.2), I'm at a loss to know if my challenges are
the new OS environment (Mandrake 9.0) or newer
MapServer (3.6.3 files).
My setup is Mandrake 9.0, (kernel 2.4.19-16mdk),
with MySQL/PostgreSQL and Apache 1.3.27. PHP4
is configured with:
./configure --prefix=/usr/local/php4 --with-magic-quotes
--enable-track-vars --enable-trans-id --enable-safe-mode
--with-exec-dir=/usr/bin --with-system-regex -with-dbase
--with-filepro --with-enable-yp --enable-ftp --with-gettext
--with-mysql --with-pgsql --with-ttf
--with-freetype=/usr/local/include/freetype
--with-jpeg-dir=/usr/local/bin --with-png-dir=/usr/local/lib
--with-zlib-dir=/usr/local/lib --with-gd=/usr/local/lib
--with-xml --with=../apache --with-tiff=/usr/local/lib
--with-config-file-path=/etc
MapServer configuration set as:
./configure --with-gd=/usr/local/lib
--with-config-file-path=/usr/lib --with-tiff=/usr/lib
--with-jpeg=/usr/local/bin --with-zlib=/usr/local/lib
--with-png=/usr/local/lib
--with-freetype=/usr/local/include/freetype --with-eppl
--with-proj=/usr/local/lib --with-wmsclient
--with-system-regex --with-php=/usr/local/php4
Things crank along fine, till I get the message:
./libmap.a(mapogr.o)(.eh_frame+0x11): undefined reference to
'__gxx_personality_v0'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1
A google search points to some references suggesting differences
between gcc and g++ compilation, but I haven't been able to
theorize what changes I might make to the Makefile or underlying
code files (shp2img.c ?) to work beyond this. Any insights or
work-arounds would be appreciated.
Don
More information about the MapServer-users
mailing list