[CMake] CMake CVS build on BSDs

William A. Hoffman billlist at nycap.rr.com
Tue Apr 25 22:26:14 EDT 2006


I think this is a mismatch in the curses headers and the libraries.
You can disable curses or edit your cache and tell cmake
to use a different one.   Or you can disable curses by
setting this to false:
BUILD_CursesDialog

If you disable curses, you will not get ccmake.

This problem came up before here:

http://public.kitware.com/pipermail/cmake/2006-January/008041.html

-Bill




At 09:30 PM 4/25/2006, Asmodehn Shade wrote:
>Hi,
>
>I am trying to build the last CMake from CVS on NetBSD.
>I checked out the source from CVS, and run the bootstrap script
>It worked fine. ( I can provide the cmd output if needed )
>Then I run gmake, and I get some undefined references when trying to link ccmake in libcmForm.a :
>
>Linking CXX executable ../bin/ccmake
>/home/alex/DEV/CMake/Source/CursesDialog/form/libcmForm.a(frm_driver.o)(.text+0x9de): In function `_nc_Position_Form_Cursor':
>: undefined reference to `wcursyncup' 
>/home/alex/DEV/CMake/Source/CursesDialog/form/libcmForm.a(frm_driver.o)(.text+0x9f1): In function `_nc_Position_Form_Cursor':
>: undefined reference to `wcursyncup'
>/home/alex/DEV/CMake/Source/CursesDialog/form/libcmForm.a(frm_driver.o)(.text+0xd0e): In function `_nc_Refresh_Current_Field': 
>: undefined reference to `wsyncup'
>/home/alex/DEV/CMake/Source/CursesDialog/form/libcmForm.a(frm_driver.o)(.text+0xd21): In function `_nc_Refresh_Current_Field':
>: undefined reference to `wsyncup'
>/home/alex/DEV/CMake/Source/CursesDialog/form/libcmForm.a(frm_driver.o)(.text+0x117e): In function `Display_Or_Erase_Field': 
>: undefined reference to `wsyncup'
>/home/alex/DEV/CMake/Source/CursesDialog/form/libcmForm.a(frm_driver.o)(.text+0x1576): In function `_nc_Synchronize_Attributes':
>: undefined reference to `wsyncup'
>/home/alex/DEV/CMake/Source/CursesDialog/form/libcmForm.a(frm_driver.o)(.text+0x19f1): In function `_nc_Set_Current_Field': 
>: undefined reference to `wsyncup'
>/home/alex/DEV/CMake/Source/CursesDialog/form/libcmForm.a(frm_driver.o)(.text+0x1bea): more undefined references to `wsyncup' follow
>/home/alex/DEV/CMake/Source/CursesDialog/form/libcmForm.a(frm_driver.o)(.text+0x2834): In function `Insert_String': 
>: undefined reference to `winsnstr'
>/home/alex/DEV/CMake/Source/CursesDialog/form/libcmForm.a(frm_driver.o)(.text+0x2861): In function `Insert_String':
>: undefined reference to `winsnstr'
>/home/alex/DEV/CMake/Source/CursesDialog/form/libcmForm.a(frm_driver.o)(.text+0x29ab): In function `Insert_String': 
>: undefined reference to `winsnstr'
>/home/alex/DEV/CMake/Source/CursesDialog/form/libcmForm.a(frm_driver.o)(.text+0x29d8): In function `Insert_String':
>: undefined reference to `winsnstr'
>gmake[2]: *** [bin/ccmake] Error 1 
>gmake[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
>gmake: *** [all] Error 2
>
>
>What do I need exactly to build cmake ? did I miss something ?
>
>Thanks for your help.
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake 



More information about the CMake mailing list