[Top][All Lists]

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

Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h

From: mfv
Subject: Re: [Chicken-users] Problem: Chicken-install OpenSSL / rand.h
Date: Thu, 12 Dec 2013 21:34:21 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hello Claude, 

> Have you see these?

Thank you for those links, I will look into them. 

> There are likely other similar resources. Note that I have not used
> any of them. When faced with similar problems with MinGW, I now tend
> to move to cygwin. This sort of fight can be tiring and fruitless.

This is a possible solution, albeit a very dissatisfying one. The nice thing
would be to compile to windows binaries, and not to side step this by
installing a Cygwin system.

> Unix & Linux software just builds more easily with cygwin; this is
> expected since the mission of cygwin is to provide a compatibility
> layer between Unix/Linux/ POSIX software and MS Windows. Take a look
> at cugwin's license; some people do not like it.

I visited the #chicken channel on and spoke
with sjamaan. After numerous attempts, this is how far we got: 

1.) I installed the openssh (dev) and zlip (dev) files with MinGW and we
fooled around with different compilation parameters. This is the last

    /////////////// installation batch file     

    @echo off
    set CSC_OPTIONS=-I/mingw/msys/1.0/include -rpath /mingw/msys/1.0/lib -L
-L/mingw/msys/1.0/lib -L -lwsock32 -L -lws2_32 -L -lwinmm -L -lz
    chicken-install openssl
    //////////////// win command prompt result
    retrieving ...
    connecting to host "", port 80 ...
    requesting "/henrietta.cgi?name=openssl&mode=default" ...
    reading response ...
    HTTP/1.1 200 OK
    Date: Thu, 12 Dec 2013 20:09:23 GMT
    Server: Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.9-dev DAV/2
    SVN/1.8.1 PH
    P/5.4.19 mod_fastcgi/2.4.6
    Connection: close
    Transfer-Encoding: chunked
    Content-Type: text/plain
    reading chunks ..
    reading files ...
     openssl located at
    checking platform for `openssl' ...
    checking dependencies for `openssl' ...
    install order:
    installing openssl:1.6.4 ...
    changing current directory to
      "C:\Chicken\bin\csi" -bnq -setup-mode -e "(require-library setup-api)"
-e "(im
    port setup-api)" -e "(setup-error-handling)" -e
"(extension-name-and-version '(\
    "openssl\" \"1.6.4\"))"
      "C:\Chicken\bin\csc" -feature compiling-extension -setup-mode    -O2
-d0 -s -j
     openssl openssl.scm -lssl -lcrypto -lgdi32
    openssl.o:openssl.c:(.text+0x7d10): undefined reference to `RAND_screen'
    collect2.exe: error: ld returned 1 exit status
    Error: shell command terminated with non-zero exit status 1: ""gcc"
    -o "" -Wl,--enable-auto-import -shared -L/mingw/msys/1.0/lib
     -lws2_32 -lwinmm -lz -lssl -lcrypto -lgdi32 -L"C:\Chicken/lib/"
    ---lchicken -lm -
    Error: shell command failed with nonzero exit status 1:
      "C:\Chicken\bin\csc" -feature compiling-extension -setup-mode    -O2
-d0 -s -j
     openssl openssl.scm -lssl -lcrypto -lgdi32
    Error: shell command terminated with nonzero exit code
    "\"C:\\Chicken\\bin\\csi\" -bnq -setup-mode -e \"(require-library
    setup-api)\" -

Perhaps someone enlightened in the dark arts of windows MinGW could help out



reply via email to

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