chicken-users
[Top][All Lists]
Advanced

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

Re: csm static build fails on yaml egg


From: felix . winkelmann
Subject: Re: csm static build fails on yaml egg
Date: Sat, 11 Jun 2022 22:32:37 +0200

> This is on ubuntu, chicken 5.3:
>
> Test code:
> (module yamltest *
> (import scheme
>         chicken.string
>         yaml)
> (write (yaml-load "test.yaml")))
>
> > csm -static -program yamltest
>   '/home/ubuntu/data/buildall/w23-0-ck5.3/bin/csc' '-o' 'yamltest' '-I'
> '/home/ubuntu/data/opensrc/testsnips/yaml_static' '-C' '-I' '-C'
> '/home/ubuntu/data/opensrc/testsnips/yaml_static' '-static'
> '/home/ubuntu/data/opensrc/testsnips/yaml_static/yamltest.scm'
> /home/ubuntu/data/buildall/w23-0-ck5.3/lib/chicken/11/yaml.o: In function
> `f_3911':
> yaml.static.c:(.text+0xae1c): undefined reference to `yaml_parser_delete'
> yaml.static.c:(.text+0xae48): undefined reference to `yaml_parser_delete'

Does this egg require an external library to be linked? It looks like it
does. You need to add that.


felix




reply via email to

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