I have tried removing one of the 2 modules declared in the .egg but I have the same problem. When I remove the (species ui) import from darwin.scm it compiles and runs the tests but of course fails to resolve the symbol at runtime.
Could it be the name of the modules somehow clash? I tried renaming the module from `(species ui)` to `(origin ui)` but then I am having the following issue: $ CHICKEN_REPOSITORY_PATH=$(pwd):$(chicken-install -repository) chicken-install -test -n building species /usr/local/Cellar/chicken/5.2.0/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /Users/arnaud/projects/scheme/origin-of-species -C -I/Users/arnaud/projects/scheme/origin-of-species -O3 -d0 species.scm -o /Users/arnaud/projects/scheme/origin-of-species/species.so /usr/local/Cellar/chicken/5.2.0/bin/csc -regenerate-import-libraries -M -setup-mode -static -I /Users/arnaud/projects/scheme/origin-of-species -emit-link-file /Users/arnaud/projects/scheme/origin-of-species/species.link -host -D compiling-extension -c -unit species -D compiling-static-extension -C -I/Users/arnaud/projects/scheme/origin-of-species -O3 -d0 species.scm -o /Users/arnaud/projects/scheme/origin-of-species/species.static.o /usr/local/Cellar/chicken/5.2.0/bin/csc -setup-mode -s -host -I /Users/arnaud/projects/scheme/origin-of-species -C -I/Users/arnaud/projects/scheme/origin-of-species -O3 -d0 species.import.scm -o /Users/arnaud/projects/scheme/origin-of-species/species.import.so /usr/local/Cellar/chicken/5.2.0/bin/csc -setup-mode -s -host -I /Users/arnaud/projects/scheme/origin-of-species -C -I/Users/arnaud/projects/scheme/origin-of-species -O3 -d0 origin.ui.import.scm -o /Users/arnaud/projects/scheme/origin-of-species/origin.ui.import.so csc: file `origin.ui.import.scm' does not exist Error: shell command terminated with nonzero exit code 16384 -- Arnaud Bailly - @dr_c0d3 On Tue, May 25, 2021 at 1:31 AM <felix.winkelm...@bevuta.com> wrote: > > > Error: (car) bad argument type: > > |\xcf\xfa\xed\xfe\x07\x00\x00\x01\x03\x00\x00\x00\x02\x00\x00\x00\x11\x00\x00\x00\x90\x06\x00\x00\x85\x00| > > > > I haven't analyzed this, but this looks like is the header of a binary > object, so the runtime > system is trying to load a binary, perhaps a import library (and fails and > thus treats > the binary data as source code). Is your CHICKEN setup working properly? > > > felix >