[MacPorts] #22934: cmake-2.8.0 build failure: ld: symbol(s) not found

MacPorts noreply at macports.org
Thu Dec 17 17:57:55 PST 2009


#22934: cmake-2.8.0 build failure: ld: symbol(s) not found
--------------------------------+-------------------------------------------
 Reporter:  paul@…              |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.1                                
 Keywords:                      |        Port:  cmake                                
--------------------------------+-------------------------------------------
 When trying to install cmake, I get:
 {{{
 --->  Building cmake
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.0"
 && /usr/bin/make -j2 all " returned error 2
 Command output:       _main in ccmake.o
   "_delwin", referenced from:
       _unpost_form in libcmForm.a(frm_post.o)
       _Field_Grown in libcmForm.a(frm_driver.o)
       _Display_Or_Erase_Field in libcmForm.a(frm_driver.o)
       __nc_Set_Current_Field in libcmForm.a(frm_driver.o)
   "_winsch", referenced from:
       _FE_Insert_Character in libcmForm.a(frm_driver.o)
       _form_driver in libcmForm.a(frm_driver.o)
   "_derwin", referenced from:
       _Display_Or_Erase_Field in libcmForm.a(frm_driver.o)
       __nc_Set_Current_Field in libcmForm.a(frm_driver.o)
   "_wattr_off", referenced from:
       cmCursesLongMessageForm::UpdateStatusBar()       in
 cmCursesLongMessageForm.o
       cmCursesMainForm::UpdateStatusBar(char const*)in cmCursesMainForm.o
   "_winnstr", referenced from:
       _Window_To_Buffer in libcmForm.a(frm_driver.o)
   "_winsnstr", referenced from:
       _Insert_String in libcmForm.a(frm_driver.o)
       _Insert_String in libcmForm.a(frm_driver.o)
       _Insert_String in libcmForm.a(frm_driver.o)
       _Insert_String in libcmForm.a(frm_driver.o)
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[2]: *** [bin/ccmake] Error 1
 make[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
 make[1]: *** Waiting for unfinished jobs....
 Linking CXX executable ../bin/cmakexbuild
 [ 94%] Built target cmakexbuild
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.
 }}}
 Output of uname -a:
 {{{
 Darwin paulbook.pauljlucas.org 10.2.0 Darwin Kernel Version 10.2.0: Tue
 Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
 }}}
 i.e., Snow Leopard 10.6.2, Xcode 3.2.1, gcc -v output:
 {{{
 Using built-in specs.
 Target: i686-apple-darwin10
 Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-
 checking --enable-werror --prefix=/usr --mandir=/share/man --enable-
 languages=c,objc,c++,obj-c++ --program-transform-
 name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-
 darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686
 -apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
 Thread model: posix
 gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/22934>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list