Kristian Lein-Mathisen wrote: > Hi Marco,
> So what is it that you want? Your Makefile looks ok to me, though I > think all of it might have been less complicated to do with just an > .egg-file. I have written this Makefile fully guessing everything, because the available documentation is not enough for me. Besides, it does not work as it is: $ make all csc -I. -c -o module-for-expand.o module-for-expand.scm csc -library -shared -L. -o library-for-expand.so module-for-expand.o /usr/bin/ld: module-for-expand.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC module-for-expand.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status Error: shell command terminated with non-zero exit status 256: 'gcc' 'module-for-expand.o' -o 'library-for-expand.so' -shared -shared -L. -L/opt/chicken/5.0.0/lib64 -Wl,-R/opt/chicken/5.0.0/lib64 -lchicken -lm -ldl Makefile:36: recipe for target 'library-for-expand.so' failed make: *** [library-for-expand.so] Error 1 -- Marco Maggi _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users