bug#384: ncurses build fails during 'make build'

Karl Sackett <[email protected]> Tue, 22 Jul 2003 14:08:00 -0500
Newsgroups gmane.linux.bbc.bugs
Message-ID <[email protected]>
Package: ncurses

I'm trying to build the HEAD branch of the lnx-bbc tree.  I'm building on an
i686 machine running Debian testing, kernel 2.4.20.

"make build" produces this output:
...
cd ncurses && make DESTDIR="//tmp/build/staging/singularity/image" all
/home/krs/src/gar/lib/ncurses/work/singularity.d/ncurses-5.2/ncurses
make[10]: Entering directory `/home/krs/src/gar/lib/ncurses/work/singularity.d/ncurses-5.2/ncurses'
cd ../obj_s;  i386-pc-linux-gnu-gcc -I../ncurses -I. -I//tmp/build/staging/singu
larity/image//include  -I//tmp/build/staging/singularity/image//lib/gcc-lib/i386
-pc-linux-gnu/3.2.2/include -I//tmp/build/lib/gcc-lib/i386-pc-linux-gnu/3.2.2/in
clude -DNDEBUG -I. -I../include -I//include -DHAVE_CONFIG_H -Os -I//tmp/build/st
aging/singularity/image//include -L//tmp/build/staging/singularity/image//lib  -
I//tmp/build/staging/singularity/image//lib/gcc-lib/i386-pc-linux-gnu/3.2.2/incl
ude -I//tmp/build/lib/gcc-lib/i386-pc-linux-gnu/3.2.2/include -L//tmp/build/stag
ing/singularity/image//lib/gcc-lib/i386-pc-linux-gnu/3.2.2 -L//tmp/build/lib/gcc
-lib/i386-pc-linux-gnu/3.2.2  -fPIC -c ../ncurses/./tty/hashmap.c
../ncurses/tty/hashmap.c: In function `cost_effective':
../ncurses/tty/hashmap.c:163: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:163: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c:164: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:164: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c:164: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:164: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c:165: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:165: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c:165: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:165: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c:166: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:166: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c:167: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:167: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c:167: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:167: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c:168: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:168: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c:168: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:168: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c: In function `_nc_hash_map':
../ncurses/tty/hashmap.c:303: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:303: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c:304: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:304: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c:318: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:318: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c:319: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:319: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c: In function `_nc_make_oldhash':
../ncurses/tty/hashmap.c:421: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:421: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c: In function `_nc_scroll_oldhash':
../ncurses/tty/hashmap.c:437: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:437: dereferencing pointer to incomplete type
../ncurses/tty/hashmap.c:443: invalid use of undefined type `struct ldat'
../ncurses/tty/hashmap.c:443: dereferencing pointer to incomplete type
make[10]: *** [../obj_s/hashmap.o] Error 1
make[10]: Leaving directory `/home/krs/src/gar/lib/ncurses/work/singularity.d/nc
urses-5.2/ncurses'
make[9]: *** [all] Error 2
make[9]: Leaving directory `/home/krs/src/gar/lib/ncurses/work/singularity.d/ncu
rses-5.2'
make[8]: *** [build-work/singularity.d/ncurses-5.2/Makefile] Error 2
make[8]: Leaving directory `/home/krs/src/gar/lib/ncurses'
make[7]: *** [../../lib/ncurses/cookies/singularity.d/install] Error 2
make[7]: Leaving directory `/home/krs/src/gar/disk/parted'
make[6]: *** [imgdep-singularity] Error 2
make[6]: Leaving directory `/home/krs/src/gar/disk/parted'
make[5]: *** [../../disk/parted/cookies/singularity.d/install] Error 2
make[5]: Leaving directory `/home/krs/src/gar/meta/bbc-contents'
make[4]: *** [imgdep-singularity] Error 2
make[4]: Leaving directory `/home/krs/src/gar/meta/bbc-contents'
make[3]: *** [../../meta/bbc-contents/cookies/singularity.d/install] Error 2
make[3]: Leaving directory `/home/krs/src/gar/meta/singularity'
make[2]: *** [imgdep-singularity] Error 2
make[2]: Leaving directory `/home/krs/src/gar/meta/singularity'
make[1]: *** [../../meta/singularity/cookies/main.d/install] Error 2
make[1]: Leaving directory `/home/krs/src/gar/meta/lnx-bbc'
make: *** [imgdep-main] Error 2

-- 
Karl Sackett                     K4KRS                    [email protected]

         "It's kind of fun to do the impossible." - Walt Disney