On 23.01.2013 20:57, Robert Jordan wrote: > Yes, 'extern "C"' is a must. You may need to add > > -Wl,--export-dynamic > > to your cflags when compiling the main program. This will instruct > the linker to export all public symbols as if the program where > a library. It should read "were a library" ;) Robert