[CMake] cmake on the BGP

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Sep 1 08:55:33 EDT 2009


On Tue, Sep 1, 2009 at 2:49 PM, Mathieu
Malaterre<mathieu.malaterre at gmail.com> wrote:
> On Tue, Sep 1, 2009 at 2:41 PM, Brad King<brad.king at 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



This e-mail (including any attachments) is confidential, may contain
proprietary or privileged information and is intended for the named
recipient(s) only. Unintended recipients are prohibited from taking action
on the basis of information in this e-mail and must delete all copies.
Nomura will not accept responsibility or liability for the accuracy or
completeness of, or the presence of any virus or disabling code in, this
e-mail. If verification is sought please request a hard copy. Any reference
to the terms of executed transactions should be treated as preliminary only
and subject to formal written confirmation by Nomura. Nomura reserves the
right to monitor e-mail communications through its networks (in accordance
with applicable laws). No confidentiality or privilege is waived or lost by
Nomura by any mistransmission of this e-mail. Any reference to "Nomura" is
a reference to any entity in the Nomura Holdings, Inc. group. Please read
our Electronic Communications Legal Notice which forms part of this e-mail:
http://www.Nomura.com/email_disclaimer.htm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2902 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090901/a75d4802/attachment.bin>


More information about the CMake mailing list