make buildkernel fails: too many files
Pierre Abbat
phma at bezitopo.org
Sat Nov 30 21:42:28 PST 2013
I'm trying to make the kernel and I get this:
===> bus
--- _SUBDIR_depend_cam ---
===> bus/cam
===> bus/cam/cam
--- @ ---
@ -> /usr/src/sys/bus/cam/cam/../../..
--- opt_scsi.h ---
echo "#define SCSI_DELAY 15000" > opt_scsi.h
--- .depend ---
rm -f .depend
> .depend
mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -
I/usr/obj/usr/src/sys/X86_64_GENERIC -
I/usr/obj/usr/src/sys/X86_64_GENERIC/include -I@/../include -
I/usr/obj/usr/src/world_x86_64/usr/include -std=c99 -std=gnu99 -std=c99
/usr/src/sys/bus/cam/cam/../cam.c /usr/src/sys/bus/cam/cam/../cam_periph.c
/usr/src/sys/bus/cam/cam/../cam_queue.c /usr/src/sys/bus/cam/cam/../cam_sim.c
/usr/src/sys/bus/cam/cam/../cam_xpt.c /usr/src/sys/bus/cam/cam/../cam_extend.c
/usr/src/sys/bus/cam/cam/../scsi/scsi_all.c
/usr/src/sys/bus/cam/cam/../scsi/scsi_cd.c
/usr/src/sys/bus/cam/cam/../scsi/scsi_ch.c
/usr/src/sys/bus/cam/cam/../scsi/scsi_da.c
/usr/src/sys/bus/cam/cam/../scsi/scsi_pass.c
/usr/src/sys/bus/cam/cam/../scsi/scsi_pt.c
/usr/src/sys/bus/cam/cam/../scsi/scsi_sa.c
/usr/src/sys/bus/cam/cam/../scsi/scsi_ses.c
/usr/src/sys/bus/cam/cam/../scsi/scsi_targ_bh.c
/usr/src/sys/bus/cam/cam/../scsi/scsi_target.c
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
mkdep: compile failed
*** [.depend] Error code 1 (ignored)
===> bus/cam/scsi
--- @ ---
@ -> /usr/src/sys/bus/cam/scsi/../../..
--- .depend ---
rm -f .depend
> .depend
mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -
I/usr/obj/usr/src/sys/X86_64_GENERIC -
I/usr/obj/usr/src/sys/X86_64_GENERIC/include -I@/../include -
I/usr/obj/usr/src/world_x86_64/usr/include -std=c99 -std=gnu99 -std=c99
/usr/src/sys/bus/cam/scsi/scsi_low.c /usr/src/sys/bus/cam/scsi/scsi_low_pisa.c
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
mkdep: compile failed
*** [.depend] Error code 1 (ignored)
--- _SUBDIR_depend_firewire ---
===> bus/firewire
@ -> /usr/src/sys/bus/firewire/../..
rm -f .depend
> .depend
mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -
I/usr/obj/usr/src/sys/X86_64_GENERIC -
I/usr/obj/usr/src/sys/X86_64_GENERIC/include -I@/../include -
I/usr/obj/usr/src/world_x86_64/usr/include -std=c99 -std=gnu99 -std=c99
/usr/src/sys/bus/firewire/firewire.c /usr/src/sys/bus/firewire/fwohci.c
/usr/src/sys/bus/firewire/fwohci_pci.c /usr/src/sys/bus/firewire/fwcrom.c
/usr/src/sys/bus/firewire/fwdev.c /usr/src/sys/bus/firewire/fwmem.c
/usr/src/sys/bus/firewire/fwdma.c
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or
directory
compilation terminated.
mkdep: compile failed
*** Error code 1
Stop.
make[3]: stopped in /usr/src/sys/bus/firewire
*** [_SUBDIR_depend_firewire] Error code 1
make[2]: stopped in /usr/src/sys/bus
1 error
make[2]: stopped in /usr/src/sys/bus
*** Error code 2
Stop.
make[1]: stopped in /usr/src/sys
*** [modules-depend] Error code 1
make: stopped in /usr/obj/usr/src/sys/X86_64_GENERIC
--- kernel-depend ---
make -V SFILES -V SYSTEM_SFILES | xargs env MKDEP_CPP="cc -E" mkdep -a -f
.newdep -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -
Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -
Winline -Wcast-qual -Wold-style-definition -Wold-style-declaration -Wno-inline
-Wno-pointer-sign -std=c99 -Wno-unused-but-set-variable -g -nostdinc -I. -
Iinclude -I/usr/src/sys -I/usr/src/sys/../include -
I/usr/obj/usr/src/sys/X86_64_GENERIC -I"/usr/src/sys/dev/acpica" -
I"/usr/src/sys/contrib/dev/acpica-unix/include" -
I/usr/src/sys/dev/netif/ath/hal -I/usr/src/sys/dev/netif/ath/hal/ath_hal -
I/usr/src/sys/dev/drm/include -D_KERNEL -include opt_global.h -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -
fno-common -ffreestanding -mpreferred-stack-boundary=4 -fno-stack-protector -
mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-
sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-
sse5 -mno-abm -mno-aes -mno-avx -mno-pclmul -mno-popcnt -mno-avx2 -mno-
fsgsbase -mno-rdrnd -mno-f16c -mno-fma -mno-fma4 -mno-bmi -mno-bmi2 -mno-xop -
mno-lwp -mno-lzcnt -mno-tbm -msoft-float -fno-asynchronous-unwind-tables -fno-
omit-frame-pointer
rm -f .depend
mv -f .newdep .depend
1 error
make: stopped in /usr/obj/usr/src/sys/X86_64_GENERIC
*** [buildkernel] Error code 2
make: stopped in /usr/src
.CURDIR='/usr/src'
.OBJDIR='/usr/obj/usr/src'
LD_LIBRARY_PATH=''
MACHINE_ARCH='x86_64'
MACHINE='x86_64'
MAKEFILE='/usr/src/Makefile.inc1'
.TARGETS='buildkernel'
.ERROR_TARGET='buildkernel'
.MAKE.LEVEL='1'
1 error
make: stopped in /usr/src
.CURDIR='/usr/src'
.OBJDIR='/usr/obj/usr/src'
LD_LIBRARY_PATH=''
MACHINE_ARCH='x86_64'
MACHINE='x86_64'
MAKEFILE='/usr/src/Makefile.inc1'
.TARGETS='buildkernel'
.ERROR_TARGET='buildkernel'
.MAKE.LEVEL='1'
*** [buildkernel] Error code 2
make: stopped in /usr/src
1 error
make: stopped in /usr/src
This is a freshly checked out tree two days ago. Building world succeeded. How
do I fix it?
Pierre
--
When a barnacle settles down, its brain disintegrates.
Já não percebe nada, já não percebe nada.
More information about the Users
mailing list