[Ecls-list] How to Link SB-BSD-SOCKETS into Stand-Alone Program

Jimmy Lu gongchuo.lu at gmail.com
Tue Jun 17 03:43:15 UTC 2014

Hi Binghe,

I sequestered SB-BSD-SOCKETS and it still did not work.  It seems more
of an ECL problem, failing to recognize SB-BSD-SOCKETS as a dependency
and link it into the standalone program, or there is something I am
missing to make ECL recognize it as a dependency.  The code works well
when being load in an existing REPL but does not work when using
ASDF:MAKE-BUILD to compile it down to C code.


Jimmy Lu

"Chun Tian (binghe)" <binghe.lisp at gmail.com> writes:

> Hi Jimmy
> Is this a problem of ECL (SB-BSD-SOCKETS) or USOCKET? For example, if
> you write a simple program with SB-BSD-SOCKETS itself used and then dump
> it into stand-alone program, can it work?
> If it's confirmed as an issue of USOCKET, the way it calls underlying
> ECL functions, I need to fix it.
> Chun Tian (binghe)
> USOCKET maintainer
> Il giorno 02/apr/2014, alle ore 11:42, Jimmy Lu <gongchuo.lu at gmail.com> ha scritto:
>> Hi,
>> I ran into the following error when trying to use ASDF:MAKE-BUILD to
>> build a stand-alone program whose dependencies include USOCKET (thus
>> SB-BSD-SOCKETS).  The error happened when I ran the executable being
>> built.
>>    Condition of type: SIMPLE-ERROR
>>    Package ((SB-BSD-SOCKETS . #<SB-BSD-SOCKETS package>)) referenced in compiled file
>>      NIL
>>    but has not been created
>>    Available restarts:
>>    1. (IGNORE) Ignore the error, and try the operation again
>>    Top level in: #<process TOP-LEVEL>.
>> A search in the mailing list archive suggests it is due to ASDF unable
>> to recognize SB-BSD-SOCKETS as a dependency.
>> I would like to know is there any way to work around this issue, to
>> build SB-BSD-SOCKETS into the program using ASDF:MAKE-BUILD or anything
>> else?
>> Thanks,
>> Jimmy
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Ecls-list mailing list
>> Ecls-list at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ecls-list

More information about the ecl-devel mailing list