|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Kirll Zakharov 2:5020/1965 09 Dec 2001 16:36:18 To : All Subject : echat ? --------------------------------------------------------------------------------
Помогите собрать сабж.
При компиляции сначала все нормально идет, а потом выдает море оишбок, система
Mandrake 7.3
gcc 2.95.2
=== - echat ===
mc[root@Crash /root]# mc
[root@Crash echat-0.02r.beta4]# make
Making echat 0.02r
LIBS = -lncurses
CFLAGS = -Wall -g -O2
DEFINES = -DLINUX -DEN -DPACKET_QCHAT -DCHARSET -DSOUND
Compiling chat_chnl.c
Compiling chat_cmnd.c
Compiling chat_conf.c
Compiling chat_cset.c
Compiling chat_parm.c
Compiling chat_time.c
Compiling chat_user.c
Compiling curs_strn.c
Compiling curs_term.c
Compiling echat.c
Compiling pckt_addr.c
Compiling pckt_make.c
Compiling pckt_pars.c
Compiling sock_udp.c
Linking echat
curs_strn.o: In function `string_show':
/root/1/echat-0.02r.beta4/curs_strn.c:28: undefined reference to `werase'
/root/1/echat-0.02r.beta4/curs_strn.c:29: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_strn.c:30: undefined reference to `waddnstr'
/root/1/echat-0.02r.beta4/curs_strn.c:31: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_strn.c:32: undefined reference to `waddnstr'
curs_strn.o: In function `screen_add':
/root/1/echat-0.02r.beta4/curs_strn.c:140: undefined reference to `LINES'
curs_strn.o: In function `screen_show':
/root/1/echat-0.02r.beta4/curs_strn.c:148: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_strn.c:150: undefined reference to `waddnstr'
/root/1/echat-0.02r.beta4/curs_strn.c:151: undefined reference to `waddch'
/root/1/echat-0.02r.beta4/curs_strn.c:154: undefined reference to `waddnstr'
curs_strn.o: In function `screen_top':
/root/1/echat-0.02r.beta4/curs_strn.c:172: undefined reference to `LINES'
curs_strn.o: In function `read_str':
/root/1/echat-0.02r.beta4/curs_strn.c:186: undefined reference to `wgetch'
curs_term.o: In function `term_init':
/root/1/echat-0.02r.beta4/curs_term.c:31: undefined reference to `initscr'
/root/1/echat-0.02r.beta4/curs_term.c:32: undefined reference to `curs_set'
/root/1/echat-0.02r.beta4/curs_term.c:33: undefined reference to `cbreak'
/root/1/echat-0.02r.beta4/curs_term.c:34: undefined reference to `noecho'
/root/1/echat-0.02r.beta4/curs_term.c:35: undefined reference to `nl'
/root/1/echat-0.02r.beta4/curs_term.c:36: undefined reference to `start_color'
/root/1/echat-0.02r.beta4/curs_term.c:37: undefined reference to `init_pair'
/root/1/echat-0.02r.beta4/curs_term.c:38: undefined reference to `init_pair'
/root/1/echat-0.02r.beta4/curs_term.c:39: undefined reference to `init_pair'
/root/1/echat-0.02r.beta4/curs_term.c:40: undefined reference to `init_pair'
/root/1/echat-0.02r.beta4/curs_term.c:41: undefined reference to `init_pair'
curs_term.o:/root/1/echat-0.02r.beta4/curs_term.c:42: more undefined
references to `init_pair' follow
curs_term.o: In function `term_kill':
/root/1/echat-0.02r.beta4/curs_term.c:53: undefined reference to `endwin'
curs_term.o: In function `window_init':
/root/1/echat-0.02r.beta4/curs_term.c:63: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:63: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:63: undefined reference to `newwin'
/root/1/echat-0.02r.beta4/curs_term.c:70: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:70: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:70: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:70: undefined reference to `newwin'
/root/1/echat-0.02r.beta4/curs_term.c:79: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:79: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:79: undefined reference to `newwin'
/root/1/echat-0.02r.beta4/curs_term.c:86: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:86: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:86: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:86: undefined reference to `newwin'
/root/1/echat-0.02r.beta4/curs_term.c:96: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:96: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:96: undefined reference to `newwin'
/root/1/echat-0.02r.beta4/curs_term.c:103: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:103: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:103: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:103: undefined reference to `newwin'
/root/1/echat-0.02r.beta4/curs_term.c:112: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:112: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:112: undefined reference to `subwin'
/root/1/echat-0.02r.beta4/curs_term.c:118: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:120: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:122: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:122: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:122: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:122: undefined reference to `subwin'
/root/1/echat-0.02r.beta4/curs_term.c:128: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:130: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:130: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:130: undefined reference to `wsetscrreg'
/root/1/echat-0.02r.beta4/curs_term.c:132: undefined reference to `wbkgdset'
/root/1/echat-0.02r.beta4/curs_term.c:134: undefined reference to `werase'
/root/1/echat-0.02r.beta4/curs_term.c:135: undefined reference to `leaveok'
/root/1/echat-0.02r.beta4/curs_term.c:136: undefined reference to `scrollok'
/root/1/echat-0.02r.beta4/curs_term.c:139: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:139: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:139: undefined reference to `subwin'
/root/1/echat-0.02r.beta4/curs_term.c:146: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:146: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:146: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:146: undefined reference to `subwin'
/root/1/echat-0.02r.beta4/curs_term.c:153: undefined reference to `keypad'
/root/1/echat-0.02r.beta4/curs_term.c:154: undefined reference to `leaveok'
/root/1/echat-0.02r.beta4/curs_term.c:155: undefined reference to `scrollok'
/root/1/echat-0.02r.beta4/curs_term.c:156: undefined reference to `wtimeout'
/root/1/echat-0.02r.beta4/curs_term.c:157: undefined reference to `wbkgdset'
/root/1/echat-0.02r.beta4/curs_term.c:159: undefined reference to `werase'
/root/1/echat-0.02r.beta4/curs_term.c:162: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:162: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:162: undefined reference to `newwin'
curs_term.o: In function `refresh_users':
/root/1/echat-0.02r.beta4/curs_term.c:176: undefined reference to `wbkgdset'
/root/1/echat-0.02r.beta4/curs_term.c:177: undefined reference to `werase'
/root/1/echat-0.02r.beta4/curs_term.c:181: undefined reference to `wborder'
/root/1/echat-0.02r.beta4/curs_term.c:185: undefined reference to `acs_map'
/root/1/echat-0.02r.beta4/curs_term.c:185: undefined reference to `wborder'
/root/1/echat-0.02r.beta4/curs_term.c:186: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_term.c:188: undefined reference to `wprintw'
/root/1/echat-0.02r.beta4/curs_term.c:191: undefined reference to `wprintw'
/root/1/echat-0.02r.beta4/curs_term.c:193: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_term.c:198: undefined reference to `waddch'
/root/1/echat-0.02r.beta4/curs_term.c:199: undefined reference to `waddch'
/root/1/echat-0.02r.beta4/curs_term.c:200: undefined reference to `waddch'
/root/1/echat-0.02r.beta4/curs_term.c:201: undefined reference to `waddch'
/root/1/echat-0.02r.beta4/curs_term.c:204: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_term.c:205: undefined reference to `waddnstr'
/root/1/echat-0.02r.beta4/curs_term.c:207: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_term.c:208: undefined reference to `waddnstr'
/root/1/echat-0.02r.beta4/curs_term.c:210: undefined reference to `waddch'
/root/1/echat-0.02r.beta4/curs_term.c:192: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:192: undefined reference to `LINES'
/root/1/echat-0.02r.beta4/curs_term.c:214: undefined reference to `wrefresh'
curs_term.o: In function `refresh_room':
/root/1/echat-0.02r.beta4/curs_term.c:226: undefined reference to `acs_map'
/root/1/echat-0.02r.beta4/curs_term.c:226: undefined reference to `acs_map'
/root/1/echat-0.02r.beta4/curs_term.c:226: undefined reference to `wborder'
/root/1/echat-0.02r.beta4/curs_term.c:228: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_term.c:229: undefined reference to `wprintw'
/root/1/echat-0.02r.beta4/curs_term.c:232: undefined reference to `waddnstr'
/root/1/echat-0.02r.beta4/curs_term.c:233: undefined reference to `waddch'
/root/1/echat-0.02r.beta4/curs_term.c:236: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_term.c:238: undefined reference to `wprintw'
/root/1/echat-0.02r.beta4/curs_term.c:242: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:245: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:248: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_term.c:250: undefined reference to `wprintw'
/root/1/echat-0.02r.beta4/curs_term.c:254: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:257: undefined reference to `COLS'
/root/1/echat-0.02r.beta4/curs_term.c:257: undefined reference to `waddnstr'
/root/1/echat-0.02r.beta4/curs_term.c:258: undefined reference to `waddch'
/root/1/echat-0.02r.beta4/curs_term.c:261: undefined reference to `wrefresh'
curs_term.o: In function `refresh_percent':
/root/1/echat-0.02r.beta4/curs_term.c:265: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_term.c:267: undefined reference to `waddch'
/root/1/echat-0.02r.beta4/curs_term.c:268: undefined reference to `wrefresh'
curs_term.o: In function `refresh_text':
/root/1/echat-0.02r.beta4/curs_term.c:272: undefined reference to `wtouchln'
/root/1/echat-0.02r.beta4/curs_term.c:273: undefined reference to `wrefresh'
curs_term.o: In function `refresh_input':
/root/1/echat-0.02r.beta4/curs_term.c:279: undefined reference to `wbkgdset'
/root/1/echat-0.02r.beta4/curs_term.c:280: undefined reference to `werase'
/root/1/echat-0.02r.beta4/curs_term.c:287: undefined reference to `acs_map'
/root/1/echat-0.02r.beta4/curs_term.c:287: undefined reference to `wborder'
/root/1/echat-0.02r.beta4/curs_term.c:289: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_term.c:291: undefined reference to `waddch'
/root/1/echat-0.02r.beta4/curs_term.c:294: undefined reference to `acs_map'
/root/1/echat-0.02r.beta4/curs_term.c:294: undefined reference to `waddch'
/root/1/echat-0.02r.beta4/curs_term.c:295: undefined reference to `waddch'
/root/1/echat-0.02r.beta4/curs_term.c:302: undefined reference to `waddnstr'
/root/1/echat-0.02r.beta4/curs_term.c:305: undefined reference to `waddch'
/root/1/echat-0.02r.beta4/curs_term.c:307: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_term.c:308: undefined reference to `waddnstr'
/root/1/echat-0.02r.beta4/curs_term.c:309: undefined reference to `wrefresh'
curs_term.o: In function `refresh_read':
/root/1/echat-0.02r.beta4/curs_term.c:313: undefined reference to `wtouchln'
/root/1/echat-0.02r.beta4/curs_term.c:314: undefined reference to `wrefresh'
curs_term.o: In function `status_ok':
/root/1/echat-0.02r.beta4/curs_term.c:327: undefined reference to `wbkgdset'
/root/1/echat-0.02r.beta4/curs_term.c:328: undefined reference to `werase'
/root/1/echat-0.02r.beta4/curs_term.c:330: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_term.c:331: undefined reference to `waddnstr'
/root/1/echat-0.02r.beta4/curs_term.c:332: undefined reference to `wrefresh'
curs_term.o: In function `status_error':
/root/1/echat-0.02r.beta4/curs_term.c:338: undefined reference to `wbkgdset'
/root/1/echat-0.02r.beta4/curs_term.c:339: undefined reference to `werase'
/root/1/echat-0.02r.beta4/curs_term.c:341: undefined reference to `wmove'
/root/1/echat-0.02r.beta4/curs_term.c:342: undefined reference to `waddnstr'
/root/1/echat-0.02r.beta4/curs_term.c:343: undefined reference to `wrefresh'
collect2: ld returned 1 exit status
make: *** [echat] Ошибка 1
[root@Crash echat-0.02r.beta4]#
gcc-2.95.2
===- echat ===
В чем может быть проблема, подскажите что подправить?
Kirll
--- GoldED/LNX 3.0.1-asa10 beta 2
* Origin: Crash (2:5020/1965)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/28453c1385a1.html, оценка из 5, голосов 10
|