chicken-users
[Top][All Lists]
Advanced

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

Re: What is this message trying to tell me? csc: could not find linked e


From: felix . winkelmann
Subject: Re: What is this message trying to tell me? csc: could not find linked extension: chicken.csi
Date: Wed, 25 May 2022 22:59:42 +0200

> ck5 csm -program kvpub -static
>   '/home/mrwellan/data/buildall/ck5.3/bin/csc' '-c' '-static' '-J'
> '/home/mrwellan/data/kvpub/mtargs.scm' '-I' '/home/mrwellan/data/kvpub'
> '-C' '-I' '-C' '/home/mrwellan/data/kvpub' '-unit' 'mtargs'
> '-emit-link-file' 'mtargs.link' '-o' 'mtargs.o'
>   '/home/mrwellan/data/buildall/ck5.3/bin/csc' '-o' 'kvpub' '-I'
> '/home/mrwellan/data/kvpub' '-C' '-I' '-C' '/home/mrwellan/data/kvpub'
> '-static' 'mtargs.o' '-uses' 'mtargs' '/home/mrwellan/data/kvpub/inval.scm'
> csc: could not find linked extension: chicken.csi
> command failed with non-zero exit status:
> '/home/mrwellan/data/buildall/ck5.3/bin/csc' '-o' 'kvpub' '-I'
> '/home/mrwellan/data/kvpub' '-C' '-I' '-C' '/home/mrwellan/data/kvpub'
> '-static' 'mtargs.o' '-uses' 'mtargs' '/home/mrwellan/data/kvpub/inval.scm'

You are trying to link statically a program that uses the (chicken csi)
module, but there is no such object file for static linking available
(chicken.csi lives in "csi" the interpreter and is not part of libchicken
or the set of statically linkable extensions).

You have to create a shared object and load it into csi to be able to
use exports from the chicken.csi module.


felix




reply via email to

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