From owner-freebsd-multimedia Sat Apr 12 21:33:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA14913 for multimedia-outgoing; Sat, 12 Apr 1997 21:33:56 -0700 (PDT) Received: from blah (pc3.spielwiese.de [194.112.100.100]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id VAA14908 for ; Sat, 12 Apr 1997 21:33:51 -0700 (PDT) Received: from localhost by blah (5.65v3.2/1.1.10.5/16Dec96-1240AM) id AA00677; Sun, 13 Apr 1997 06:34:23 +0200 Message-Id: <3350624E.167E@rto.dec.com> Date: Sun, 13 Apr 1997 06:34:22 +0200 From: Rob Urban X-Mailer: Mozilla 3.01 (X11; I; OSF1 V4.0 alpha) Mime-Version: 1.0 To: freebsd-multimedia@freebsd.org Subject: how compile qcamdriver-1.1 lkm???? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi Folks, I'm pulling my hair out in frustration at the assumptions that get made about what other people know... I've just copied qcamdriver v1.1 and I haven't the faintest idea how to go about re-compiling a lkm. It is distributed with a hierarchy under freebsd/sys. I'm wondering if there is some mechanism under FreeBSD for compiling using a separate source hierarchy for the new files, or if I simply have to copy all the individual files into /usr/src/sys/i386/..., merge sys/i386/conf/files.i386.diff into /sys/i386/conf/files.i386, etc. ALSO, there is a sys/i386/i386/conf.c.diff.freebsd but there is no conf.c in /sys/i386/i386!! Can someone please give me the necessary info to get this driver built? Please send me a mail at urban@rto.dec.com. Rob Urban P.S., this should be in the documention! and to say "look at /usr/share/examples/lkm" is NOT NOT NOT an answer to "where can I find DOCUMENTATION for writing lkm drivers"