unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Basile Starynkevitch <basile@starynkevitch.net>, guile-user@gnu.org
Cc: STARYNKEVITCH Basile <basile.starynkevitch@cea.fr>
Subject: Re: How to initialize GNU guile in a C++ command line tool?
Date: Thu, 9 Feb 2023 12:18:34 +0100	[thread overview]
Message-ID: <5a222496-556c-796d-ada9-fa5d265c1d79@telenet.be> (raw)
In-Reply-To: <3ba5480a-d302-0fec-ff40-09f69db3eb75@starynkevitch.net>


[-- Attachment #1.1.1: Type: text/plain, Size: 550 bytes --]



On 09-02-2023 11:43, Basile Starynkevitch wrote:
> /usr/bin/ld: /tmp/cc51HoPM.o: in function `do_evaluate_guile(char const*)':
> /home/basile/misc-basile/clever-framac.cc:501: undefined reference to 
> `scm_init_eval'
> collect2: error: ld returned 1 exit status

scm_init_eval is an internal thing:

libguile/eval.c:scm_init_eval ()
libguile/eval.h:SCM_INTERNAL void scm_init_eval (void);

Being internal, it is hidden by default.

Are you sure you meant to use scm_init_eval instead of scm_init?

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

      reply	other threads:[~2023-02-09 11:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-09 10:43 How to initialize GNU guile in a C++ command line tool? Basile Starynkevitch
2023-02-09 11:18 ` Maxime Devos [this message]

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=5a222496-556c-796d-ada9-fa5d265c1d79@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=basile.starynkevitch@cea.fr \
    --cc=basile@starynkevitch.net \
    --cc=guile-user@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).