Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Nov 2000 20:08:46 +0800
From:      Terry Dwyer <tdwyer@bigpond.com>
To:        ler@lerctr.org, obrien@FreeBSD.ORG, stable@FreeBSD.ORG
Subject:   Re: GENERIC kernel would not build
Message-ID:  <3A02AACE.1921B570@bigpond.com>

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

I'm having the same problem too.

This is the file that is the problem:

$FreeBSD: src/sys/compat/linux/linux_ioctl.c,v 1.55.2.3 2000/11/02
23:31:28 obrien Exp $

I tried this both ways:
make buildkernel KERNEL=CHARON.sld

and

cd /sys/i386/conf
config -r CHARON.sld
cd /sys/compile/CHARON.sld
make depend && make

The kernel build was failing towards the end of the make depend

../../compat/linux/linux_ioctl.c:60: linux_proto.h: No such file or
directory
mkdep: compile failed
*** Error code 1


at line 60 of: /usr/src/sys/compat/linux/linux_ioctl.c

#ifdef __alpha__
#include <linux_proto.h>
#else
#include <machine/../linux/linux_proto.h>
#endif

/* #include <linux_proto.h> */ 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

After I've commented this out I can build the kernel using
both methods above
I have not been able to boot the new kernel yet, my son is
browsing the net, so I don't know if it actually works 8-)

David, maybe you have a symlink to:
<machine/../linux/linux_proto.h> in /usr/src/sys/compat/linux 
or maybe I should have?

The contents of my /usr/src/sys/compat/linux:

drwxr-xr-x  2 root  wheel    512  3 Nov 11:24 .
drwxr-xr-x  3 root  wheel    512 31 Oct 07:55 ..
-rw-r--r--  1 root  wheel  20209  3 Nov 11:24 linux_file.c
-rw-r--r--  1 root  wheel  40183  3 Nov 19:31 linux_ioctl.c
-rw-r--r--  1 root  wheel  13757 30 Oct 18:51 linux_ioctl.h
-rw-r--r--  1 root  wheel  11912  3 Nov 11:24 linux_ipc.c
-rw-r--r--  1 root  wheel   2905  3 Nov 11:24 linux_ipc.h
-rw-r--r--  1 root  wheel   5671 30 Oct 18:51 linux_mib.c
-rw-r--r--  1 root  wheel   2011 30 Oct 18:51 linux_mib.h
-rw-r--r--  1 root  wheel  27276  3 Nov 11:24 linux_misc.c
-rw-r--r--  1 root  wheel  10270  3 Nov 11:24 linux_signal.c
-rw-r--r--  1 root  wheel   1909  3 Nov 11:24 linux_signal.h
-rw-r--r--  1 root  wheel  20727  3 Nov 11:24 linux_socket.c
-rw-r--r--  1 root  wheel  10235  3 Nov 11:24 linux_stats.c
-rw-r--r--  1 root  wheel   5131 30 Oct 18:51 linux_util.c
-rw-r--r--  1 root  wheel   3466  3 Nov 11:24 linux_util.h 

Regards,

Terry


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A02AACE.1921B570>