DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th May 2008
phatfish phatfish is offline
New User
 
Join Date: May 2008
Location: United Kingdom
Posts: 5
Thanked 0 Times in 0 Posts
Default Missing header file(s) in source tree

Hello all,

Im getting this error when i do "make buildkernel":

/usr/src/sys/dev/re/if_re.c:156:23: error: miibus_if.h: No such file or directory
mkdep: compile failed
*** Error code 1

This is the supfile i used to grab the sources, i dont know how im missing files...

Code:
*default host=cvsup.uk.FreeBSD.org
*default prefix=/usr
*default base=/var/db
*default tag=RELENG_7
*default release=cvs delete use-rel-suffix compress

cvsroot-all
src-all
I have a feeling its more than just that file in particular, previously i had a few modules enabled and make complained about missing module dirs.

Thanks
Reply With Quote
  #2   (View Single Post)  
Old 4th May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

do you have "device miibus" enabled in your kernel config file?
Reply With Quote
  #3   (View Single Post)  
Old 4th May 2008
phatfish phatfish is offline
New User
 
Join Date: May 2008
Location: United Kingdom
Posts: 5
Thanked 0 Times in 0 Posts
Default

No it was commented out. And shouldn't have been, missed that one, thanks.

It got a lot further this time, then i got:

Code:
/usr/src/sys/dev/usb/udbp.c:440: undefined reference to `ng_parse_struct_type'
udbp.o(.rodata+0xa8):/usr/src/sys/dev/usb/udbp.c:459: undefined reference to `ng_parse_int32_type'
udbp.o(.rodata+0xc0):/usr/src/sys/dev/usb/udbp.c:463: undefined reference to `ng_parse_int32_type'
*** Error code 1
I didn't have this much trouble when i build a kernel on my old system. Are these errors symptoms of a bad kernel config?

Last edited by phatfish; 4th May 2008 at 06:48 PM.
Reply With Quote
  #4   (View Single Post)  
Old 4th May 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Thanked 16 Times in 14 Posts
Default

If memory serves me correctly, by using RELENG_7 you're tracking the -STABLE branch (which the name can be a bit misleading as -STABLE isn't alwasy stable). Perhaps it was an error that has been corrected and you can csup again.

If you want to track sercurity updates only, use RELENG_7_0.
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
  #5   (View Single Post)  
Old 4th May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

do you have the file /sys/netgraph/ng_parse.h ?
Reply With Quote
  #6   (View Single Post)  
Old 4th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,068
Thanked 198 Times in 156 Posts
Default

Post your kernel configuration file.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #7   (View Single Post)  
Old 4th May 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Thanked 16 Times in 14 Posts
Default

Yep, on RELENG_7_0 I have /usr/src/sys/netgraph/ng_parse.h

Disclaimer: I haven't csup'ed my src in a while...

[ajgraves@cd-ajg-u-vm-1 /usr/src/sys/netgraph]$ uname -r
7.0-RELEASE-p1
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
  #8   (View Single Post)  
Old 4th May 2008
phatfish phatfish is offline
New User
 
Join Date: May 2008
Location: United Kingdom
Posts: 5
Thanked 0 Times in 0 Posts
Default

I was tracking the wrong branch as cajunman4life said. I put RELENG_7 by mistake, i did mean 7_0 Kernel built fine when i changed that. All my fault.

Thanks for the help everyone.
Reply With Quote
  #9   (View Single Post)  
Old 4th May 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Thanked 16 Times in 14 Posts
Default

Glad we helped
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is the source tree frozen until Nov 1st? lionsong OpenBSD General 6 7th October 2009 07:22 PM
Apache: problem with rewritten content-type header Malakim General software and network 2 3rd December 2008 07:51 PM
(Net|Open)BSD Make: implicit C header dependencies taylor_venable Programming 3 25th November 2008 10:32 AM
download specific file from freebsd source kasse FreeBSD General 2 9th November 2008 11:13 AM
Java 1.6 install missing file maxrussell FreeBSD Ports and Packages 4 30th September 2008 07:25 PM


All times are GMT. The time now is 08:11 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick