unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Tristan Colgate <tcolgate@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guile-devel@gnu.org
Subject: Re: Compilation and load-extension
Date: Fri, 18 Dec 2009 10:23:38 +0000	[thread overview]
Message-ID: <2e6d10880912180223q7b640151j9427c0648144dbe7@mail.gmail.com> (raw)
In-Reply-To: <877hskk3kd.fsf@gnu.org>

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, throw args (#f "~A ~S" ("no code for module" (snmp
net-snmp-primitive)) #f)
STRING: Unknown (edit /etc/snmp/snmpd.conf)
STRING: pinot

the snmp net-snmp-primitive module is provided by a load-extension in
the swig wrapper module.
it's loaded by the module that swig has generated (snmp net-snmp)

2009/12/18 Ludovic Courtès <ludo@gnu.org>:
> Hi,
>
> Tristan Colgate <tcolgate@gmail.com> 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 errors/warnings?
>
> Thanks,
> Ludo’.
>
>
>
>



-- 
Tristan Colgate-McFarlane
----
  "You can get all your daily vitamins from 52 pints of guiness, and a
glass of milk"




  reply	other threads:[~2009-12-18 10:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-18  8:44 Compilation and load-extension Tristan Colgate
2009-12-18  9:57 ` Ludovic Courtès
2009-12-18 10:23   ` Tristan Colgate [this message]
2009-12-18 10:33     ` Ludovic Courtès
2009-12-18 13:22       ` Tristan Colgate
2009-12-28 11:24         ` Andy Wingo
2009-12-30 15:27           ` Tristan Colgate
2010-01-03 10:25             ` Andy Wingo
2010-01-03 12:54               ` Tristan Colgate

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2e6d10880912180223q7b640151j9427c0648144dbe7@mail.gmail.com \
    --to=tcolgate@gmail.com \
    --cc=guile-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).