unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: beuc@beuc.net
Cc: guile-user@gnu.org
Subject: Re: Compiling for Android
Date: Thu, 26 Jun 2014 00:04:51 +0200	[thread overview]
Message-ID: <87r42clk70.fsf@gnu.org> (raw)
In-Reply-To: <20140625212340.GA9437@mail.beuc.net> (beuc@beuc.net's message of "Wed, 25 Jun 2014 23:23:40 +0200")

Salut !

beuc@beuc.net skribis:

> After quite some compilation time I now get:
> In ice-9/eval.scm:
>  411: 5 [eval # #]
> In ice-9/psyntax.scm:
> 1106: 4 [expand-top-sequence ((eval-when # #)) () ((top)) ...]
>  989: 3 [scan ((eval-when # #)) () ((top)) ...]
>  279: 2 [scan ((load-extension # "scm_init_foreign_object")) () ((top)) ...]
> In unknown file:
>    ?: 1 [load-extension "libguile-2.0" "scm_init_foreign_object"]
> In ice-9/boot-9.scm:
>  106: 0 [#<procedure 144d8c0 at ice-9/boot-9.scm:97:6 (thrown-k . args)> misc-error ...]
>
> ice-9/boot-9.scm:106:20: In procedure #<procedure 144d8c0 at ice-9/boot-9.scm:97:6 (thrown-k . args)>:
> ice-9/boot-9.scm:106:20: In procedure dynamic-pointer: Symbol not found: scm_init_foreign_object
> Makefile:2167: recipe for target 'system/foreign-object.go' failed

Are the native and cross Guile the same version?

(Normally ./configure of the cross-compiled Guile makes sure of that.)

Does module/ice-9/i18n.go cross-build correctly?  Or does it fail
similarly?

> I'm not sure I'm interested in compiling all guile modules myself
> though.  I haven't thought about it much but I intend to ship a pretty
> minimal guile in GNU FreeDink so user can script their game, without
> being able to e.g. mess with the player's filesystem.
>
>
>> Just to be sure, could you run config.guess on the target machine?
>
> armv7l-unknown-linux-gnueabihf - but I had to some much trouble
> running config.guess that you should take it with a grain salt.

OK.

Thanks,
Ludo’.



  reply	other threads:[~2014-06-25 22:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-18 21:54 Compiling for Android beuc
2014-06-20 10:16 ` Ludovic Courtès
2014-06-21 20:06   ` beuc
2014-06-21 21:34     ` Ludovic Courtès
2014-06-22 14:08       ` beuc
2014-06-23  7:59         ` Ludovic Courtès
2014-06-23 18:59           ` beuc
2014-06-24  7:56             ` Ludovic Courtès
2014-06-25 21:23               ` beuc
2014-06-25 22:04                 ` Ludovic Courtès [this message]
2014-06-24 14:04             ` Mark H Weaver
2014-07-04 14:00             ` Ludovic Courtès
2014-07-04 14:01         ` Ludovic Courtès
2014-06-22 15:42       ` libunistring test beuc
2014-06-23  8:04         ` Ludovic Courtès
2014-06-23 16:48           ` beuc

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=87r42clk70.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=beuc@beuc.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).