Michael Chan | 17 Feb 2009 05:22
Picon

Problem loading C++ shared objects [urgent]

Hi,

I'm having problems trying to load a C++ shared object. At the moment, I'm just using the :ld top level command ":ld base64.so", where base64.so is the C++ shared object. The error I get is:

; Foreign loading /home/mchan/inka/lisp/inka/binaries/I486-ALLEGRO-8-1/base64.so.
Error: Loading
       /home/mchan/inka/lisp/inka/binaries/I486-ALLEGRO-8-1/base64.so
       failed with error:
       /home/mchan/inka/lisp/inka/binaries/I486-ALLEGRO-8-1/base64.so: undefined symbol: __gxx_personality_v0.
  [condition type: FILE-ERROR]

It seems to me the error is caused by a mix up between C++ and C code. Am I missing some argument for indicating the true file type? How should I do this if I use the "load" function?

Any help will be much appreciated.

Regards,
Michael


Gmane