免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2899 | 回复: 8
打印 上一主题 下一主题

compile failed 请教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-01-30 16:40 |只看该作者 |倒序浏览
free# /usr/sbin/config SAFE
Kernel build directory is ../compile/SAFE
Don't forget to do ``make cleandepend; make depend''


make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../dev/ath -I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding
../../../pci/if_rl.c:125:23: miibus_if.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/i386/compile/SAFE.



  1. #
  2. # GENERIC -- Generic kernel configuration file for FreeBSD/i386
  3. #
  4. # For more information on this file, please read the handbook section on
  5. # Kernel Configuration Files:
  6. #
  7. #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
  8. #
  9. # The handbook is also available locally in /usr/share/doc/handbook
  10. # if you've installed the doc distribution, otherwise always see the
  11. # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
  12. # latest information.
  13. #
  14. # An exhaustive list of options and more detailed explanations of the
  15. # device lines is also present in the ../../conf/NOTES and NOTES files.
  16. # If you are in doubt as to the purpose or necessity of a line, check first
  17. # in NOTES.
  18. #
  19. # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 18:41:36 simon Exp $

  20. machine         i386
  21. #cpu            I486_CPU
  22. #cpu            I586_CPU
  23. cpu             I686_CPU
  24. ident           SAFE

  25. # To statically compile in device wiring instead of /boot/device.hints
  26. #hints          "GENERIC.hints"         # Default places to look for devices.

  27. makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols

  28. options         SCHED_4BSD              # 4BSD scheduler
  29. options         PREEMPTION              # Enable kernel thread preemption
  30. options         INET                    # InterNETworking
  31. #options        INET6                   # IPv6 communications protocols
  32. options         FFS                     # Berkeley Fast Filesystem
  33. options         SOFTUPDATES             # Enable FFS soft updates support
  34. options         UFS_ACL                 # Support for access control lists
  35. options         UFS_DIRHASH             # Improve performance on big directories
  36. #options        MD_ROOT                 # MD is a potential root device
  37. #options        NFSCLIENT               # Network Filesystem Client
  38. #options        NFSSERVER               # Network Filesystem Server
  39. #options        NFS_ROOT                # NFS usable as /, requires NFSCLIENT
  40. #options        MSDOSFS                 # MSDOS Filesystem
  41. #options        CD9660                  # ISO 9660 Filesystem
  42. options         PROCFS                  # Process filesystem (requires PSEUDOFS)
  43. options         PSEUDOFS                # Pseudo-filesystem framework
  44. options         GEOM_GPT                # GUID Partition Tables.
  45. options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
  46. options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
  47. options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
  48. options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
  49. #options        KTRACE                  # ktrace(1) support
  50. options         SYSVSHM                 # SYSV-style shared memory
  51. options         SYSVMSG                 # SYSV-style message queues
  52. options         SYSVSEM                 # SYSV-style semaphores
  53. options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
  54. options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
  55. options         ADAPTIVE_GIANT          # Giant mutex is adaptive.

  56. device          apic                    # I/O APIC

  57. # Bus support.
  58. device          eisa
  59. device          pci

  60. # Floppy drives
  61. #device         fdc

  62. # ATA and ATAPI devices
  63. device          ata
  64. device          atadisk         # ATA disk drives
  65. #device         ataraid         # ATA RAID drives
  66. #device         atapicd         # ATAPI CDROM drives
  67. #device         atapifd         # ATAPI floppy drives
  68. #device         atapist         # ATAPI tape drives
  69. options         ATA_STATIC_ID   # Static device numbering

  70. # SCSI Controllers
  71. #device         ahb             # EISA AHA1742 family
  72. #device         ahc             # AHA2940 and onboard AIC7xxx devices
  73. #options        AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
  74.                                         # output.  Adds ~128k to driver.
  75. #device         ahd             # AHA39320/29320 and onboard AIC79xx devices
  76. #options        AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
  77.                                         # output.  Adds ~215k to driver.
  78. #device         amd             # AMD 53C974 (Tekram DC-390(T))
  79. #device         isp             # Qlogic family
  80. #device         ispfw           # Firmware for QLogic HBAs- normally a module
  81. #device         mpt             # LSI-Logic MPT-Fusion
  82. #device         ncr             # NCR/Symbios Logic
  83. #device         sym             # NCR/Symbios Logic (newer chipsets + those of `ncr')
  84. #device         trm             # Tekram DC395U/UW/F DC315U adapters

  85. #device         adv             # Advansys SCSI adapters
  86. #device         adw             # Advansys wide SCSI adapters
  87. #device         aha             # Adaptec 154x SCSI adapters
  88. #device         aic             # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
  89. #device         bt              # Buslogic/Mylex MultiMaster SCSI adapters

  90. #device         ncv             # NCR 53C500
  91. #device         nsp             # Workbit Ninja SCSI-3
  92. #device         stg             # TMC 18C30/18C50


  93. # SCSI peripherals
  94. #device         scbus           # SCSI bus (required for SCSI)
  95. #device         ch              # SCSI media changers
  96. #device         da              # Direct Access (disks)
  97. #device         sa              # Sequential Access (tape etc)
  98. #device         cd              # CD
  99. #device         pass            # Passthrough device (direct SCSI access)
  100. #device         ses             # SCSI Environmental Services (and SAF-TE)

  101. # RAID controllers interfaced to the SCSI subsystem
  102. #device         amr             # AMI MegaRAID
  103. #device         arcmsr          # Areca SATA II RAID
  104. #device         asr             # DPT SmartRAID V, VI and Adaptec SCSI RAID
  105. #device         ciss            # Compaq Smart RAID 5*
  106. #device         dpt             # DPT Smartcache III, IV - See NOTES for options
  107. #device         hptmv           # Highpoint RocketRAID 182x
  108. #device         rr232x          # Highpoint RocketRAID 232x
  109. #device         iir             # Intel Integrated RAID
  110. #device         ips             # IBM (Adaptec) ServeRAID
  111. #device         mly             # Mylex AcceleRAID/eXtremeRAID
  112. #device         twa             # 3ware 9000 series PATA/SATA RAID

  113. # RAID controllers
  114. #device         aac             # Adaptec FSA RAID
  115. #device         aacp            # SCSI passthrough for aac (requires CAM)
  116. #device         ida             # Compaq Smart RAID
  117. #device         mfi             # LSI MegaRAID SAS
  118. #device         mlx             # Mylex DAC960 family
  119. #device         pst             # Promise Supertrak SX6000
  120. #device         twe             # 3ware ATA RAID

  121. # atkbdc0 controls both the keyboard and the PS/2 mouse
  122. device          atkbdc          # AT keyboard controller
  123. device          atkbd           # AT keyboard
  124. device          psm             # PS/2 mouse

  125. device          kbdmux          # keyboard multiplexer

  126. device          vga             # VGA video card driver

  127. device          splash          # Splash screen and screen saver support

  128. # syscons is the default console driver, resembling an SCO console
  129. device          sc

  130. # Enable this for the pcvt (VT220 compatible) console driver
  131. #device         vt
  132. #options        XSERVER         # support for X server on a vt console
  133. #options        FAT_CURSOR      # start with block cursor

  134. device          agp             # support several AGP chipsets


  135. # Power management support (see NOTES for more options)
  136. #device         apm
  137. # Add suspend/resume support for the i8254.
  138. device          pmtimer

  139. # PCCARD (PCMCIA) support
  140. # PCMCIA and cardbus bridge support
  141. #device         cbb             # cardbus (yenta) bridge
  142. #device         pccard          # PC Card (16-bit) bus
  143. #device         cardbus         # CardBus (32-bit) bus

  144. # Serial (COM) ports
  145. #device         sio             # 8250, 16[45]50 based serial ports

  146. # Parallel port
  147. #device         ppc
  148. #device         ppbus           # Parallel port bus (required)
  149. #device         lpt             # Printer
  150. #device         plip            # TCP/IP over parallel
  151. #device         ppi             # Parallel port interface device
  152. #device         vpo             # Requires scbus and da

  153. # If you've got a "dumb" serial or parallel PCI card that is
  154. # supported by the puc(4) glue driver, uncomment the following
  155. # line to enable it (connects to the sio and/or ppc drivers):
  156. #device         puc

  157. # PCI Ethernet NICs.
  158. #device         de              # DEC/Intel DC21x4x (``Tulip'')
  159. #device         em              # Intel PRO/1000 adapter Gigabit Ethernet Card
  160. #device         ixgb            # Intel PRO/10GbE Ethernet Card
  161. #device         txp             # 3Com 3cR990 (``Typhoon'')
  162. #device         vx              # 3Com 3c590, 3c595 (``Vortex'')

  163. # PCI Ethernet NICs that use the common MII bus controller code.
  164. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
  165. #device         miibus          # MII bus support
  166. #device         bce             # Broadcom BCM5706/BCM5708 Gigabit Ethernet
  167. #device         bfe             # Broadcom BCM440x 10/100 Ethernet
  168. #device         bge             # Broadcom BCM570xx Gigabit Ethernet
  169. #device         dc              # DEC/Intel 21143 and various workalikes
  170. #device         fxp             # Intel EtherExpress PRO/100B (82557, 82558)
  171. #device         lge             # Level 1 LXT1001 gigabit Ethernet
  172. #device         nge             # NatSemi DP83820 gigabit Ethernet
  173. #device         nve             # nVidia nForce MCP on-board Ethernet Networking
  174. #device         pcn             # AMD Am79C97x PCI 10/100(precedence over 'lnc')
  175. #device         re              # RealTek 8139C+/8169/8169S/8110S
  176. device          rl              # RealTek 8129/8139
  177. #device         sf              # Adaptec AIC-6915 (``Starfire'')
  178. #device         sis             # Silicon Integrated Systems SiS 900/SiS 7016
  179. #device         sk              # SysKonnect SK-984x & SK-982x gigabit Ethernet
  180. #device         ste             # Sundance ST201 (D-Link DFE-550TX)
  181. #device         stge            # Sundance/Tamarack TC9021 gigabit Ethernet
  182. #device         ti              # Alteon Networks Tigon I/II gigabit Ethernet
  183. #device         tl              # Texas Instruments ThunderLAN
  184. #device         tx              # SMC EtherPower II (83c170 ``EPIC'')
  185. #device         vge             # VIA VT612x gigabit Ethernet
  186. #device         vr              # VIA Rhine, Rhine II
  187. #device         wb              # Winbond W89C840F
  188. #device         xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')

  189. # ISA Ethernet NICs.  pccard NICs included.
  190. #device         cs              # Crystal Semiconductor CS89x0 NIC
  191. # 'device ed' requires 'device miibus'
  192. #device         ed              # NE[12]000, SMC Ultra, 3c503, DS8390 cards
  193. #device         ex              # Intel EtherExpress Pro/10 and Pro/10+
  194. #device         ep              # Etherlink III based cards
  195. #device         fe              # Fujitsu MB8696x based cards
  196. #device         ie              # EtherExpress 8/16, 3C507, StarLAN 10 etc.
  197. #device         lnc             # NE2100, NE32-VL Lance Ethernet cards
  198. #device         sn              # SMC's 9000 series of Ethernet chips
  199. #device         xe              # Xircom pccard Ethernet

  200. # Wireless NIC cards
  201. #device         wlan            # 802.11 support
  202. #device         wlan_wep        # 802.11 WEP support
  203. #device         wlan_ccmp       # 802.11 CCMP support
  204. #device         wlan_tkip       # 802.11 TKIP support
  205. #device         an              # Aironet 4500/4800 802.11 wireless NICs.
  206. #device         ath             # Atheros pci/cardbus NIC's
  207. #device         ath_hal         # Atheros HAL (Hardware Access Layer)
  208. #device         ath_rate_sample # SampleRate tx rate control for ath
  209. #device         awi             # BayStack 660 and others
  210. #device         ral             # Ralink Technology RT2500 wireless NICs.
  211. #device         wi              # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
  212. #device         wl              # Older non 802.11 Wavelan wireless NIC.

  213. # Pseudo devices.
  214. device          loop            # Network loopback
  215. device          random          # Entropy device
  216. device          ether           # Ethernet support
  217. device          sl              # Kernel SLIP
  218. #device         ppp             # Kernel PPP
  219. device          tun             # Packet tunnel.
  220. device          pty             # Pseudo-ttys (telnet etc)
  221. device          md              # Memory "disks"
  222. #device         gif             # IPv6 and IPv4 tunneling
  223. #device         faith           # IPv6-to-IPv4 relaying (translation)

  224. # The `bpf' device enables the Berkeley Packet Filter.
  225. # Be aware of the administrative consequences of enabling this!
  226. # Note that 'bpf' is required for DHCP.
  227. device          bpf             # Berkeley packet filter

  228. # USB support

  229. device          uhci            # UHCI PCI->USB interface
  230. device          ohci            # OHCI PCI->USB interface
  231. device          ehci            # EHCI PCI->USB interface (USB 2.0)
  232. device          usb             # USB Bus (required)
  233. #device         udbp            # USB Double Bulk Pipe devices
  234. device          ugen            # Generic
  235. device          uhid            # "Human Interface Devices"
  236. device          ukbd            # Keyboard
  237. device          ulpt            # Printer
  238. device          umass           # Disks/Mass storage - Requires scbus and da
  239. device          ums             # Mouse
  240. device          ural            # Ralink Technology RT2500USB wireless NICs
  241. device          urio            # Diamond Rio 500 MP3 player
  242. device          uscanner        # Scanners
  243. # USB Ethernet, requires miibus
  244. #device         aue             # ADMtek USB Ethernet
  245. #device         axe             # ASIX Electronics USB Ethernet
  246. #device         cdce            # Generic USB over Ethernet
  247. #device         cue             # CATC USB Ethernet
  248. #device         kue             # Kawasaki LSI USB Ethernet
  249. #device         rue             # RealTek RTL8150 USB Ethernet

  250. # FireWire support
  251. device          firewire        # FireWire bus code
  252. device          sbp             # SCSI over FireWire (Requires scbus and da)
  253. device          fwe             # Ethernet over FireWire (non-standard!)
