Date: Wed, 17 Dec 1997 12:01:10 +0100 (MET) From: Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE> To: perhaps@yes.no (Eivind Eklund) Cc: current@FreeBSD.ORG Subject: Re: Heads up / Compile problems in lkms : Fixed Message-ID: <199712171101.MAA01556@rvc1.informatik.ba-stuttgart.de> In-Reply-To: <86ra7caj1j.fsf@bitbox.follo.net> from Eivind Eklund at "Dec 17, 97 01:51:36 am"
next in thread | previous in thread | raw e-mail | index | archive | help
>
> For those that have had problems compiling the lkms the last 24 hours
> due to missing opt_ipx.h and opt_compat.h files - this has now been
> fixed.
Hmm, possibly I missed the commit message that fixed the opt_compat.h
problem, anyway here are patches that I needed to apply to do a "make depend"
in /usr/src/lkm:
I didn't commit them, because I am not sure they are needed. (I didn't
run a full blown "make world", because of time constraints.)
The patches are relative to the lkm directory.
Wolfgang
Index: ibcs2/Makefile
===================================================================
RCS file: /usr/cvsroot/src/lkm/ibcs2/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile 1997/02/22 12:47:56 1.13
+++ Makefile 1997/12/17 09:55:10
@@ -6,12 +6,16 @@
ibcs2_fcntl.c ibcs2_signal.c ibcs2_sysent.c ibcs2_ioctl.c \
ibcs2_socksys.c ibcs2_util.c ibcs2_xenix.c ibcs2_xenix_sysent.c \
ibcs2_isc.c ibcs2_isc_sysent.c \
- ibcs2_msg.c ibcs2_other.c ibcs2_sysi86.c ibcs2_sysvec.c vnode_if.h
+ ibcs2_msg.c ibcs2_other.c ibcs2_sysi86.c ibcs2_sysvec.c opt_compat.h \
+ vnode_if.h
MAN8= ibcs2.8
CFLAGS+= -DLKM -I. -DCOMPAT_IBCS2
-CLEANFILES+= vnode_if.h vnode_if.c
+CLEANFILES+= opt_compat.h vnode_if.c vnode_if.h
EXPORT_SYMS= _ibcs2_mod _ibcs2_emul_path _ibcs2_svr3_sysvec
+
+opt_compat.h:
+ touch opt_compat.h
afterinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
Index: nfs/Makefile
===================================================================
RCS file: /usr/cvsroot/src/lkm/nfs/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 1997/02/22 12:48:40 1.3
+++ Makefile 1997/12/17 10:01:26
@@ -3,9 +3,15 @@
.PATH: ${.CURDIR}/../../sys/nfs
KMOD= nfs_mod
SRCS= nfs_bio.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c \
- nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c nfs_vnops.c
+ nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c nfs_vnops.c \
+ opt_compat.h
NOMAN=
VFS_LKM=
CFLAGS+= -DNFS -DINET
+
+CLEANFILES+= opt_compat.h
+
+opt_compat.h:
+ touch opt_compat.h
.include <bsd.kmod.mk>
Index: portal/Makefile
===================================================================
RCS file: /usr/cvsroot/src/lkm/portal/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 1997/02/22 12:48:47 1.3
+++ Makefile 1997/12/17 10:07:29
@@ -2,9 +2,14 @@
.PATH: ${.CURDIR}/../../sys/miscfs/portal
KMOD= portal_mod
-SRCS= portal_vfsops.c portal_vnops.c
+SRCS= opt_compat.h portal_vfsops.c portal_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DPORTAL
+
+CLEANFILES+= opt_compat.h
+
+opt_compat.h:
+ touch opt_compat.h
.include <bsd.kmod.mk>
Index: qcam/Makefile
===================================================================
RCS file: /usr/cvsroot/src/lkm/qcam/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 1997/02/22 12:48:52 1.6
+++ Makefile 1997/12/17 10:13:37
@@ -2,11 +2,14 @@
.PATH: ${.CURDIR}/../../sys/i386/isa
KMOD = qcam_mod
-SRCS = qcam.c qcamio.c qcam.h
+SRCS = opt_compat.h qcam.c qcamio.c qcam.h
MAN8 = qcam.8
CFLAGS += -I. -DQCAM_MODULE
-CLEANFILES += qcam.h
+CLEANFILES += opt_compat.h qcam.h
+
+opt_compat.h:
+ touch opt_compat.h
qcam.h:
echo "#define NQCAM 1" > qcam.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712171101.MAA01556>
