[gecode-users] 1.3.1 compile error, gcc 3.3.2, mandrake

Stanimir Dragiev stanio at cs.tu-berlin.de
Wed Apr 16 19:27:13 CEST 2008


Hello, 

I use gecode 1.3.1 as Debian package with Lenny and on a Solaris machine. 
On solaris I have compiled it couple of months ago. Worked fine with
=-=-=-
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
=-=-=-

Now I have to use gecode 1.3.1 on a Mandrake machine.
./configure seems to be ok.
make reports errors (see below).

Is this compiler version issue? Any ideas?

Thanks in advance!


=-=-=-
[stanio at xxxx01 gecode-1.3.1]$ make
make[1]: Entering directory `/home/stanio/gecode-1.3.1'
make[1]: `gecode/int/var/imp-hdr.icc' is up to date.
make[1]: `gecode/int/var/imp-body.icc' is up to date.
make[1]: `gecode/set/var/imp-hdr.icc' is up to date.
make[1]: `gecode/set/var/imp-body.icc' is up to date.
g++ -I. -DNDEBUG -fPIC -Wall -ggdb -O3 -fno-strict-aliasing -finline-limit=3000 -ffast-math   \
-c -o gecode/kernel/exception.o  gecode/kernel/exception.cc
In file included from gecode/kernel.hh:107,
 from gecode/kernel/exception.cc:22:
 gecode/kernel/core.icc: In member function `void Gecode::Variable<VTI, PC, MED>::subscribe(Gecode::Space*, Gecode::Propagator*, int, bool, int, bool)':
 gecode/kernel/core.icc:1480: error: syntax error before `>' token
 gecode/kernel/core.icc:1494: error: syntax error before `>' token
 gecode/kernel/core.icc: In member function `void Gecode::Variable<VTI, PC, MED>::process(Gecode::Space*, int, int, int)':
 gecode/kernel/core.icc:1651: error: syntax error before `>' token
 gecode/kernel/core.icc: In member function `void Gecode::Variable<VTI, PC, MED>::process(Gecode::Space*)':
 gecode/kernel/core.icc:1675: error: syntax error before `>' token
 make[1]: *** [gecode/kernel/exception.o] Error 1
 make[1]: Leaving directory `/home/stanio/gecode-1.3.1'
 make: *** [compilelib] Error 2
=-=-=-

compiler is:

=-=-=-
[stanio at xxxx01 gecode-1.3.1]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.2/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++,ada,f77,objc,java,pascal --host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
=-=-=-



-- 
 cheers
 stanio_




More information about the gecode-users mailing list