Subject: libc build problem
To: None <port-cobalt@netbsd.org>
From: Scott Wunsch <netbsd-list@tr.wunsch.org>
List: port-cobalt
Date: 11/16/2003 14:45:15
I just recently got my hands on a CacheRaQ2, and promptly installed NetBSD
1.6.1 on it.  I'm now going through the applicable security advisories and
rebuilding the appropriate bits... but I'm running into problems with libc
(which I need to rebuild to resolve NetBSD-SA2003-011).

It chugs away happily for a while, and then abruptly dies at this point:

| cc  -fPIC  -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/usr/src/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT   -c -traditional-cpp -DGPROF -DPROF -DALL_STATE -DUSG_COMPAT -I/usr/src/lib/libc/arch/mips -DABICALLS /usr/src/lib/libc/arch/mips/string/index.S -o index.po
| lint -chapbxzF -X 272  -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/usr/src/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -i /usr/src/lib/libc/net/inet_lnaof.c
| /usr/src/lib/libc/net/inet_lnaof.c(61): redeclaration of _inet_lnaof [27]
| *** Error code 1
| 
| Stop.
| make: stopped in /usr/src/lib/libc

Googling for that error turns up nothing.  Can I really be the only person
to encounter this problem? :-)  Everything else that needed rebuilding was
just fine; only libc is causing me problems.

-- 
Take care,
Scott \\'unsch

... I'll have one brain on drugs with bacon, toast and juice.