复制代码

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
2 [报告]
发表于 2007-01-30 16:43 |只看该作者
# 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!
#device         miibus          # MII bus support

论坛徽章:
0
3 [报告]
发表于 2007-01-30 16:49 |只看该作者
谢谢老大

在make depend 看看

论坛徽章:
0
4 [报告]
发表于 2007-01-30 17:13 |只看该作者
原帖由 congli 于 2007-1-30 16:43 发表
[quote]# 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!
#device         miibus          # MII bus support

[/quote]

列入常见问题表否?

--

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
5 [报告]
发表于 2007-01-30 17:23 |只看该作者
原帖由 langue 于 2007-1-30 17:13 发表



列入常见问题表否?

-- [/quote]
稍微留意一下就不会出现了吧.

论坛徽章:
0
6 [报告]
发表于 2007-01-30 17:27 |只看该作者
原帖由 congli 于 2007-1-30 17:23 发表

稍微留意一下就不会出现了吧.


呵呵,这或许又是一个哲学问题。当大多数人都无法 “稍稍留意一下” 的时候,就有必要把此类问题列入 FAQ 了。

--

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
7 [报告]
发表于 2007-01-30 17:45 |只看该作者
原帖由 langue 于 2007-1-30 17:13 发表



列入常见问题表否?

-- [/quote]
miibus_if.h: No such file or directory
这个提示应该算比较明显了

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
8 [报告]
发表于 2007-01-30 17:54 |只看该作者
原帖由 langue 于 2007-1-30 17:27 发表


呵呵,这或许又是一个哲学问题。当大多数人都无法 “稍稍留意一下” 的时候,就有必要把此类问题列入 FAQ 了。

修改内核配置文件,需要的是仔细,不看注释而盲目地动手是导致错误的主要原因.
当大多数人无法"仔细"时,也加入FAQ好了.

论坛徽章:
0
9 [报告]
发表于 2007-01-30 17:55 |只看该作者
原帖由 剑心通明 于 2007-1-30 17:45 发表

miibus_if.h: No such file or directory
这个提示应该算比较明显了

原帖由 congli 于 2007-1-30 17:54 发表

修改内核配置文件,需要的是仔细,不看注释而盲目地动手是导致错误的主要原因.
当大多数人无法"仔细"时,也加入FAQ好了.


好。

--
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP