chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Problem installing easyffi/silex on cygwin


From: Brandon J. Van Every
Subject: Re: [Chicken-users] Problem installing easyffi/silex on cygwin
Date: Sun, 15 Apr 2007 20:04:45 -0700
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

When I compile from scratch using Darcs head, it works on my box without error.  I'll wager something in your installation is incorrect, like some leftover Chicken somewhere.

Brandon J. Van address@hidden ~/cygwin
$ chicken-setup -u silex
deleting silex ...
  rm -fr /usr/local/lib/chicken/1/silex.dll
  rm -fr /usr/local/lib/chicken/1/silex.html

Brandon J. Van address@hidden ~/cygwin
$ chicken-setup -u easyffi
no files to uninstall

Brandon J. Van address@hidden ~/cygwin
$ chicken-setup easyffi

The extension easyffi does not exist.
Do you want to download it ? (yes/no/abort) [yes]
downloading required extensions (silex) ...
downloading silex.egg from (www.call-with-current-continuation.org eggs 80) ....
.
installing required extensions ...
  gunzip -c ../silex.egg | tar xf -
  /usr/local/bin/csc -feature compiling-extension -s -O2 -d1 silex.scm
silex.c:1: warning: -fPIC ignored for target (all code is position independent)
  cp -r silex.dll /usr/local/lib/chicken/1/silex.dll
  chmod a+r /usr/local/lib/chicken/1/silex.dll
  cp -r silex.html /usr/local/lib/chicken/1/silex.html
  chmod a+r /usr/local/lib/chicken/1/silex.html

* Installing documentation files in /usr/local/lib/chicken/1:
  cp -r silex.html /usr/local/lib/chicken/1/silex.html

  chmod a+r /usr/local/lib/chicken/1/silex.setup-info
  rm -fr silex.egg-dir
downloading easyffi.egg from (www.call-with-current-continuation.org eggs 80) ..
......
  gunzip -c ../easyffi.egg | tar xf -
  /usr/local/bin/csi -s runsilex.scm
  /usr/local/bin/csc -feature compiling-extension -s -O2 -d0 easyffi.scm
Warning: global variable `lexer-get-func-line' is never used
Warning: global variable `lexer-get-func-offset' is never used
Warning: global variable `lexer-get-func-column' is never used
Warning: local assignment to unused variable `lexer-getc' may be unintended
Warning: global variable `lexer-getc' is never used
Warning: local assignment to unused variable `lexer-ungetc' may be unintended
Warning: global variable `lexer-ungetc' is never used
easyffi.c:1: warning: -fPIC ignored for target (all code is position independent
)
  cp -r easyffi.dll /usr/local/lib/chicken/1/easyffi.dll
  chmod a+r /usr/local/lib/chicken/1/easyffi.dll
  chmod a+r /usr/local/lib/chicken/1/easyffi.setup-info
  rm -fr easyffi.egg-dir

Brandon J. Van address@hidden ~/cygwin
$


DrTheo Radish-Rho wrote:
Hi all,

I'm trying to install easyffi on chicken scheme. My platform is cygwin (WinXP).

I have a problem with silex. When I run "chicken-setup easyffi", silex is first downloaded and the installation begins. However, I end up with a huge number of undefined symbols in silex.
I tried to manually install silex first as well by doing "chicken-setup silex", but I get the same problem.
The error messages look something like this
----
silex.c:1: warning: -fPIC ignored for target (all code is position independent)
silex.o:silex.c:(.text+0x2b): undefined reference to `__imp__C_temporary_stack'
silex.o:silex.c:(.text+0x5f): undefined reference to `__imp__C_temporary_stack'
....
silex.o:silex.c:(.text+0x55377): undefined reference to `__imp__C_stack_limit'
collect2: ld returned 1 exit status
----

chicken -version gives "2.6 - windows-cygwin-x86 - [ ptables applyhook ]"

Anything missing?

Thanks,
Theo

_______________________________________________ Chicken-users mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/chicken-users


reply via email to

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