guile-devel
[Top][All Lists]
Advanced

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

Re: guile-vm 0.3


From: Keisuke Nishida
Subject: Re: guile-vm 0.3
Date: Wed, 04 Apr 2001 14:36:25 -0400
User-agent: Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.0.99 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

At 04 Apr 2001 10:10:08 -0500,
Rob Browning wrote:
> 
> > (define *root-package*
> >   (make-multi-package '("/usr/local/share/guile/site")))
> 
> I changed this for my location, and now it gets further, but dies
> because make-env is not defined...
> 
>   62* [initialize # #]
>   63  [%initialize-object # #]
>   64* (make-env)

Hmm, make-env is defined in libguilevm.so, so it sounds like
dynamic-linking is not working correctly...

What happens if you type the following in guile?

  % LD_LIBRARY_PATH=/usr/local/opt/guile-cvs/lib guile
  guile> (dynamic-call "scm_init_vm" (dynamic-link "libguilevm.so"))
  guile> (define-module (system vm core))
  #<directory (system vm core) 80837f0>
  guile> make-vm
  #<primitive-procedure make-vm>

And what if you try this?

  % LD_LIBRARY_PATH=/usr/local/opt/guile-cvs/lib guile
  guile> (dynamic-call "scm_init_envs" (dynamic-link "libguilevm.so"))
  guile> (define-module (system base module))
  #<directory (system base module) 80837b0>
  guile> make-env
  #<primitive-procedure make-env>

If this is not the case, maybe I'm doing something wrong.



reply via email to

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