[bwm-tools-tech] compiling error.
Brought to you by:
nkukard
From: Mark D. <ma...@du...> - 2006-08-22 23:41:34
|
<html> <body> I finally got all the dependencies up.. Now I get compiling errors can someone help me with this?<br><br> these are the error messages I get. I get these if I do the <h4><b>bwm_tools-200603080716.tar.gz </b></h4>build, and also if I do the 0.2.3 build.<br><br> Thanks in advanced.<br><br> <br> gcc -g -O2 -o .libs/bwmd bwmd-report.o bwmd-flowControl.o bwmd-logging.o bwmd-ipq.o bwmd-libipq.o bwmd-flow.o bwmd-autoclass.o bwmd-bwmd.o -pthread -L/usr/local/lib -L/usr/lib ../lib/.libs/libbwm.so /usr/local/lib/libgthread-2.0.so /usr/local/lib/libglib-2.0.so /usr/lib/libxml2.so -lpthread ../rrdtool/src/.libs/librrd.so /usr/lib/libfreetype.so -lpng -lz -lart_lgpl_2 -lm -lpanel -lncurses -lmenu -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/rrdtool-1.2.14/lib<br> creating bwmd<br> make[2]: Leaving directory `/root/bshapper/bwm_tools-200603080716/bwmd'<br> Making all in bwm_monitor<br> make[2]: Entering directory `/root/bshapper/bwm_tools-200603080716/bwm_monitor'<br> make[3]: Entering directory `/root/bshapper/bwm_tools-200603080716'<br> make[3]: Leaving directory `/root/bshapper/bwm_tools-200603080716'<br> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/libxml2 -g -O2 -MT bwm_monitor-bwm_monitor.o -MD -MP -MF ".deps/bwm_monitor-bwm_monitor.Tpo" -c -o bwm_monitor-bwm_monitor.o `test -f 'bwm_monitor.c' || echo './'`bwm_monitor.c; \<br> then mv -f ".deps/bwm_monitor-bwm_monitor.Tpo" ".deps/bwm_monitor-bwm_monitor.Po"; else rm -f ".deps/bwm_monitor-bwm_monitor.Tpo"; exit 1; fi<br> bwm_monitor.c:25:20: curses.h: No such file or directory<br> bwm_monitor.c:27:19: panel.h: No such file or directory<br> bwm_monitor.c:28:18: menu.h: No such file or directory<br> bwm_monitor.c:34:18: term.h: No such file or directory<br> In file included from bwm_monitor.c:38:<br> display.h:32: error: syntax error before '*' token<br> display.h:34: error: syntax error before '*' token<br> display.h:34: warning: data definition has no type or storage class<br> display.h:36: error: syntax error before '*' token<br> display.h:36: warning: data definition has no type or storage class<br> display.h:38: error: syntax error before '*' token<br> display.h:40: error: syntax error before '*' token<br> display.h:44: error: syntax error before "outs"<br> display.h:44: warning: data definition has no type or storage class<br> bwm_monitor.c:51: error: syntax error before '*' token<br> bwm_monitor.c: In function `updateWindow':<br> bwm_monitor.c:60: error: `flowName' undeclared (first use in this function)<br> bwm_monitor.c:60: error: (Each undeclared identifier is reported only once<br> bwm_monitor.c:60: error: for each function it appears in.)<br> bwm_monitor.c:61: error: `serverSock' undeclared (first use in this function)<br> bwm_monitor.c:74: error: `win' undeclared (first use in this function)<br> bwm_monitor.c:100: error: `stderr' undeclared (first use in this function)<br> bwm_monitor.c:113: error: `WA_NORMAL' undeclared (first use in this function)<br> bwm_monitor.c:137: error: `ERR' undeclared (first use in this function)<br> bwm_monitor.c: In function `statusWindow':<br> bwm_monitor.c:154: error: `WINDOW' undeclared (first use in this function)<br> bwm_monitor.c:154: error: `myWindow' undeclared (first use in this function)<br> bwm_monitor.c:168: error: `WA_NORMAL' undeclared (first use in this function)<br> bwm_monitor.c:168: error: `WA_UNDERLINE' undeclared (first use in this function)<br> bwm_monitor.c:168: error: `WA_BOLD' undeclared (first use in this function)<br> bwm_monitor.c: In function `main':<br> bwm_monitor.c:210: error: `WINDOW' undeclared (first use in this function)<br> bwm_monitor.c:210: error: `w_main' undeclared (first use in this function)<br> bwm_monitor.c:211: error: `MENU' undeclared (first use in this function)<br> bwm_monitor.c:211: error: `m_main' undeclared (first use in this function)<br> bwm_monitor.c:212: error: `w_menu' undeclared (first use in this function)<br> bwm_monitor.c:213: error: `ITEM' undeclared (first use in this function)<br> bwm_monitor.c:213: error: `menu_items' undeclared (first use in this function)<br> bwm_monitor.c:230: error: `stderr' undeclared (first use in this function)<br> bwm_monitor.c:284: error: `stdscr' undeclared (first use in this function)<br> bwm_monitor.c:289: error: `cursor_invisible' undeclared (first use in this function)<br> bwm_monitor.c:297: error: `COLOR_BLUE' undeclared (first use in this function)<br> bwm_monitor.c:297: error: `COLOR_BLACK' undeclared (first use in this function)<br> bwm_monitor.c:298: error: `COLOR_WHITE' undeclared (first use in this function)<br> bwm_monitor.c:299: error: `COLOR_GREEN' undeclared (first use in this function)<br> bwm_monitor.c:301: error: `COLOR_YELLOW' undeclared (first use in this function)<br> bwm_monitor.c:331: error: syntax error before ')' token<br> bwm_monitor.c:359: error: `WA_NORMAL' undeclared (first use in this function)<br> bwm_monitor.c:359: error: `WA_BOLD' undeclared (first use in this function)<br> bwm_monitor.c:371: error: `E_UNKNOWN_COMMAND' undeclared (first use in this function)<br> bwm_monitor.c:373: error: `E_REQUEST_DENIED' undeclared (first use in this function)<br> make[2]: *** [bwm_monitor-bwm_monitor.o] Error 1<br> make[2]: Leaving directory `/root/bshapper/bwm_tools-200603080716/bwm_monitor'<br> make[1]: *** [all-recursive] Error 1<br> make[1]: Leaving directory `/root/bshapper/bwm_tools-200603080716'<br> make: *** [all] Error 2<br> [root@localhost bwm_tools-200603080716]#<br> </body> </html> |