From: David N Murray <[email protected]> Subject: [Chicken-users] Building My Own .so Date: Thu, 24 Mar 2011 16:55:27 -0400 (EDT)
> Hi, > > I'm trying to wrap some utility functions in a module into a .so. I'm > getting undefined symbol errors, and I'm not quite sure how to resolve > them: > > $ csc -s lib.scm -j lib > Undefined symbols: > "_C_regex_toplevel", referenced from: > _f_1400 in lib.o > "_C_symbol_2dutils_toplevel", referenced from: > _f_1412 in lib.o > ld: symbol(s) not found > collect2: ld returned 1 exit status > > Error: shell command terminated with non-zero exit status 256: gcc lib.o > -o lib.so -m64 -bundle -L"/usr/local/lib" -lchicken -lm > $ > Do you have old versions of the "regex" or "symbol-utils" eggs installed? Try re-installing those. There was a change in the naming of toplevel entry-points for extensions, and if you have stale eggs installed, these will still use the old naming convention. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
