Problem loading C++ shared objects [urgent]
Michael Chan <[email protected]> Tue, 17 Feb 2009 04:22:32 +0000
| Newsgroups | gmane.lisp.allegro |
|---|---|
| Message-ID | <[email protected]> |
--00504502dc8debe1d7046315a6ba
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
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
--00504502dc8debe1d7046315a6ba
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi,<br>
<br>
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:<br>
<br>
; Foreign loading /home/mchan/inka/lisp/inka/binaries/I486-ALLEGRO-8-1/base64.so.<br>
Error: Loading<br>
/home/mchan/inka/lisp/inka/binaries/I486-ALLEGRO-8-1/base64.so<br>
failed with error:<br>
/home/mchan/inka/lisp/inka/binaries/I486-ALLEGRO-8-1/base64.so: undefined symbol: __gxx_personality_v0.<br>
[condition type: FILE-ERROR]<br>
<br>
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?<br>
<br>
Any help will be much appreciated.<br>
<br>
Regards,<br>
Michael
--00504502dc8debe1d7046315a6ba--