Current-Users archive

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

Re: src/sys/sys/rb.h causes problem?



On Wed, 4 Jun 2008, Kurt Schreiner wrote:

Hi,

just got this failure on i386 with source cvs updated
Jun  4 17:21 MEST:

In file included from /u/NetBSD/src/sys/uvm/uvm_page.h:121,
                from /u/NetBSD/src/sys/uvm/uvm_extern.h:468,
                from /u/NetBSD/src/sys/sys/sysctl.h:47,
                from /u/NetBSD/src/lib/libc/compat-43/sethostid.c:43:
In file included from /u/NetBSD/src/sys/uvm/uvm_page.h:121,
                from /u/NetBSD/src/sys/uvm/uvm_extern.h:468,
                from /u/NetBSD/src/sys/sys/sysctl.h:47,
                from /u/NetBSD/src/lib/libc/compat-43/gethostid.c:44:
/u/NetBSD/src/sys/sys/rb.h:164: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'rb_tree_insert_node'
/u/NetBSD/src/sys/sys/rb.h:164: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'rb_tree_insert_node'
--- gethostid.o ---
*** [gethostid.o] Error code 1
--- sethostid.o ---
*** [sethostid.o] Error code 1

I'm getting similar errors on several libc files.  Here's one...
--- confstr.o ---
#   compile  libc/confstr.o
/build/tools/x86_64/amd64/bin/x86_64--netbsd-gcc -O2 -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional 
-Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra 
-Wno-unused-parameter -std=gnu99  -Werror  -fstack-protector -Wstack-protector 
--param ssp-buffer-size=1   -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT 
-DHESIOD -DINET6 -DNLS -DYP -I/build/src/lib/libc/include -I/build/src/lib/libc 
-I/build/src/sys -I/build/src/lib/libc/compat/stdlib 
-I/build/src/lib/libc/compat/../stdlib 
-I/build/src/lib/libc/../../common/lib/libc/quad 
-I/build/src/lib/libc/../../common/lib/libc/string 
-I/build/src/lib/libc/../../common/lib/libc/arch/x86_64/string 
-D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS 
-I/build/src/libexec/ld.elf_so -I/build/src/lib/libc/dlfcn 
-I/build/src/lib/libc/gdtoa -DNO_FENV_H -I/build/src/lib/libc/arch/x86_64/gdtoa 
-DCITRUS_ICONV -DWITH_RUNE -I/build/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES 
-DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT  
-D_FORTIFY_SOURCE=2  -nostdinc -isystem /build/dest/amd64/usr/include -c    
/build/src/lib/libc/gen/confstr.c -o confstr.o
In file included from /build/src/sys/uvm/uvm_page.h:121,
                 from /build/src/sys/uvm/uvm_extern.h:468,
                 from /build/src/sys/sys/sysctl.h:47,
                 from /build/src/lib/libc/gen/confstr.c:43:
/build/src/sys/sys/rb.h:164: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'rb_tree_insert_node'
*** [confstr.o] Error code 1


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


Home | Main Index | Thread Index | Old Index