Hi Felix,

On 05/20/2014 14:49, Felix Salfelder wrote:
> Linking CXX executable gnucap-modelgen
> ../lib/libgnucap.so: undefined reference to `dlerror'
> ../lib/libgnucap.so: undefined reference to `dlopen'
> ../lib/libgnucap.so: undefined reference to `dlclose'
> collect2: error: ld returned 1 exit status
> modelgen/CMakeFiles/gnucap-modelgen.dir/build.make:314: recipe for target 
> 'modelgen/gnucap-modelgen' failed
> make[2]: *** [modelgen/gnucap-modelgen] Error 1

Sorry, that was me being clumsy and forgetting to link with libdl even
though I checked for it earlier. My operating system provides these
functions with -lc, so no linker flag is required.

I committed a fix in 61018a8, but I'm not able to test it. Could you try
to build it again?

(Note: with CMake you only need to type 'make', running 'cmake' again is
unnecessary)

Thanks to Al for pointing out it should be linked only in lib!

Thanks,
Kevin Zheng

_______________________________________________
Gnucap-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnucap-devel

Reply via email to