Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2000 13:44:49 +0100 (CET)
From:      Harti Brandt <brandt@fokus.gmd.de>
To:        current@freebsd.org
Subject:   Current kernel fails to compile
Message-ID:  <Pine.BSF.4.21.0011101338221.346-100000@beagle.fokus.gmd.de>

next in thread | raw e-mail | index | archive | help

Hello,


The following commit seems to break kernel compiles on i386 because the
removed header files cannot be found when the modules are build:



marcel      2000/11/08 23:27:56 PST

  Modified files:
    sys/compat/linux     linux_file.c linux_ioctl.c linux_ipc.c 
                         linux_misc.c linux_signal.c 
                         linux_socket.c linux_stats.c 
    sys/i386/linux       linux.h linux_dummy.c linux_locore.s 
                         linux_machdep.c linux_sysvec.c 
                         syscalls.master 
  Removed files:
    sys/i386/linux       linux_proto.h linux_syscall.h 
                         linux_sysent.c 
  Log:
  Sync with Alpha:
  Do not use sysent.c, proto.h and syscall.h in source tree;
  use auto-generated versions.


This happens when I build in sys/compile and when I build via
'make buildkernel'. With a fresh cvs updated source I get:

Script started on Fri Nov 10 13:41:16 2000
501 [root] (beagle) sys/compile/BEAGLE # make depend
rm -f param.c
cp ../../conf/param.c .


[SNIP]

===> aac
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
perl @/kern/makeobjops.pl -h @/kern/device_if.m
perl @/kern/makeobjops.pl -h @/kern/bus_if.m
perl @/kern/makeobjops.pl -h @/pci/pci_if.m
rm -f .depend
mkdep -f .depend -a   -nostdinc -DAAC_COMPAT_LINUX -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../include -I/usr/include  /usr/src/sys/modules/aac/../../dev/aac/aac.c /usr/src/sys/modules/aac/../../dev/aac/aac_pci.c /usr/src/sys/modules/aac/../../dev/aac/aac_disk.c
In file included from /usr/src/sys/modules/aac/../../dev/aac/aac.c:1830:
machine/../linux/linux.h:36: linux_syscall.h: No such file or directory
/usr/src/sys/modules/aac/../../dev/aac/aac.c:1831: machine/../linux/linux_proto.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/modules/aac.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/compile/BEAGLE.
502 [root] (beagle) sys/compile/BEAGLE # exit
exit

Script done on Fri Nov 10 13:42:17 2000
  

--
harti brandt,
http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private
              brandt@fokus.gmd.de, harti@begemot.org, lhbrandt@mail.ru



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011101338221.346-100000>