Port-evbmips archive

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

Re: Crosscompiling NetBSD for Fonera (mips) not working with HEAD?



Hello,

I had problems building release with "LDSTATIC=-static" on an older NetBSD machine, so I updated everything to current (HEAD) just to verify if those problems where fixed. But now I got problems building release due to librump:

# ./build.sh -m evbmips-eb tools
...
# echo "LDSTATIC=-static" >> /etc/mk.conf
# ./build.sh -m evbmips-eb -u release
...
#   compile  librump/intr.o
/usr/src/tooldir.NetBSD-5.99.11-i386/bin/mipseb--netbsd-gcc -O2 - ffreestanding -fno-strict-aliasing -Wno-pointer-sign -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 -Werror -I/ usr/src/lib/librump/../../sys/rump/include -D_RUMPKERNEL -D_KERNEL - DMULTIPROCESSOR -D_MODULE -DMODULAR -DMAXUSERS=32 -DDIAGNOSTIC - DCOMPAT_50 -DDEBUGPRINT -I/usr/src/lib/librump -I. -I/usr/src/lib/ librump/../../sys/rump/../../common/include -I/usr/src/lib/ librump/../../sys/rump/../arch -I/usr/src/lib/librump/../../sys/rump/ include -I/usr/src/lib/librump/../../sys/rump/librump/rumpkern/opt - nostdinc -I/usr/src/lib/librump/../../sys/rump/.. -I/usr/src/lib/ librump/../../sys/rump/librump/rumpkern -I/usr/src/lib/librump/../../ sys/rump/librump/rumpnet -I/usr/src/lib/librump/../../sys/rump/librump/ rumpvfs -I/usr/src/lib/librump/../../sys/rump/../lib/libkern/arch/ mips -I/usr/src/lib/librump/../../sys/rump/../lib/libkern/../../../ common/lib/libc/quad -I/usr/src/lib/librump/../../sys/rump/../lib/ libkern/../../../common/lib/libc/string -I/usr/src/lib/librump/../../ sys/rump/../lib/libkern/../../../common/lib/libc/arch/mips/string -I/ usr/src/lib/librump/../../sys/rump/../lib/libkern/../../../common/ include -I/usr/src/lib/librump/../../sys/rump/../../common/lib/libc/ atomic -c /usr/src/lib/librump/../../sys/rump/librump/rumpkern/ intr.c -o intr.o
cc1: warnings being treated as errors
In file included from /usr/src/lib/librump/../../sys/rump/librump/ rumpkern/rump_private.h:44, from /usr/src/lib/librump/../../sys/rump/librump/ rumpkern/intr.c:39: /usr/src/lib/librump/../../sys/rump/include/rump/rump.h:162: warning: 'struct stat' declared inside parameter list /usr/src/lib/librump/../../sys/rump/include/rump/rump.h:162: warning: its scope is only this definition or declaration, which is probably not what you want /usr/src/lib/librump/../../sys/rump/include/rump/rump.h:163: warning: 'struct stat' declared inside parameter list

*** Failed target:  intr.o
*** Failed command: /usr/src/tooldir.NetBSD-5.99.11-i386/bin/mipseb-- netbsd-gcc -O2 -ffreestanding -fno-strict-aliasing -Wno-pointer-sign - 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 -Werror -I/usr/src/lib/librump/../../sys/rump/include - D_RUMPKERNEL -D_KERNEL -DMULTIPROCESSOR -D_MODULE -DMODULAR - DMAXUSERS=32 -DDIAGNOSTIC -DCOMPAT_50 -DDEBUGPRINT -I/usr/src/lib/ librump -I. -I/usr/src/lib/librump/../../sys/rump/../../common/include -I/usr/src/lib/librump/../../sys/rump/../arch -I/usr/src/lib/ librump/../../sys/rump/include -I/usr/src/lib/librump/../../sys/rump/ librump/rumpkern/opt -nostdinc -I/usr/src/lib/librump/../../sys/ rump/.. -I/usr/src/lib/librump/../../sys/rump/librump/rumpkern -I/usr/ src/lib/librump/../../sys/rump/librump/rumpnet -I/usr/src/lib/ librump/../../sys/rump/librump/rumpvfs -I/usr/src/lib/librump/../../ sys/rump/../lib/libkern/arch/mips -I/usr/src/lib/librump/../../sys/ rump/../lib/libkern/../../../common/lib/libc/quad -I/usr/src/lib/ librump/../../sys/rump/../lib/libkern/../../../common/lib/libc/string - I/usr/src/lib/librump/../../sys/rump/../lib/libkern/../../../common/ lib/libc/arch/mips/string -I/usr/src/lib/librump/../../sys/rump/../lib/ libkern/../../../common/include -I/usr/src/lib/librump/../../sys/ rump/../../common/lib/libc/atomic -c /usr/src/lib/librump/../../sys/ rump/librump/rumpkern/intr.c -o intr.o
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/librump

*** Failed target:  dependall
*** Failed command: cd /usr/src/lib/librump; /usr/src/ tooldir.NetBSD-5.99.11-i386/bin/nbmake realall
*** Error code 1




Home | Main Index | Thread Index | Old Index