-CURRENT: Buildkernel dies building linprocfs II
Robert Huff
roberthuff at rcn.com
Mon Apr 26 23:01:11 PDT 2004
Kris Kennaway writes:
> I've answered variants of this question ("Help! I changed my
> kernel configuration and now it does not build!") twice in the
> past 24 hours. Please check the archives so I don't have to
> retype a third time.
Going back through Friday, the only applicable thread seems to
be "can't build kernel with FAST_IPSEC R5.2.1", where you advise:
This almost always means you have omitted something from your
kernel config. Go back and compare it to GENERIC, and pay
careful attention to the comments that tell you which other
systems are required to support a given system.
Rechecked Generic (all of it); rechecked NOTES (ditto); only
relevant bit (in NOTES) says:
# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
# and PSEUDOFS)
options LINPROCFS
From my kernel config:
options COMPAT_LINUX
options LINPROCFS
options PSEUDOFS
and still:
linking kernel.debug
linprocfs.o: In function `linprocfs_init':
/usr/src/sys/compat/linprocfs/linprocfs.c:1013: undefined reference to `procfs_docurproc'
/usr/src/sys/compat/linprocfs/linprocfs.c:1035: undefined reference to `procfs_notsystem'
/usr/src/sys/compat/linprocfs/linprocfs.c:1035: undefined reference to `procfs_doprocfile'
/usr/src/sys/compat/linprocfs/linprocfs.c:1039: undefined reference to `procfs_candebug'
/usr/src/sys/compat/linprocfs/linprocfs.c:1039: undefined reference to `procfs_attr'
/usr/src/sys/compat/linprocfs/linprocfs.c:1039: undefined reference to `procfs_doprocmem'
*** Error code 1
Robert Huff
More information about the freebsd-questions
mailing list