2011-12-27 116 views
-1

我試圖將一些軟件移植到Solaris 10 Sparc,使用GCC 3.4.6,並且軟件的構建系統使用cmake。當我運行命令cmake CMakeLists.txt,我得到了很多的輸出是這樣的:Solaris 10上的cmake Sparc:配置爲不使用共享庫?

ADD_LIBRARY for library <library_name> is used with the SHARED 
option, but the target platform supports only STATIC libraries. 
Building it STATIC instead. This may lead to problems. 

顯然的Solaris 10 Sparc的支持共享庫,我已經建立在之前的x86的Solaris 10這個軟件。

任何人碰到這個或可以提供方向?我正要深入探討cmake源代碼,以確定它是否與Sparc Solaris存在問題。

謝謝。

回答

1

經過這幾個小時的戰鬥,取得了一點進展,我決定使用pkgutilOpenCSW安裝cmake-2.8.6,並且解決了這個問題。

也問過這個問題在#[email protected]之前,我固定它,看起來是通過CMake 2.6.4問題的SPARC Solaris 10