[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] README patch



I just had a build fail following the instructions in the README file because I didn't have libncurses-dev installed.

Here's a patch:
--- README      2006-07-24 17:29:29.000000000 -0400
+++ README.bak  2006-07-24 17:30:32.000000000 -0400
@@ -91,7 +91,6 @@
     * GNU Binutils
     * Development install of zlib (e.g., zlib-dev)
     * Development install of Python v2.3 or later (e.g., python-dev)
-    * Development install of curses (e.g. libncurses-dev)
     * bridge-utils package (/sbin/brctl)
     * iproute package (/sbin/ip)
     * hotplug or udev

And the error messages, which are pretty self-explanatory:

make[4]: Entering directory `/usr/local/src/xen-3.0.2-2/tools/xenstat/xentop'
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes   -D__XEN_INTERFACE_VERSION__=0x00030101 -DGCC_PRINTF -Wall -Werror -I../../../tools/xenstat/libxenstat/src -c -o xentop.o xentop.c
xentop.c:21:20: curses.h: No such file or directory
xentop.c: In function `cleanup':
xentop.c:198: warning: implicit declaration of function `isendwin'
xentop.c:199: warning: implicit declaration of function `endwin'
xentop.c: In function `current_row':
xentop.c:221: warning: implicit declaration of function `getyx'
xentop.c:221: error: `stdscr' undeclared (first use in this function)
xentop.c:221: error: (Each undeclared identifier is reported only once
xentop.c:221: error: for each function it appears in.)
xentop.c: In function `lines':
xentop.c:229: warning: implicit declaration of function `getmaxyx'
xentop.c:229: error: `stdscr' undeclared (first use in this function)
xentop.c: In function `print':
xentop.c:237: error: `va_list' undeclared (first use in this function)
xentop.c:237: error: syntax error before "args"
xentop.c:240: warning: implicit declaration of function `va_start'
xentop.c:240: error: `args' undeclared (first use in this function)
xentop.c:241: warning: implicit declaration of function `vw_printw'
xentop.c:241: error: `stdscr' undeclared (first use in this function)
xentop.c:242: warning: implicit declaration of function `va_end'
xentop.c: In function `attr_addstr':
xentop.c:249: warning: implicit declaration of function `attron'
xentop.c:250: warning: implicit declaration of function `addstr'
xentop.c:251: warning: implicit declaration of function `attroff'
xentop.c: In function `handle_key':
xentop.c:291: error: `KEY_DOWN' undeclared (first use in this function)
xentop.c:294: error: `KEY_UP' undeclared (first use in this function)
xentop.c:314: error: `KEY_BACKSPACE' undeclared (first use in this function)
xentop.c: In function `compare_net_tx':
xentop.c:527: error: `FALSE' undeclared (first use in this function)
xentop.c: In function `print_net_tx':
xentop.c:534: error: `FALSE' undeclared (first use in this function)
xentop.c: In function `compare_net_rx':
xentop.c:541: error: `TRUE' undeclared (first use in this function)
xentop.c: In function `print_net_rx':
xentop.c:548: error: `TRUE' undeclared (first use in this function)
xentop.c: In function `do_header':
xentop.c:643: error: `A_REVERSE' undeclared (first use in this function)
xentop.c:649: error: `A_BOLD' undeclared (first use in this function)
xentop.c: In function `do_bottom_line':
xentop.c:661: warning: implicit declaration of function `move'
xentop.c:664: warning: implicit declaration of function `printw'
xentop.c:666: warning: implicit declaration of function `addch'
xentop.c:666: error: `A_REVERSE' undeclared (first use in this function)
xentop.c:670: warning: implicit declaration of function `COLOR_PAIR'
xentop.c: In function `do_domain':
xentop.c:698: error: `A_BOLD' undeclared (first use in this function)
xentop.c: In function `main':
xentop.c:812: error: `ERR' undeclared (first use in this function)
xentop.c:859: warning: implicit declaration of function `initscr'
xentop.c:860: warning: implicit declaration of function `start_color'
xentop.c:861: warning: implicit declaration of function `cbreak'
xentop.c:862: warning: implicit declaration of function `noecho'
xentop.c:863: warning: implicit declaration of function `nonl'
xentop.c:864: warning: implicit declaration of function `keypad'
xentop.c:864: error: `stdscr' undeclared (first use in this function)
xentop.c:864: error: `TRUE' undeclared (first use in this function)
xentop.c:865: warning: implicit declaration of function `halfdelay'
xentop.c:866: warning: implicit declaration of function `use_default_colors'
xentop.c:867: warning: implicit declaration of function `init_pair'
xentop.c:867: error: `COLOR_YELLOW' undeclared (first use in this function)
xentop.c:872: warning: implicit declaration of function `clear'
xentop.c:875: warning: implicit declaration of function `refresh'
xentop.c:877: warning: implicit declaration of function `getch'

Thanks for your work on a great product!

Cheers,
Brian Szymanski





_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.