guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why won't this extension load?


From: Steve Juranich
Subject: Re: Why won't this extension load?
Date: Wed, 14 Dec 2005 07:23:29 -0700

On 12/13/05, Stephen Compall <address@hidden> wrote:
> Strictly speaking, the symbol "scm_init_test" hasn't been defined, some
> wacko symbol like _Nqhtjhwq_scm_init_test has been defined [well, maybe
> not that bad for a function with no return value and no arguments].
> Regardless, the name has been mangled by the C++ compiler, which is why
> you pass the -C option to `nm', which demangles names.  The solution is
> to say:
>
> extern "C"
> void scm_init_test....

Silly me.  So it is.  Thanks for the help.

--
Steve Juranich
Tucson, AZ
USA




reply via email to

[Prev in Thread] Current Thread [Next in Thread]