<kurohin>is there any place for me to report it as a bug? <mark_weaver>make sure to include the exact commands you're using to build the extension. <kurohin>don't like it when I don't understand why, at least I have found a difference between a working and a non working library. <kurohin>when running nm on the library that works i get this U scm_i_new_smob@@GUILE_2.0 <kurohin>non working i get this: U scm_i_new_smob <kurohin>the scm_i_new_smob is without the @@GUILE_2.0 <mark_weaver>what commands did you use to build the working and non-working libraries? <kurohin>the thing i do different is that the working is compiled and linked in one step, the nonworking i first compile 2 files and then link them together <kurohin>"gcc -shared -o $@ -I/usr/include/guile/2.0 -fPIC scm_new_smob_problem.cpp -lguile-2.0" works <kurohin>g++ -I /usr/include/guile/2.0 -fPIC -c -o src/lib/types.o src/lib/types.cpp <kurohin>g++ -I /usr/include/guile/2.0 -fPIC -c -o src/lib/functions.o src/lib/functions.cpp <kurohin>g++ -shared -o libbuilder.so -fPIC -lguile-2.0 src/lib/types.o src/lib/functions.o <mark_weaver>what happens if you do the non-working one again, but with s/g++/gcc/ <kurohin>tried it, and it still does not work. <kurohin>also tried to move the -lguile-2.0 flag to the end, did not help <mark_weaver>I'm not sure that linking with -lguile-2.0 is needed here, anyway. <kurohin>I saw some example without and some examples with, the other functions have no problem linking without. <mark_weaver>civodul would be a better person to look at this. his recent work on Guix has made him quite familiar with the finer points of linking. <mark_weaver>if you could send a bug report to bug-guile@gnu.org with the exact commands used that work and don't work, along the accompanying source code so that we can reproduce the same thing on our end, that would be very helpful. <kurohin>will have to work more on a example. While I was construncting the example I found the way that works. <kurohin>will have to wait a while, time to put the little one to bed. ***DerGuteM1ritz is now known as DerGuteMoritz