Welcome to the CHICKEN Scheme pasting service
Failing code added by sjamaan on Sat Feb 25 17:41:41 2012
/* * Compiling on amd64 like so: * pcc -fpic -c test.c * pcc -shared -o test.so test.o * * gives this error: * ld: test.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared obje ct; recompile with -fPIC * test.o: could not read symbols: Bad value */ static int blabla[4]; void foo(int *x) { } void bar() { foo(blabla); }