unable to use native functors with gcc 3.4.3?
Gustavo Gutierrez
ggutierrez at cic.puj.edu.co
Thu May 11 15:40:38 CEST 2006
On 5/11/06, Filip Konvička
<filip.konvicka.removethisantispamtoken at logis.cz> wrote:
>
> %****************** Error: native code interface ****************
> %**
> %** Cannot dynamically link object file
> %**
> %** File name: /tmp/install2/cache/x-ozlib/ri/ri.so-linux-i486
> %** dlerror: /tmp/install2/cache/x-ozlib/ri/ri.so-linux-i486:
> undefined symbol: _Z14OZ_sCloneBlockPjS_i
> %** In statement: {<P/2 INTERNAL.getNative> '#'('/' [116 109 112] '/'
> [105 110 115 116 97 108 108 50] '/' [99 97 99 104 101] '/' [120 45 111
> 122 108 105 98] '/' [114 105] ,,,) _}
> %**
> %** Call Stack:
> %** procedure 'Meth_native_win32' in file
> "/usr1/fkonvick/src/mozart/share/lib/init/Resolve.oz", line 63, column
> 3, PC = 151162748
> %**--------------------------------------------------------------
>
> I think that the function is not exported with gcc 3.4.3.
>
> The library works fine on Windows when I cross-compile it using mingw.
>
I had the same problem while developing some propagators for the XRI
module. I don't remember which gcc version i was using that time.
Unfortunately i don't know why this is happening but you are right, it
is something concerned with the compiler version and the platform.
Right now i am using gcc 4.0 on a powerpc machine and this error
doesn't happen.
--
Gustavo Gutierrez
More information about the mozart-hackers
mailing list