Build error in Oem Components of fdo-3.0.0_G001.tar.gz

Nicol Hermann mapserver at geoworld.de
Fri Mar 10 06:50:28 EST 2006


Hi List,

it tried to build the new fdo release (fdo-3.0.0_G001.tar.gz) on my
debian 32 bit sarge box.
During the compilation of the Oem product 'Oem/DWFTK7.1' with
build_oem.sh the following error occurred.

make[2]: Entering directory
`/home/nicol/public_html/foundation/source/mapguide-1.0.0/Oem/DWFTK7.1/develop/global/src/dwfcore/ansi'
source='UUID.cpp' object='UUID.lo' libtool=yes \
depfile='.deps/UUID.Plo' tmpdepfile='.deps/UUID.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H  -I../..    -g0
-O2 -pipe -pedantic -Wall -Wno-long-long  -Wnon-virtual-dtor
-Wsign-promo -Wsign-compare -Wundef -Wstrict-prototypes -fforce-addr
-fomit-frame-pointer -finline-functions -ffast-math -fno-strict-aliasing
-c-o UUID.lo `test -f 'UUID.cpp' || echo './'`UUID.cpp
 g++ -DHAVE_CONFIG_H -I../.. -g0 -O2 -pipe -pedantic -Wall
-Wno-long-long -Wnon-virtual-dtor -Wsign-promo -Wsign-compare -Wundef
-Wstrict-prototypes -fforce-addr -fomit-frame-pointer -finline-functions
-ffast-math -fno-strict-aliasing -c UUID.cpp -MT UUID.lo -MD -MP
-MF .deps/UUID.TPlo  -fPIC -DPIC -o .libs/UUID.o
UUID.cpp: In member function `void
DWFCore::DWFUUIDImpl_ANSI::_generate()':
UUID.cpp:155: error: integer constant is too large for "long" type
make[2]: *** [UUID.lo] Fehler 1

Does anyone know how to fix this?

gcc --version
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)


Many thanks
Nicol







More information about the Mapguide-users mailing list