[CMake] cmake on the BGP

Brad King brad.king at kitware.com
Tue Sep 1 08:41:31 EDT 2009


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.

-Brad



More information about the CMake mailing list