Date: Tue, 20 Sep 2005 20:31:40 +0200 From: Alexandru Gabor <alexandru.gabor@gmail.com> To: freebsd-questions@freebsd.org Subject: where are the missing libraries from the kernel source code Message-ID: <b5a15bea05092011311fdab533@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I try to compile my system (make buildworld) for a kernel recompilation after cvsup'ing the 5.3 stable sources (using src all option in stable-supfile) and, after about 20 min I get this error: ------------------------------------------ ib/file/Magdir/mips > magic cc -DHAVE_CONFIG_H -DCOMPILE_ONLY -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file -o mkmagic /usr/src/lib/libmagic/../../contrib/file/apprentice.c /usr/src/lib/libmagic/../../contrib/file/funcs.c /usr/src/lib/libmagic/../../contrib/file/magic.c /usr/src/lib/libmagic/../../contrib/file/print.c /usr/obj/usr/src/i386/usr/bin/ld: cannot find -lc *** Error code 1 Stop in /usr/src/lib/libmagic. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ----------------------------------- I checked this file/directory but, surprise-surprise, there is no such directory. Just to be sure I'll add the KERNCONF file to the mail: ----------------------------------- # # HOSSU -- kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig= -config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/HOSSU,v 1.413.2.6.2.2 2004/10/24 18:02:52 scottl Exp $ machine=09=09i386 #cpu=09=09I486_CPU #cpu=09=09I586_CPU cpu=09=09I686_CPU Iwdent=09=09HOSSU # To statically compile in device wiring instead of /boot/device.hints #hints=09=09"GENERIC.hints"=09=09# Default places to look for devices. options =09SCHED_4BSD=09=09# 4BSD scheduler options =09INET=09=09=09# InterNETworking options =09INET6=09=09=09# IPv6 communications protocols options=09=09IPFILTER options=09=09IPFILTER_LOG options=09=09IPFILTER_DEFAULT_BLOCK options =09FFS=09=09=09# Berkeley Fast Filesystem options =09SOFTUPDATES=09=09# Enable FFS soft updates support options =09UFS_ACL=09=09=09# Support for access control lists options =09UFS_DIRHASH=09=09# Improve performance on big directories options =09MD_ROOT=09=09=09# MD is a potential root device options =09NFSCLIENT=09=09# Network Filesystem Client options =09NFSSERVER=09=09# Network Filesystem Server options =09NFS_ROOT=09=09# NFS usable as /, requires NFSCLIENT options =09MSDOSFS=09=09=09# MSDOS Filesystem options =09CD9660=09=09=09# ISO 9660 Filesystem options =09PROCFS=09=09=09# Process filesystem (requires PSEUDOFS) options =09PSEUDOFS=09=09# Pseudo-filesystem framework options=09=09CPU_FASTER_5X86_FPU options=09=09CPU_SUSP_HLT options =09GEOM_GPT=09=09# GUID Partition Tables. options =09COMPAT_43=09=09# Compatible with BSD 4.3 [KEEP THIS!] options =09COMPAT_FREEBSD4=09=09# Compatible with FreeBSD4 #options =09SCSI_DELAY=3D15000=09# Delay (in ms) before probing SCSI options =09KTRACE=09=09=09# ktrace(1) support options =09SYSVSHM=09=09=09# SYSV-style shared memory options =09SYSVMSG=09=09=09# SYSV-style message queues options =09SYSVSEM=09=09=09# SYSV-style semaphores options =09_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extension= s options =09KBD_INSTALL_CDEV=09# install a CDEV entry in /dev options =09AHC_REG_PRETTY_PRINT=09# Print register bitfields in debug =09=09=09=09=09# output. Adds ~128k to driver. options =09AHD_REG_PRETTY_PRINT=09# Print register bitfields in debug =09=09=09=09=09# output. Adds ~215k to driver. options =09ADAPTIVE_GIANT=09=09# Giant mutex is adaptive. device=09=09apic=09=09# I/O APIC # Bus support. Do not remove isa, even if you have no isa slots device=09=09isa #device=09=09eisa device=09=09pci # Floppy drives #Device=09=09fdc # ATA and ATAPI devices device=09=09ata device=09=09atadisk=09=09# ATA disk drives #device=09=09ataraid=09=09# ATA RAID drives device=09=09atapicd=09=09# ATAPI CDROM drives #device=09=09atapifd=09=09# ATAPI floppy drives #device=09=09atapist=09=09# ATAPI tape drives options =09ATA_STATIC_ID=09# Static device numbering # SCSI Controllers #device=09=09ahb=09=09# EISA AHA1742 family #device=09=09ahc=09=09# AHA2940 and onboard AIC7xxx devices #device=09=09ahd=09=09# AHA39320/29320 and onboard AIC79xx devices #device=09=09amd=09=09# AMD 53C974 (Tekram DC-390(T)) #device=09=09isp=09=09# Qlogic family #device=09=09mpt=09=09# LSI-Logic MPT-Fusion #device=09=09ncr=09=09# NCR/Symbios Logic #device=09=09sym=09=09# NCR/Symbios Logic (newer chipsets + those of `ncr') #device=09=09trm=09=09# Tekram DC395U/UW/F DC315U adapters #device=09=09adv=09=09# Advansys SCSI adapters #device=09=09adw=09=09# Advansys wide SCSI adapters #device=09=09aha=09=09# Adaptec 154x SCSI adapters #device=09=09aic=09=09# Adaptec 15[012]x SCSI adapters, AIC-6[23]60. #device=09=09bt=09=09# Buslogic/Mylex MultiMaster SCSI adapters #device=09=09ncv=09=09# NCR 53C500 #device=09=09nsp=09=09# Workbit Ninja SCSI-3 #device=09=09stg=09=09# TMC 18C30/18C50 # SCSI peripherals #device=09=09scbus=09=09# SCSI bus (required for SCSI) #device=09=09ch=09=09# SCSI media changers #device=09=09da=09=09# Direct Access (disks) #device=09=09sa=09=09# Sequential Access (tape etc) #device=09=09cd=09=09# CD #device=09=09pass=09=09# Passthrough device (direct SCSI access) #device=09=09ses=09=09# SCSI Environmental Services (and SAF-TE) # RAID controllers interfaced to the SCSI subsystem #device=09=09amr=09=09# AMI MegaRAID #device=09=09asr=09=09# DPT SmartRAID V, VI and Adaptec SCSI RAID #device=09=09ciss=09=09# Compaq Smart RAID 5* #device=09=09dpt=09=09# DPT Smartcache III, IV - See NOTES for options #device=09=09hptmv=09=09# Highpoint RocketRAID 182x #device=09=09iir=09=09# Intel Integrated RAID #device=09=09ips=09=09# IBM (Adaptec) ServeRAID #device=09=09mly=09=09# Mylex AcceleRAID/eXtremeRAID #device=09=09twa=09=09# 3ware 9000 series PATA/SATA RAID # RAID controllers #device=09=09aac=09=09# Adaptec FSA RAID #device=09=09aacp=09=09# SCSI passthrough for aac (requires CAM) #device=09=09ida=09=09# Compaq Smart RAID #device=09=09mlx=09=09# Mylex DAC960 family #device=09=09pst=09=09# Promise Supertrak SX6000 #device=09=09twe=09=09# 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device=09=09atkbdc=09=09# AT keyboard controller device=09=09atkbd=09=09# AT keyboard device=09=09psm=09=09# PS/2 mouse device=09=09vga=09=09# VGA video card driver options=09=09VESA=09 device=09=09splash=09=09# Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device=09=09sc options=09SC_PIXEL_MODE # Enable this for the pcvt (VT220 compatible) console driver #device=09=09vt #options =09XSERVER=09=09# support for X server on a vt console #options =09FAT_CURSOR=09# start with block cursor device=09=09agp=09=09# support several AGP chipsets device=09=09mgadrm # Floating point support - do not disable. device=09=09npx # Power management support (see NOTES for more options) #device=09=09apm # Add suspend/resume support for the i8254. device=09=09pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support #device=09=09cbb=09=09# cardbus (yenta) bridge #Device=09=09pccard=09=09# PC Card (16-bit) bus #device=09=09cardbus=09=09# CardBus (32-bit) bus # Serial (COM) ports device=09=09sio=09=09# 8250, 16[45]50 based serial ports # Parallel port #device=09=09ppc #device=09=09ppbus=09=09# Parallel port bus (required) #device=09=09lpt=09=09# Printer #device=09=09plip=09=09# TCP/IP over parallel #device=09=09ppi=09=09# Parallel port interface device #device=09=09vpo=09=09# Requires scbus and da # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to the sio and/or ppc drivers): #device puc # PCI Ethernet NICs. #device=09=09de=09=09# DEC/Intel DC21x4x (``Tulip'') #device=09=09em=09=09# Intel PRO/1000 adapter Gigabit Ethernet Card #device=09=09ixgb=09=09# Intel PRO/10GbE Ethernet Card #device=09=09txp=09=09# 3Com 3cR990 (``Typhoon'') #device=09=09vx=09=09# 3Com 3c590, 3c595 (``Vortex'') # 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=09=09miibus=09=09# MII bus support #device=09=09bfe=09=09# Broadcom BCM440x 10/100 Ethernet #device=09=09bge=09=09# Broadcom BCM570xx Gigabit Ethernet #device=09=09dc=09=09# DEC/Intel 21143 and various workalikes device=09=09fxp=09=09# Intel EtherExpress PRO/100B (82557, 82558) #device=09=09lge=09=09# Level 1 LXT1001 gigabit ethernet #device=09=09nge=09=09# NatSemi DP83820 gigabit ethernet #device=09=09pcn=09=09# AMD Am79C97x PCI 10/100 (precedence over 'lnc') #device=09=09re=09=09# RealTek 8139C+/8169/8169S/8110S device=09=09rl=09=09# RealTek 8129/8139 #device=09=09sf=09=09# Adaptec AIC-6915 (``Starfire'') #device=09=09sis=09=09# Silicon Integrated Systems SiS 900/SiS 7016 #device=09=09sk=09=09# SysKonnect SK-984x & SK-982x gigabit Ethernet #device=09=09ste=09=09# Sundance ST201 (D-Link DFE-550TX) #device=09=09ti=09=09# Alteon Networks Tigon I/II gigabit Ethernet #device=09=09tl=09=09# Texas Instruments ThunderLAN device=09=09tx=09=09# SMC EtherPower II (83c170 ``EPIC'') #device=09=09vge=09=09# VIA VT612x gigabit ethernet #device=09=09vr=09=09# VIA Rhine, Rhine II #device=09=09wb=09=09# Winbond W89C840F #device=09=09xl=09=09# 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. pccard NICs included. #device=09=09cs=09=09# Crystal Semiconductor CS89x0 NIC # 'device ed' requires 'device miibus' #device=09=09ed=09=09# NE[12]000, SMC Ultra, 3c503, DS8390 cards #device=09=09ex=09=09# Intel EtherExpress Pro/10 and Pro/10+ #device=09=09ep=09=09# Etherlink III based cards #device=09=09fe=09=09# Fujitsu MB8696x based cards #device=09=09ie=09=09# EtherExpress 8/16, 3C507, StarLAN 10 etc. #device=09=09lnc=09=09# NE2100, NE32-VL Lance Ethernet cards #device=09=09sn=09=09# SMC's 9000 series of Ethernet chips #device=09=09xe=09=09# Xircom pccard Ethernet # ISA devices that use the old ISA shims #device=09=09le # Wireless NIC cards #device=09=09wlan=09=09# 802.11 support #device=09=09an=09=09# Aironet 4500/4800 802.11 wireless NICs. #device=09=09awi=09=09# BayStack 660 and others #device=09=09wi=09=09# WaveLAN/Intersil/Symbol 802.11 wireless NICs. #device=09=09wl=09=09# Older non 802.11 Wavelan wireless NIC. # Pseudo devices. device=09=09loop=09=09# Network loopback device=09=09mem=09=09# Memory and kernel memory devices device=09=09io=09=09# I/O device device=09=09random=09=09# Entropy device device=09=09ether=09=09# Ethernet support device=09=09sl=09=09# Kernel SLIP device=09=09ppp=09=09# Kernel PPP device=09=09tun=09=09# Packet tunnel. device=09=09pty=09=09# Pseudo-ttys (telnet etc) device=09=09md=09=09# Memory "disks" device=09=09gif=09=09# IPv6 and IPv4 tunneling device=09=09faith=09=09# IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device=09=09bpf=09=09# Berkeley packet filter # USB support #device=09=09uhci=09=09# UHCI PCI->USB interface #device=09=09ohci=09=09# OHCI PCI->USB interface device=09=09usb=09=09# USB Bus (required) #device=09=09udbp=09=09# USB Double Bulk Pipe devices device=09=09ugen=09=09# Generic device=09=09uhid=09=09# "Human Interface Devices" #device=09=09ukbd=09=09# Keyboard device=09=09ulpt=09=09# Printer device=09=09umass=09=09# Disks/Mass storage - Requires scbus and da device=09=09ums=09=09# Mouse #device=09=09urio=09=09# Diamond Rio 500 MP3 player #device=09=09uscanner=09# Scanners # USB Ethernet, requires mii device=09=09aue=09=09# ADMtek USB Ethernet #device=09=09axe=09=09# ASIX Electronics USB Ethernet #device=09=09cue=09=09# CATC USB Ethernet #device=09=09kue=09=09# Kawasaki LSI USB Ethernet #device=09=09rue=09=09# RealTek RTL8150 USB Ethernet # FireWire support #device=09=09firewire=09# FireWire bus code #device=09=09sbp=09=09# SCSI over FireWire (Requires scbus and da) #device=09=09fwe=09=09# Ethernet over FireWire (non-standard!) ----------------------------------- What needs to be done to get my system compiled? Alex.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b5a15bea05092011311fdab533>