Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

changing "files" to fix Re: kernel w/ PUFFS compile error

On Mon, Mar 14, 2011 at 12:19:36PM -0500, Eric Haszlakiewicz wrote:
> I just tried to compile a kernel with PUFFS enabled, but I got errors like:
> puffs_msgif.o: In function `puffs_msg_enqueue':
> /space/netbsd/src-current/sys/fs/puffs/puffs_msgif.c:432: undefined reference 
> to `putter_notify'
> Is PUFFS missing a dependency somewhere?

Well, to answer my own question (sort of) I fixed this by changing:
diff -u -r1.1004 files
--- files       6 Mar 2011 17:08:35 -0000       1.1004
+++ files       15 Mar 2011 02:29:50 -0000
@@ -1343,7 +1343,7 @@
 # pass-to-userspace transporter
 defpseudo putter
-file   dev/putter/putter.c             putter
+file   dev/putter/putter.c             putter | puffs
 # userspace block/char device drivers
 defpseudo pud

but I notice that putter is supposed to be a pseudo-device.  Is simply
including the file through "files" be enough to get things working, or would
something extra be needed?
The kernel compiled, so I'm about to try booting it in a few minutes.


Home | Main Index | Thread Index | Old Index