[gecode-users] Compilation problem with GecodeJ 1.0.0 (debian linux)

Zampelli Stephane Stephane.Zampelli at info.ucl.ac.be
Tue Oct 3 17:38:59 CEST 2006


Hi Mikael,

Unfortunatly it is no working. I recompiled from scratch Gecode 1.3.0 
with '--disable-gcc-visibility' and recompiled from scratch GecodeJ 
release 1.0.0.

In fact the option '--disable-gcc-visibility' is useless since this is 
the default.

Any other idea ?

Cheers,

Stéphane.


Mikael Zayenz Lagerkvist wrote:

> On 10/3/06, Zampelli Stephane <Stephane.Zampelli at info.ucl.ac.be> wrote:
>
>> I have the following error when executing an example with GecodeJ :
>>
>> GecodeJ/release-1.0.0/$ java -Djava.library.path=. examples.Queens
>> Gecode native code library failed to load.
>> java.lang.UnsatisfiedLinkError:
>> /home/szampelli/UCL/Recherche/Code/GecodeJ/release-1.0.0/libgecodejava.so: 
>>
>> /home/szampelli/UCL/Recherche/Code/GecodeJ/release-1.0.0/libgecodejava.so: 
>>
>> undefined symbol: _ZTIN6Gecode6Search10MemoryStopE
>>
>> I successfully compiled Gecode release-1.3.0 and GecodeJ release-1.0.0.
>
>
> This (most probably) means that the Gecode library was compiled
> without RTTI information, which is needed for the Gecode/J-bindings to
> work.
>
> To fix this, reconfigure Gecode with --disable-gcc-visibility and the 
> recompile.
>
> Hope this helps,
> Mikael
>


-- 
Zampelli Stéphane
PhD Student
Département d'Ingénierie Informatique,
Université Catholique de Louvain
Réaumur a.337.30
2, place Sainte Barbe
B-1348 Louvain-la-Neuve
tel: +32 10 47.91.02
Homepage : http://www.info.ucl.ac.be/~sz/ 





More information about the gecode-users mailing list