Current-Users archive

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

Re: Build error - terminfo related



The error was during an -u (update) build. Building from clean $OBJDIR and $DESTDIR works fine.

Maybe some .d file didn't get rebuilt?

On Thu, 11 Feb 2010, Roy Marples wrote:

On 02/11/10 17:05, Paul Goyette wrote:
Sources updated minutes ago...

--- term.o ---
# compile libterminfo/term.o
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-gcc -O2 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra
-Wno-unused-parameter -Wsign-compare -std=gnu99 -Werror
-I/build/netbsd-local/src/lib/libterminfo
-I/build/netbsd-local/obj/amd64/lib/libterminfo -nostdinc -isystem
/build/netbsd-local/dest/amd64/usr/include -c
/build/netbsd-local/src/lib/libterminfo/term.c -o term.o
/build/netbsd-local/src/lib/libterminfo/term.c: In function '_ti_getterm':
/build/netbsd-local/src/lib/libterminfo/term.c:337: error:
'compiled_terms' undeclared (first use in this function)
/build/netbsd-local/src/lib/libterminfo/term.c:337: error: (Each
undeclared identifier is reported only once
/build/netbsd-local/src/lib/libterminfo/term.c:337: error: for each
function it appears in.)
/build/netbsd-local/src/lib/libterminfo/term.c:339: error: dereferencing
pointer to incomplete type
/build/netbsd-local/src/lib/libterminfo/term.c:340: error: dereferencing
pointer to incomplete type
/build/netbsd-local/src/lib/libterminfo/term.c:340: error: dereferencing
pointer to incomplete type
*** [term.o] Error code 1

Interesting. It builds fine for me on amd64 with -j8 and i386 -j1.
Check you have revision 1.8 or src/lib/libterminfo/Makefile

Thanks

Roy


-------------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index