Re: What is this message trying to tell me? csc: could not find linked extension: chicken.csi

2022-05-26 Thread Matt Welland
Thanks Felix, that was the hint I needed. I was calling (repl). Once I
removed that it compiled static just fine.


On Wed, May 25, 2022 at 5:00 PM  wrote:

> > 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
>
>

-- 
--
Complexity is your enemy. Any fool can make something complicated.
It is hard to keep things simple. - Richard Branson.


Re: What is this message trying to tell me? csc: could not find linked extension: chicken.csi

2022-05-25 Thread felix . winkelmann
> 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




What is this message trying to tell me? csc: could not find linked extension: chicken.csi

2022-05-25 Thread Matt Welland
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'
--
Complexity is your enemy. Any fool can make something complicated.
It is hard to keep things simple. - Richard Branson.