2010/1/3 Andy Wingo :
> Hi Tristan,
...
> (eval-when (eval load compile)
> (load-extension "test-module.so" "scm_init_my_module"))
>
Thanks for the explanation and the fix, it works nicely and I now
have previous code running cleanly, a guile-lib based unit test
framework on its way.
> I
Hi Tristan,
On Wed 30 Dec 2009 16:27, Tristan Colgate writes:
> 2009/12/28 Andy Wingo :
>> I can't see how this is happening, though I am sure it is indeed
>> happening for you :) Can you put a tarball up somewhere so that we can
>> have a look at it?
>
> I've created a stripped down module that
2009/12/28 Andy Wingo :
> I can't see how this is happening, though I am sure it is indeed
> happening for you :) Can you put a tarball up somewhere so that we can
> have a look at it?
I've created a stripped down module that uses that same style as the
swig ones and attached it to the following
b
Hi Tristan,
>> Tristan Colgate writes:
>>
>>> Ah, sorry
>>>
>>> ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
>>> ;;; or pass the --no-autocompile argument to disable.
>>> ;;; compiling /usr/local/share/guile/site/snmp/net-snmp.scm
>>> ;;; WARNING: compilation of
>>> /u
yes, swig generates snmp/net-snmp.scm with the following header...
(define-module (snmp net-snmp))
(load-extension "libguile_snmp_net-snmp.so" "scm_init_snmp_net_snmp_module")
(use-modules (oop goops) (Swig common))
(use-modules ((snmp net-snmp-primitive) :renamer (symbol-prefix-proc
'primitive:
Hi,
Tristan Colgate writes:
> Ah, sorry
>
> ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
> ;;; or pass the --no-autocompile argument to disable.
> ;;; compiling /usr/local/share/guile/site/snmp/net-snmp.scm
> ;;; WARNING: compilation of
> /usr/local/share/guile/site/s
Ah, sorry
;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-autocompile argument to disable.
;;; compiling /usr/local/share/guile/site/snmp/net-snmp.scm
;;; WARNING: compilation of
/usr/local/share/guile/site/snmp/net-snmp.scm failed:
;;; key misc-error,
Hi,
Tristan Colgate writes:
> I'm using guile and swig for some library binding and get
> compilation errors/warning
> that seem to be due to the compiler not knowing that a load-extension
> has supplied
> a module (this is with library bindings generated by swig).
Can you copy/paste the erro
Hi All,
I'm using guile and swig for some library binding and get
compilation errors/warning
that seem to be due to the compiler not knowing that a load-extension
has supplied
a module (this is with library bindings generated by swig).
Is there a way to get rid of the warnings (other then tur