gnucap-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnucap-devel] CMake build system progress


From: Kevin Zheng
Subject: Re: [Gnucap-devel] CMake build system progress
Date: Tue, 20 May 2014 15:12:37 -0500
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]