Bug 32592

Summary: procfs broken during kernel linking
Product: Base System Reporter: Beech Rintoul <akbeech>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Beech Rintoul 2001-12-08 00:40:01 UTC
Get the following error while linking kernel:

linking kernel
procfs.o: In function `procfs_init':
procfs.o(.text+0x190): undefined reference to `pfs_create_link'
procfs.o(.text+0x1a4): undefined reference to `pfs_create_dir'
procfs.o(.text+0x1bf): undefined reference to `pfs_create_file'
procfs.o(.text+0x1d8): undefined reference to `pfs_create_file'
procfs.o(.text+0x1f7): undefined reference to `pfs_create_file'
procfs.o(.text+0x20d): undefined reference to `pfs_create_file'
procfs.o(.text+0x22c): undefined reference to `pfs_create_file'
procfs.o(.text+0x245): more undefined references to `pfs_create_file' follow
procfs.o: In function `procfs_init':
procfs.o(.text+0x306): undefined reference to `pfs_create_link'
procfs.o: In function `_procfs_mount':
procfs.o(.text+0x334): undefined reference to `pfs_mount'
procfs.o: In function `_procfs_init':
procfs.o(.text+0x348): undefined reference to `pfs_init'
procfs.o: In function `_procfs_uninit':
procfs.o(.text+0x35c): undefined reference to `pfs_uninit'
procfs.o(.data+0x68): undefined reference to `pfs_unmount'
procfs.o(.data+0x6c): undefined reference to `pfs_root'
procfs.o(.data+0x74): undefined reference to `pfs_statfs'
*** Error code 1

How-To-Repeat: recompile
Comment 1 Maxim Konovalov 2001-12-08 08:35:20 UTC
Hello,

Do you have "options PSEUDOFS" in your kernel config file?

-- 
Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer
phone: +7 (095) 796-9079, mailto: maxim@macomnet.ru
Comment 2 Crist J. Clark freebsd_committer freebsd_triage 2001-12-08 09:22:44 UTC
State Changed
From-To: open->closed

Please read UPDATING (hint: PSEUDOFS) and try 
freebsd-current@freebsd.org with questions and problems before 
submitting PRs on build{world,kernel} failures.
Comment 3 Beech Rintoul 2001-12-08 10:05:19 UTC
On Friday 07 December 2001 11:35 pm, Maxim Konovalov wrote:
> Hello,
>
> Do you have "options PSEUDOFS" in your kernel config file?

I do now. Thanks, should have done a diff with generic.

Beech

-------------------------------------------------------------------
     Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org
/"\   ASCII Ribbon Campaign  | Anchorage Gospel Rescue Mission
\ / - NO HTML/RTF in e-mail  | P.O. Box 230510
 X  - NO Word docs in e-mail | Anchorage, AK 99523-0510
/ \ -----------------------------------------------------------------