On Tue, Sep 1, 2009 at 2:49 PM, Mathieu Malaterre<mathieu.malate...@gmail.com> wrote: > On Tue, Sep 1, 2009 at 2:41 PM, Brad King<brad.k...@kitware.com> wrote: >> Mathieu Malaterre wrote: >>> [ 4%] Built target cmsys >>> Linking C shared module libcmsysTestDynload.so >>> /usr/lib/gcc/powerpc64-suse-linux/4.1.2/../../../../lib/crt1.o:(.rodata+0x4): >>> undefined reference to `main' >> >> What does "make VERBOSE=1" say? Clearly this linker >> line is missing the flag to make it a shared library >> instead of an executable.
Copying from Darwin-xlC I get now: > cat Linux-XL-CXX.cmake SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "") SET(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "") SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-qmkshrobj") I'll rerun the Dashboard. Thanks Brad ! -- Mathieu _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake