#1 Error in make

open
nobody
5
2015-02-06
2006-04-05
metalelf0
No

I installed ncurses5.5 and I'm running Ubuntu 5.10.
./configure is ok, but when I try to make this is what
I get:

(.........)
gcc -Wall -g -O2 -o tmsnc misc.o main.o conf.o
login.o sig.o menu.o ui.o list.o charset.o core_misc.o
core_net.o core_ssl.o core_p2p.o dialog.o filters.o
event.o debug.o -lssl -lcrypto -lncurses -lpanel -lform
-lpthread
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libpanel.a(p_bottom.o):
In function `bottom_panel':
p_bottom.c:(.text+0x15): undefined reference to
`_nc_panelhook'
p_bottom.c:(.text+0x1c): undefined reference to
`_nc_panelhook'
p_bottom.c:(.text+0x26): undefined reference to
`_nc_panelhook'
p_bottom.c:(.text+0x65): undefined reference to
`_nc_panelhook'
p_bottom.c:(.text+0x120): undefined reference to
`_nc_panelhook'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libpanel.a(p_bottom.o):p_bottom.c:(.text+0x131):
more undefined references to `_nc_panelhook' follow
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `Window_To_Buffer':
frm_driver.c:(.text+0x1dd): undefined reference to
`winnstr'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `_nc_Refresh_Current_Field':
frm_driver.c:(.text+0x7fa): undefined reference to
`copywin'
frm_driver.c:(.text+0x929): undefined reference to
`copywin'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_Delete_Character':
frm_driver.c:(.text+0xff1): undefined reference to `wdelch'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_Delete_Line':
frm_driver.c:(.text+0x1017): undefined reference to
`winsdelln'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_Clear_To_End_Of_Field':
frm_driver.c:(.text+0x1071): undefined reference to
`wclrtobot'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `Insert_String':
frm_driver.c:(.text+0x2443): undefined reference to
`winsnstr'
frm_driver.c:(.text+0x2470): undefined reference to
`winsnstr'
frm_driver.c:(.text+0x2526): undefined reference to
`winsnstr'
frm_driver.c:(.text+0x2553): undefined reference to
`winsnstr'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function
`Wrapping_Not_Necessary_Or_Wrapping_Ok':frm_driver.c:(.text+0x283c):
undefined reference to `winch'
frm_driver.c:(.text+0x2952): undefined reference to
`wdelch'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_Insert_Character':
frm_driver.c:(.text+0x29cc): undefined reference to `winch'
frm_driver.c:(.text+0x2a2a): undefined reference to
`winsch'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `_nc_Synchronize_Attributes':
frm_driver.c:(.text+0x2b5f): undefined reference to
`copywin'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_New_Line':
frm_driver.c:(.text+0x2e36): undefined reference to
`winsdelln'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `form_driver':
frm_driver.c:(.text+0x3245): undefined reference to `winch'
frm_driver.c:(.text+0x32ca): undefined reference to
`winsch'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_Insert_Line':
frm_driver.c:(.text+0x3b3f): undefined reference to
`winsdelln'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_Delete_Previous':
frm_driver.c:(.text+0x3be5): undefined reference to
`wdelch'
frm_driver.c:(.text+0x3c96): undefined reference to
`winsdelln'
collect2: ld returned 1 exit status
make[2]: *** [tmsnc] Error 1
make[2]: Leaving directory
`/home/metalelf0/Desktop/downloads/tmsnc-0.3.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/metalelf0/Desktop/downloads/tmsnc-0.3.1/src'
make: *** [all-recursive] Error 1
root@eagleone:~/Desktop/downloads/tmsnc-0.3.1# make
Making all in src
make[1]: Entering directory
`/home/metalelf0/Desktop/downloads/tmsnc-0.3.1/src'
make[2]: Entering directory
`/home/metalelf0/Desktop/downloads/tmsnc-0.3.1'
make[2]: Leaving directory
`/home/metalelf0/Desktop/downloads/tmsnc-0.3.1'
make all-am
make[2]: Entering directory
`/home/metalelf0/Desktop/downloads/tmsnc-0.3.1/src'
make[3]: Entering directory
`/home/metalelf0/Desktop/downloads/tmsnc-0.3.1'
make[3]: Leaving directory
`/home/metalelf0/Desktop/downloads/tmsnc-0.3.1'
gcc -Wall -g -O2 -o tmsnc misc.o main.o conf.o
login.o sig.o menu.o ui.o list.o charset.o core_misc.o
core_net.o core_ssl.o core_p2p.o dialog.o filters.o
event.o debug.o -lssl -lcrypto -lncurses -lpanel -lform
-lpthread
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libpanel.a(p_bottom.o):
In function `bottom_panel':
p_bottom.c:(.text+0x15): undefined reference to
`_nc_panelhook'
p_bottom.c:(.text+0x1c): undefined reference to
`_nc_panelhook'
p_bottom.c:(.text+0x26): undefined reference to
`_nc_panelhook'
p_bottom.c:(.text+0x65): undefined reference to
`_nc_panelhook'
p_bottom.c:(.text+0x120): undefined reference to
`_nc_panelhook'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libpanel.a(p_bottom.o):p_bottom.c:(.text+0x131):
more undefined references to `_nc_panelhook' follow
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `Window_To_Buffer':
frm_driver.c:(.text+0x1dd): undefined reference to
`winnstr'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `_nc_Refresh_Current_Field':
frm_driver.c:(.text+0x7fa): undefined reference to
`copywin'
frm_driver.c:(.text+0x929): undefined reference to
`copywin'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_Delete_Character':
frm_driver.c:(.text+0xff1): undefined reference to `wdelch'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_Delete_Line':
frm_driver.c:(.text+0x1017): undefined reference to
`winsdelln'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_Clear_To_End_Of_Field':
frm_driver.c:(.text+0x1071): undefined reference to
`wclrtobot'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `Insert_String':
frm_driver.c:(.text+0x2443): undefined reference to
`winsnstr'
frm_driver.c:(.text+0x2470): undefined reference to
`winsnstr'
frm_driver.c:(.text+0x2526): undefined reference to
`winsnstr'
frm_driver.c:(.text+0x2553): undefined reference to
`winsnstr'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function
`Wrapping_Not_Necessary_Or_Wrapping_Ok':frm_driver.c:(.text+0x283c):
undefined reference to `winch'
frm_driver.c:(.text+0x2952): undefined reference to
`wdelch'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_Insert_Character':
frm_driver.c:(.text+0x29cc): undefined reference to `winch'
frm_driver.c:(.text+0x2a2a): undefined reference to
`winsch'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `_nc_Synchronize_Attributes':
frm_driver.c:(.text+0x2b5f): undefined reference to
`copywin'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_New_Line':
frm_driver.c:(.text+0x2e36): undefined reference to
`winsdelln'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `form_driver':
frm_driver.c:(.text+0x3245): undefined reference to `winch'
frm_driver.c:(.text+0x32ca): undefined reference to
`winsch'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_Insert_Line':
frm_driver.c:(.text+0x3b3f): undefined reference to
`winsdelln'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libform.a(frm_driver.o):
In function `FE_Delete_Previous':
frm_driver.c:(.text+0x3be5): undefined reference to
`wdelch'
frm_driver.c:(.text+0x3c96): undefined reference to
`winsdelln'
collect2: ld returned 1 exit status
make[2]: *** [tmsnc] Error 1
make[2]: Leaving directory
`/home/metalelf0/Desktop/downloads/tmsnc-0.3.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/metalelf0/Desktop/downloads/tmsnc-0.3.1/src'
make: *** [all-recursive] Error 1

Discussion