Subject: kern/30388: build.sh fails building GENERIC_LAPTOP
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <p+netbsd@2005.smokva.net>
List: netbsd-bugs
Date: 05/31/2005 22:28:01
>Number: 30388
>Category: kern
>Synopsis: build.sh fails building GENERIC_LAPTOP
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 31 22:28:00 +0000 2005
>Originator: Petar Bogdanovic
>Release: 3.99.5 (i386)
>Organization:
>Environment:
NetBSD cassius.a51.ch 3.99.5 NetBSD 3.99.5 (GENERIC_SONY) #1: Tue May 31 23:32:01 CEST 2005 root@cassius.a51.ch:/build/netbsd/i386/sys/arch/i386/compile/GENERIC_SONY i386
>Description:
It seems that something is wrong with '/sys/dev/pcmcia/esl.c'.
# compile GENERIC_LAPTOP/esl.o
/opt/tools/i386/bin/i386--netbsdelf-gcc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -fno-zero-initialized-in-bss -Di386 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf -c /usr/src/sys/dev/pcmcia/esl.c
*** Failed target: esl.o
*** Failed command: echo '# ' "compile GENERIC_LAPTOP/esl.o"; echo /opt/tools/i386/bin/i386--netbsdelf-gcc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -fno-zero-initialized-in-bss -Di386 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf -c /usr/src/sys/dev/pcmcia/esl.c; /opt/tools/i386/bin/i386--netbsdelf-gcc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -fno-zero-initialized-in-bss -Di386 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf -c /usr/src/sys/dev/pcmcia/esl.c
*** Error code 1
Stop.
nbmake: stopped in /build/netbsd/i386/sys/arch/i386/compile/GENERIC_LAPTOP
>How-To-Repeat:
Do..
./build.sh -r -O $OBJDIR -T $TOOLDIR -D $DESTDIR tools kernel=/path/to/GENERIC_LAPTOP
..with CURRENT-sources, which are older than 2005-05-31.
>Fix:
If your hardware doesn't use esl(4) or if you simply don't need your ESS audio device, you are able to build a kernel without problems if you comment out the esl-entry in GENERIC_LAPTOP.