Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xentools 3.1.3nb1 not building - ncurses.h not found
On which NetBSD version do you build this package?
Is this 4.0 or -current?
Christoph
On Monday 25 February 2008 10:40:34 Sarton O'Brien wrote:
> This occurs with and without ncurses installed. I'm guessing
> xentools-hvm probably builds ok or Manuel would have noticed this ;)
>
> gmake[2]: Entering directory
> `/usr/pkgsrc/sysutils/xentools3/work/xen-3.1.3/tools/xenstat/xentop'
> gcc -O2 -I/usr/pkg/include/python2.4 -I/usr/include -I/usr/pkg/include
> -m32 -march=i686 -DNDEBUG -fno-strict-aliasing -std=gnu99 -Wall
> -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement
> -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -mno-tls-direct-seg-refs -m32 -march=i686 -DNDEBUG -fno-strict-aliasing
> -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value
> -Wdeclaration-after-statement -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -m32 -march=i686 -DNDEBUG
> -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
> -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs
> -DGCC_PRINTF -Wall -Werror -I../../../tools/xenstat/libxenstat/src
> -DHOST_NetBSD -I/usr/pkg/include/python2.4 -I/usr/include
> -I/usr/pkg/include -L/usr/pkg/lib/python2.4/config
> -Wl,-R/usr/pkg/lib/python2.4/config -L/usr/lib -Wl,-R/usr/lib
> -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
> -L../../../tools/xenstat/libxenstat/src xentop.c -lxenstat -lncurses
> -o xentop
> getconf: LFS_CFLAGS: unknown variable
> getconf: LFS_LDFLAGS: unknown variable
> xentop.c:21:21: error: ncurses.h: No such file or directory
> xentop.c:206: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '*' token
> xentop.c: In function 'cleanup':
> xentop.c:244: error: 'cwin' undeclared (first use in this function)
> xentop.c:244: error: (Each undeclared identifier is reported only once
> xentop.c:244: error: for each function it appears in.)
> cc1: warnings being treated as errors
> xentop.c:244: warning: implicit declaration of function 'isendwin'
> xentop.c:245: warning: implicit declaration of function 'endwin'
> xentop.c: In function 'fail':
> xentop.c:257: error: 'cwin' undeclared (first use in this function)
> xentop.c: In function 'current_row':
> xentop.c:267: warning: implicit declaration of function 'getyx'
> xentop.c:267: error: 'stdscr' undeclared (first use in this function)
> xentop.c: In function 'lines':
> xentop.c:275: warning: implicit declaration of function 'getmaxyx'
> xentop.c:275: error: 'stdscr' undeclared (first use in this function)
> xentop.c: In function 'print':
> xentop.c:288: warning: implicit declaration of function 'vwprintw'
> xentop.c:288: error: 'stdscr' undeclared (first use in this function)
> xentop.c: In function 'xentop_attron':
> xentop.c:301: warning: implicit declaration of function 'attron'
> xentop.c: In function 'xentop_attroff':
> xentop.c:307: warning: implicit declaration of function 'attroff'
> xentop.c: In function 'attr_addstr':
> xentop.c:314: warning: implicit declaration of function 'addstr'
> xentop.c: In function 'handle_key':
> xentop.c:358: error: 'KEY_DOWN' undeclared (first use in this function)
> xentop.c:361: error: 'KEY_UP' undeclared (first use in this function)
> xentop.c:381: error: 'KEY_BACKSPACE' undeclared (first use in this
> function) xentop.c: In function 'compare_net_tx':
> xentop.c:594: error: 'FALSE' undeclared (first use in this function)
> xentop.c: In function 'print_net_tx':
> xentop.c:601: error: 'FALSE' undeclared (first use in this function)
> xentop.c: In function 'compare_net_rx':
> xentop.c:608: error: 'TRUE' undeclared (first use in this function)
> xentop.c: In function 'print_net_rx':
> xentop.c:615: error: 'TRUE' undeclared (first use in this function)
> xentop.c: In function 'do_header':
> xentop.c:801: error: 'A_REVERSE' undeclared (first use in this function)
> xentop.c:807: error: 'A_BOLD' undeclared (first use in this function)
> xentop.c: In function 'do_bottom_line':
> xentop.c:819: warning: implicit declaration of function 'move'
> xentop.c:822: warning: implicit declaration of function 'printw'
> xentop.c:824: warning: implicit declaration of function 'addch'
> xentop.c:824: error: 'A_REVERSE' undeclared (first use in this function)
> xentop.c:828: warning: implicit declaration of function 'COLOR_PAIR'
> xentop.c: In function 'do_domain':
> xentop.c:863: error: 'A_BOLD' undeclared (first use in this function)
> xentop.c: In function 'main':
> xentop.c:1022: error: 'ERR' undeclared (first use in this function)
> xentop.c:1085: error: 'cwin' undeclared (first use in this function)
> xentop.c:1085: warning: implicit declaration of function 'initscr'
> xentop.c:1086: warning: implicit declaration of function 'start_color'
> xentop.c:1087: warning: implicit declaration of function 'cbreak'
> xentop.c:1088: warning: implicit declaration of function 'noecho'
> xentop.c:1089: warning: implicit declaration of function 'nonl'
> xentop.c:1090: warning: implicit declaration of function 'keypad'
> xentop.c:1090: error: 'stdscr' undeclared (first use in this function)
> xentop.c:1090: error: 'TRUE' undeclared (first use in this function)
> xentop.c:1091: warning: implicit declaration of function 'halfdelay'
> xentop.c:1093: warning: implicit declaration of function
> 'use_default_colors'
> xentop.c:1095: warning: implicit declaration of function 'init_pair'
> xentop.c:1095: error: 'COLOR_YELLOW' undeclared (first use in this
> function) xentop.c:1100: warning: implicit declaration of function 'clear'
> xentop.c:1103: warning: implicit declaration of function 'refresh'
> xentop.c:1107: warning: implicit declaration of function 'getch'
> gmake[2]: *** [xentop] Error 1
> gmake[2]: Leaving directory
> `/usr/pkgsrc/sysutils/xentools3/work/xen-3.1.3/tools/xenstat/xentop'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory
> `/usr/pkgsrc/sysutils/xentools3/work/xen-3.1.3/tools/xenstat'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop.
> make: stopped in /usr/pkgsrc/sysutils/xentools3
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/sysutils/xentools3
Home |
Main Index |
Thread Index |
Old Index