Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build error - terminfo related
On Thu, Feb 11, 2010 at 11:57:28AM -0800, Paul Goyette wrote:
> The error was during an -u (update) build. Building from clean $OBJDIR
> and $DESTDIR works fine.
>
> Maybe some .d file didn't get rebuilt?
>
Hum! I get different results:
What I've done:
>-1012: rm -rf /u/NetBSD/arch/amd64/obj/lib/libterminfo/*
>-1013: rm -rf /u/NetBSD/arch/amd64/obj/lib/libterminfo/.depend
>-1014: cd /u/NetBSD/src/lib/libterminfo
>-1015: /u/NetBSD/arch/amd64/TOOLS/bin/nbmake-amd64 -j12 dependall
[...]
compile libterminfo/term.po
/u/NetBSD/src/lib/libterminfo/term.c: In function '_ti_getterm':
/u/NetBSD/src/lib/libterminfo/term.c:337: error: 'compiled_terms' undeclared
(first use in this function)
/u/NetBSD/src/lib/libterminfo/term.c:337: error: (Each undeclared identifier is
reported only once
/u/NetBSD/src/lib/libterminfo/term.c:337: error: for each function it appears
in.)
/u/NetBSD/src/lib/libterminfo/term.c:339: error: dereferencing pointer to
incomplete type
/u/NetBSD/src/lib/libterminfo/term.c:340: error: dereferencing pointer to
incomplete type
/u/NetBSD/src/lib/libterminfo/term.c:340: error: dereferencing pointer to
incomplete type
--- term.o ---
Next try:
>-1016: /u/NetBSD/arch/amd64/TOOLS/bin/nbmake-amd64 -j12 distclean
>-1017: ll /u/NetBSD/arch/amd64/obj/lib/libterminfo/
total 36
drwxr-x--- 2 ks staff - 512 Feb 11 21:09 ./
drwxr-x--- 65 ks staff - 1536 Feb 4 17:47 ../
-rw-r----- 1 ks staff - 31552 Feb 11 21:05 rescue.c
Hm, after "distclean" I would expect the obj dir beeing empty, but let's
remove it manually and try w/o "dependall"
>-1018: rm /u/NetBSD/arch/amd64/obj/lib/libterminfo/rescue.c
>-1019: /u/NetBSD/arch/amd64/TOOLS/bin/nbmake-amd64 -j12
compile libterminfo/curterm.ln
compile libterminfo/curterm.o
compile libterminfo/curterm.po
compile libterminfo/curterm.so
compile libterminfo/hash.ln
[...]
build libterminfo/libterminfo_pic.a
build libterminfo/libterminfo.so.1.0
format libterminfo/terminfo.cat5
3.123u 1.450s 0:01.89 241.7% 0+0k 2+26io 22pf+0w
Ok, seems to work fine...
Another try w/o -j12, but w/ "dependall", not cleaned the obj dir:
>-1020: /u/NetBSD/arch/amd64/TOOLS/bin/nbmake-amd64 dependall
create libterminfo/curterm.d
create libterminfo/hash.d
create libterminfo/setupterm.d
create libterminfo/term.d
create libterminfo/termcap.d
create libterminfo/ti.d
create libterminfo/tparm.d
create libterminfo/tputs.d
create libterminfo/.depend
compile libterminfo/term.ln
compile libterminfo/term.o
compile libterminfo/term.po
compile libterminfo/term.so
build libterminfo/libterminfo.a
build libterminfo/libterminfo_p.a
build libterminfo/libterminfo_pic.a
build libterminfo/libterminfo.so.1.0
compile libterminfo/llib-lterminfo.ln
Lint pass2:
Yep, nice. No errors... But now, with everthing build nicely do another
>-1021: /u/NetBSD/arch/amd64/TOOLS/bin/nbmake-amd64 -j12 dependall
which I would expect doing nothing, but I'm seeing the "misbehave" again:
compile libterminfo/term.o
compile libterminfo/term.po
compile libterminfo/term.so
compile libterminfo/term.ln
/u/NetBSD/src/lib/libterminfo/term.c: In function '_ti_getterm':
/u/NetBSD/src/lib/libterminfo/term.c:337: error: 'compiled_terms' undeclared
(first use in this function)
/u/NetBSD/src/lib/libterminfo/term.c:337: error: (Each undeclared identifier is
reported only once
/u/NetBSD/src/lib/libterminfo/term.c:337: error: for each function it appears
in.)
/u/NetBSD/src/lib/libterminfo/term.c:339: error: dereferencing pointer to
incomplete type
/u/NetBSD/src/lib/libterminfo/term.c:340: error: dereferencing pointer to
incomplete type
/u/NetBSD/src/lib/libterminfo/term.c:340: error: dereferencing pointer to
incomplete type
/u/NetBSD/src/lib/libterminfo/term.c: In function '_ti_getterm':
/u/NetBSD/src/lib/libterminfo/term.c:337: error: 'compiled_terms' undeclared
(first use in this function)
/u/NetBSD/src/lib/libterminfo/term.c:337: error: (Each undeclared identifier is
reported only once
/u/NetBSD/src/lib/libterminfo/term.c:337: error: for each function it appears
in.)
/u/NetBSD/src/lib/libterminfo/term.c:339: error: dereferencing pointer to
incomplete type
/u/NetBSD/src/lib/libterminfo/term.c:340: error: dereferencing pointer to
incomplete type
/u/NetBSD/src/lib/libterminfo/term.c:340: error: dereferencing pointer to
incomplete type
--- term.o ---
*** [term.o] Error code 1
/u/NetBSD/src/lib/libterminfo/term.c: In function '_ti_getterm':
/u/NetBSD/src/lib/libterminfo/term.c:337: error: 'compiled_terms' undeclared
(first use in this function)
/u/NetBSD/src/lib/libterminfo/term.c:337: error: (Each undeclared identifier is
reported only once
/u/NetBSD/src/lib/libterminfo/term.c:337: error: for each function it appears
in.)
/u/NetBSD/src/lib/libterminfo/term.c:339: error: dereferencing pointer to
incomplete type
/u/NetBSD/src/lib/libterminfo/term.c:340: error: dereferencing pointer to
incomplete type
/u/NetBSD/src/lib/libterminfo/term.c:340: error: dereferencing pointer to
incomplete type
--- term.po ---
*** [term.po] Error code 1
--- term.so ---
*** [term.so] Error code 1
/u/NetBSD/src/lib/libterminfo/term.c(337): compiled_terms undefined [99]
/u/NetBSD/src/lib/libterminfo/term.c(337): cannot dereference non-pointer type
[96]
/u/NetBSD/src/lib/libterminfo/term.c(338): cannot dereference non-pointer type
[96]
/u/NetBSD/src/lib/libterminfo/term.c(339): illegal member use: name [102]
/u/NetBSD/src/lib/libterminfo/term.c(339): warning: t may be used before set
[158]
/u/NetBSD/src/lib/libterminfo/term.c(340): undefined struct/union member: cap
[101]
/u/NetBSD/src/lib/libterminfo/term.c(340): undefined struct/union member:
caplen [101]
/u/NetBSD/src/lib/libterminfo/term.c(340): warning: illegal combination of
pointer and integer, arg #2 [154]
--- term.ln ---
*** [term.ln] Error code 1
4 errors
nbmake: stopped in /u/NetBSD/src/lib/libterminfo
--- dependall ---
*** [dependall] Error code 2
1 error
nbmake: stopped in /u/NetBSD/src/lib/libterminfo
>-1022:
The above does _not_ happen on i386:
[...]
===> Successful make distribution
===> build.sh ended: Thu Feb 11 21:09:35 CET 2010
===> Summary of results:
build.sh command: ./build.sh -u -N 1 -j 24 -x -U -m i386 -O
/u/NetBSD/arch/i386/obj -D /u/NetBSD/arch/i386/dest -R
/u/NetBSD/arch/i386/release -T /u/NetBSD/arch/i386/TOOLS distribution
build.sh started: Thu Feb 11 20:49:48 CET 2010
NetBSD version: 5.99.24
MACHINE: i386
MACHINE_ARCH: i386
Build platform: SunOS 5.11 i86pc
HOST_SH: /usr/xpg4/bin/sh
No $TOOLDIR/bin/nbmake, needs building.
Bootstrapping nbmake
TOOLDIR path: /u/NetBSD/arch/i386/TOOLS
DESTDIR path: /u/NetBSD/arch/i386/dest
RELEASEDIR path: /u/NetBSD/arch/i386/release
Created /u/NetBSD/arch/i386/TOOLS/bin/nbmake
makewrapper: /u/NetBSD/arch/i386/TOOLS/bin/nbmake-i386
Updated /u/NetBSD/arch/i386/TOOLS/bin/nbmake-i386
Successful make distribution
build.sh ended: Thu Feb 11 21:09:35 CET 2010
No idea what's going on here...
Kurt
Home |
Main Index |
Thread Index |
Old Index