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 i386
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
Iwdent HOSSU
# To statically compile in device wiring instead of /boot/device.hints
#hints GENERIC.hints # Default places to look for devices.
options SCHED_4BSD # 4BSD scheduler
options INET# InterNETworking
options INET6 # IPv6 communications protocols
options IPFILTER
options IPFILTER_LOG
options IPFILTER_DEFAULT_BLOCK
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT # Network Filesystem Client
options NFSSERVER # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options CPU_FASTER_5X86_FPU
options CPU_SUSP_HLT
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
#optionsSCSI_DELAY=15000# Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output. Adds ~215k to driver.
options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic# I/O APIC
# Bus support. Do not remove isa, even if you have no isa slots
device isa
#device eisa
device pci
# Floppy drives
#Device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
#device ataraid # ATA RAID drives
device atapicd # ATAPI CDROM drives
#device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
options ATA_STATIC_ID # Static device numbering
# SCSI Controllers