On Mon, Feb 28, 2011 at 10:37:28PM +0100, Andy Wingo wrote:
> Apologies for this. It is actually a libltdl issue:
>
> "As I am sure many are aware, libltdl's error reporting is pretty
> dumb, lt_dlerror() regularly reports things like "file not found"
> where the actual problem might be som
Hi Aidan,
On Mon 28 Feb 2011 09:13, Aidan Gauland writes:
> I am trying to write a simple C module for Guile (for the learning
> experience) and I have run into a cryptic error.
Apologies for this. It is actually a libltdl issue:
"As I am sure many are aware, libltdl's error reporting is pr
On Tue, Mar 01, 2011 at 07:24:51AM +1300, Aidan Gauland wrote:
> How do Guile bindings link to the libraries they bind? That's more or
> less what I am trying to do.
Actually, scratch that. I just discovered Guile2's FFI. I can
probably figure out how to use it by digging through the manual and
On Mon, Feb 28, 2011 at 12:30:31PM -0500, dsm...@roadrunner.com wrote:
> It is also instructive to run the command under strace -efile. You get a
> clear idea of what file guile *is* trying to open and *where*.
>
> I've solved more "can't open the file" type problems with strace than I can
> re
Mike Gran wrote:
> On Linux (the kernel), to see if this is the case (and I'm going
> from memory here, so forgive me if this isn't perfect) you can
> run guile as
>
> "LD_DEBUG=all LD_DEBUG_OUTPUT=tmp.txt guile"
>
> and then try to load your extension.
>
> Then after your run, it shoul
> I am trying to write a simple C module for Guile (for the learning
> experience) and I have run into a cryptic error. I have compiled
> `sdl-guile.c' to `sdl-guile.so' with the following command.
>
> gcc -shared -o sdl-guile.so -fPIC sdl-guile.c `guile-config compile`
> `sdl-config
> --cflag
> From:Aidan Gauland
> Hello,
Hi Aidan,
>
> I am trying to write a simple C module for Guile (for the learning
> experience) and I have run into a cryptic error. I have compiled
> `sdl-guile.c' to `sdl-guile.so' with the following command.
>
> gcc -shared -o sdl-guile.so -fPIC sdl-guile.c `
On Mon, Feb 28, 2011 at 05:40:12PM +0800, nalaginrut wrote:
> > On Mon, Feb 28, 2011 at 04:54:00PM +0800, nalaginrut wrote:
> > > > I then run `guile' and evaluate
> > > > (load-extension "./sdl-guile.so" "init_module") and get the following
> > > > output.
> > > >
> > > > ERROR: In procedure load
> On Mon, Feb 28, 2011 at 04:54:00PM +0800, nalaginrut wrote:
> > > I then run `guile' and evaluate
> > > (load-extension "./sdl-guile.so" "init_module") and get the following
> > > output.
> > >
> > > ERROR: In procedure load-extension:
> > > ERROR: In procedure dynamic-link: file: "./sdl-guile.s
On Mon, Feb 28, 2011 at 04:54:00PM +0800, nalaginrut wrote:
> > I then run `guile' and evaluate
> > (load-extension "./sdl-guile.so" "init_module") and get the following
> > output.
> >
> > ERROR: In procedure load-extension:
> > ERROR: In procedure dynamic-link: file: "./sdl-guile.so", message: "
> Hello,
>
> I am trying to write a simple C module for Guile (for the learning
> experience) and I have run into a cryptic error. I have compiled
> `sdl-guile.c' to `sdl-guile.so' with the following command.
>
> gcc -shared -o sdl-guile.so -fPIC sdl-guile.c `guile-config compile`
> `sdl-config
Hello,
I am trying to write a simple C module for Guile (for the learning
experience) and I have run into a cryptic error. I have compiled
`sdl-guile.c' to `sdl-guile.so' with the following command.
gcc -shared -o sdl-guile.so -fPIC sdl-guile.c `guile-config compile`
`sdl-config --cflags`
I th
12 matches
Mail list logo