Too many filenames compiling kernel

Pierre Abbat phma at bezitopo.org
Thu Apr 11 00:05:02 PDT 2013


===> bus
===> bus/cam
===> bus/cam/cam
@ -> /usr/src/sys/bus/cam/cam/../../..
echo "#define SCSI_DELAY 15000" > opt_scsi.h
rm -f .depend
> .depend
mkdep -f .depend -a     -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -
I/usr/obj/usr/src/sys/GENERIC -I/usr/obj/usr/src/sys/GENERIC/include -
I@/../include -I/usr/obj/usr/src/world_i386/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_i386/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_i386/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_i386/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_i386/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_i386/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_i386/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_i386/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_i386/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_i386/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_i386/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_i386/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_i386/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_i386/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_i386/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_i386/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_i386/usr/include: No such file or 
directory
compilation terminated.
mkdep: compile failed
*** Error code 1

Stop.
make: stopped in /usr/src/sys/bus/cam/cam
*** Error code 1

Stop.
make: stopped in /usr/src/sys/bus/cam
*** Error code 1

Stop.
make: stopped in /usr/src/sys/bus
*** Error code 1

Stop.
make: stopped in /usr/src/sys
*** Error code 1

Stop.
make: stopped in /usr/obj/usr/src/sys/GENERIC
*** Error code 1

Stop.
make: stopped in /usr/src
.CURDIR='/usr/src'
.OBJDIR='/usr/obj/usr/src'
LD_LIBRARY_PATH=''
MACHINE_ARCH='i386'
MACHINE='i386'
MAKEFILE='/usr/src/Makefile.inc1'
.TARGETS='buildkernel'
.ERROR_TARGET='buildkernel'
.MAKE.LEVEL='1'
*** Error code 1

Stop.
make: stopped in /usr/src

I made buildworld and buildkernel; buildworld succeeded, but buildkernel 
failed with the error above. Do I have to install gcc 4.7 before compiling the 
kernel?

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