[gecode-users] Problems compiling gecode 3.4.0

Christian Schulte cschulte at kth.se
Mon Oct 4 10:02:11 CEST 2010


Hi, thanks for the info. It's fixed in the trunk and will be in 3.4.1 (to be
released soonish).

Christian

--
Christian Schulte, www.ict.kth.se/~cschulte/


-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Gustavo A. Gómez Farhat
Sent: Friday, October 01, 2010 8:32 PM
To: users at gecode.org
Subject: [gecode-users] Problems compiling gecode 3.4.0

Hello. I get this when trying to compile gecode 3.4.0 on my Arch Linux
machine:

--------------------------------------------
.
.
.
g++ -I. -I../gecode-3.4.0 -ffast-math -fno-strict-aliasing -O3
-fvisibility=hidden -ggdb -pipe -Wall -Wextra -fPIC -pthread -DNDEBUG
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore
-I/usr/include/QtGui -I/usr/include -I. \
         \
        -c -o gecode/flatzinc/registry.o
../gecode-3.4.0/gecode/flatzinc/registry.cpp
../gecode-3.4.0/gecode/int/array.hpp: In constructor
'Gecode::IntArgs::IntArgs(int, int, ...)':
../gecode-3.4.0/gecode/int/array.hpp:52:3: sorry, unimplemented:
function 'Gecode::IntArgs::IntArgs(int, int, ...)' can never be
inlined because it uses variable argument lists
make[1]: *** [gecode/flatzinc/registry.o] Error 1
make[1]: Leaving directory `/home/farhat/work/gecode/build_3.4.0'
make: *** [compilelib] Error 2

--------------------------------------------
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr
--enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-gnu-unique-object --enable-lto --enable-plugin
--disable-multilib --disable-libstdcxx-pch --with-system-zlib
--with-ppl --with-cloog --libdir=/usr/lib --libexecdir=/usr/lib
--mandir=/usr/share/man --infodir=/usr/share/info
Thread model: posix
gcc version 4.5.1 (GCC)
--------------------------------------------

Should I file a bug report? Thanks.

-- 
Gustavo Andrés Gómez Farhat
Webmaster y Laboratorista
Departamento de Ciencias e Ingeniería de la Computación
Pontificia Universidad Javeriana
Cali

_______________________________________________
Gecode users mailing list
users at gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users




More information about the users mailing list