where are the missing libraries from the kernel source code

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Tue Sep 20 12:03:55 PDT 2005


Alexandru Gabor <alexandru.gabor at gmail.com> writes:

> 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. 

There certainly should be.  You seem to have a supfile problem.

>             Just to be sure I'll add the KERNCONF file to the mail:

You didn't do a buildkernel yet, did you?


More information about the freebsd-questions mailing list