guile-devel
[Top][All Lists]
Advanced

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

Re: Passing C pointers through guile


From: Ludovic Courtès
Subject: Re: Passing C pointers through guile
Date: Wed, 09 Jul 2008 21:37:25 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Hi,

"Kjetil S. Matheussen" <address@hidden> writes:

> address@hidden ~/guile-1.8.5 $ gcc -Iinclude/ -Llib lib/libguile.a test.c
> /tmp/ccMcEAxd.o: In function `main':
> test.c:(.text+0x1b): undefined reference to `scm_from_uintptr'
> test.c:(.text+0x2c): undefined reference to `scm_to_uintptr'
> collect2: ld returned 1 exit status

Normally, there's no such thing as `lib/libguile.a'.  The thing is under
`libguile/.libs/libguile.{so,a}'.  Alternatively, it might be the case
that `SCM_HAVE_T_UINTPTR' is not defined.

Thanks,
Ludovic.





reply via email to

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