Re: Monolithic build of static library

2020-12-16 Thread Ava Fox
This is something I experienced a couple weeks ago. The solution is to link your final executable against the 'contrib' libraries that ECL has compiled. You need to add something like this to your compiler step: `-L/path/to/ecl -lasdf` This email from last month's mailing list archives has more

Re: Monolithic build of static library

2020-12-01 Thread Daniel Kochmański
Do you have the source code of uiop available in the central registry? Quicklisp won't download it, because asdf considers it being preloaded. Also, if so, do you have uiop listed as a dependency? Alternatively you may add asdf as a dependency to your system. Regards, Daniel -- Daniel Kochmańs

Re: Monolithic build of static library

2020-12-01 Thread Иван Трусков
Thank you very much. After rebuilding with newer version of ecl and with :init-name supplied compilation was a success. However, when i try to run the resulting executable, i get this error: Condition of type: SIMPLE-ERROR Package ((UIOP/STREAM . #)) referenced in compiled file NIL but has not

Re: Monolithic build of static library

2020-12-01 Thread Marius Gerbershagen
The generated library does indeed contain all systems that your library contains on. The undefined references are init functions, which need to be called via ecl_init_module after cl_boot to initialize the compiled libraries (see https://common-lisp.net/project/ecl/static/manual/System-building