b64a [Solved] failed when linking kernel.debug - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old March 20th, 2009, 08:19
rocky's Avatar
rocky rocky is offline
Junior Member
 
Join Date: Nov 2008
Location: Vietnam
Posts: 97
Thanks: 15
Thanked 1 Time in 1 Post
Default failed when linking kernel.debug

Hello,

I build my kernel and get the error as below. My kernel configuration (icy_kernel.txt) is attached to this post.

What's wrong to my kernel?

Thank you for replies.

Cheers,

-- rocky

Code:
linking kernel.debug
if_re.o(.text+0xb9f): In function `re_ifmedia_sts':
/usr/src/sys/dev/re/if_re.c:2678: undefined reference to `mii_pollstat'
if_re.o(.text+0xc66): In function `re_ifmedia_upd':
/usr/src/sys/dev/re/if_re.c:2659: undefined reference to `mii_mediachg'
if_re.o(.text+0x2271): In function `re_init_locked':
/usr/src/sys/dev/re/if_re.c:2635: undefined reference to `mii_mediachg'
if_re.o(.text+0x3503): In function `re_tick':
/usr/src/sys/dev/re/if_re.c:2024: undefined reference to `mii_tick'
if_re.o(.text+0x47af): In function `re_attach':
/usr/src/sys/dev/re/if_re.c:1317: undefined reference to `mii_phy_probe'
if_re.o(.data+0x478): In function `re_rxeof':
/usr/src/sys/dev/re/if_re.c:1581: undefined reference to `miibus_driver'
if_re.o(.data+0x480):/usr/src/sys/dev/re/if_re.c:1582: undefined reference to `miibus_devclass'
if_re.o(.data+0x5e0):/usr/src/sys/dev/re/if_re.c:1929: undefined reference to `miibus_readreg_desc'
if_re.o(.data+0x5f0):/usr/src/sys/dev/re/if_re.c:1929: undefined reference to `miibus_writereg_desc'
if_re.o(.data+0x600):/usr/src/sys/dev/re/if_re.c:1832: undefined reference to `miibus_statchg_desc'
*** Error code 1
Attached Files
File Type: txt icy_kernel.txt (11.9 KB, 15 views)
__________________
System: FreeBSD-7.2 (i386) on Compaq Presario CQ40-401AU
Topic: replace Ubuntu/kvm by FreeBSD/jail
Current task: build Fedora Directory Server on FreeBSD
Reply With Quote
  #2  
Old March 20th, 2009, 08:20
rocky's Avatar
rocky rocky is offline
Junior Member
 
Join Date: Nov 2008
Location: Vietnam
Posts: 97
Thanks: 15
Thanked 1 Time in 1 Post
Default

PS: Sorry, I forgot to say that I am using FreeBSD-7.1-RELEASE
__________________
System: FreeBSD-7.2 (i386) on Compaq Presario CQ40-401AU
Topic: replace Ubuntu/kvm by FreeBSD/jail
Current task: build Fedora Directory Server on FreeBSD
Reply With Quote
  #3  
Old March 20th, 2009, 08:26
ale's Avatar
ale ale is offline
Senior Member
 
Join Date: Nov 2008
Location: Roma
Posts: 1,064
Thanks: 0
Thanked 160 Times in 146 Posts
Default

Look at line 211-212:
Code:
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
Reply With Quote
  #4  
Old March 20th, 2009, 08:58
rocky's Avatar
rocky rocky is offline
Junior Member
 
Join Date: Nov 2008
Location: Vietnam
Posts: 97
Thanks: 15
Thanked 1 Time in 1 Post
Default

Thank you very much. My kernel has been built successfully
__________________
System: FreeBSD-7.2 (i386) on Compaq Presario CQ40-401AU
Topic: replace Ubuntu/kvm by FreeBSD/jail
Current task: build Fedora Directory Server on FreeBSD
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
How to build _everything_ with (usable) debug symbols Maledictus FreeBSD Development 4 March 5th, 2009 12:36
Is the cciss kernel module available in the installation kernel & other general Q's osx-addict Installing & Upgrading 2 March 2nd, 2009 18:14
what do you use to debug C/C++? graudeejs Userland Programming & Scripting 10 February 19th, 2009 22:52
ACPI autoload failed? ufonpu Installing & Upgrading 1 February 9th, 2009 18:38
SSH connection failed... rubijn Web & Network Services 9 January 19th, 2009 18:20


All times are GMT +1. The time now is 12:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0