From owner-freebsd-net Mon May 29 9:19: 9 2000 Delivered-To: freebsd-net@freebsd.org Received: from eden.dei.uc.pt (eden.dei.uc.pt [193.137.203.230]) by hub.freebsd.org (Postfix) with ESMTP id 652CD37BC4F for ; Mon, 29 May 2000 09:18:57 -0700 (PDT) (envelope-from nunov@eden.dei.uc.pt) Received: from localhost (nunov@localhost) by eden.dei.uc.pt (8.10.1/8.10.1) with ESMTP id e4TFqCF21829; Mon, 29 May 2000 16:54:52 +0100 (WET DST) Date: Mon, 29 May 2000 16:52:11 +0100 (WET DST) From: Nuno Veiga To: freebsd-net@FreeBSD.ORG Cc: Jorge Miguel Sa Silva , Nuno Veiga Subject: FreeBSD 2.2 -> 4.0 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I have the code of an ATM driver for FreeBSD 2.2 I would like to port it to FreeBSD 4.0 What cautions should I have? When I tried to compile the code, I got a warning: "Don't #include ioctl.h in the kernel. Include xxxio.h instead." So I did it. Then an error: ... ################: MAKING DRIVER ################ #####: [1]> [install] driver (host) #####: [2]> [install] driver/FREEBSD (host) #####: [3]> [install] driver/FREEBSD/i386 (host) #####: [5]> [install] driver/FREEBSD/i386/host (host) gmake[6]: *** No rule to make target `/usr/include/machine/spl.h', needed by `_lebuscom.ldep'. Stop. gmake[5]: *** [host] Error 2 gmake[4]: *** [install] Error 2 gmake[3]: *** [install] Error 2 gmake[2]: *** [install] Error 2 gmake[1]: *** [driver] Error 2 gmake: *** [all] Error 2 Could you help me? Thank you Nuno Veiga To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message