Compile : Always missing headers

Mel fbsd.questions at rachie.is-a-geek.net
Sat Nov 8 09:41:28 PST 2008


On Saturday 08 November 2008 14:11:59 d bena wrote:
> Hi,
>
> We have just install our FreeBSD and we try naturally to update our system.
> $ uname -a
> FreeBSD pinky.e-cac.fr 7.0-RELEASE-p5 FreeBSD
> 7.0-RELEASE-p5 #0: Wed Oct  1 10:10:12 UTC 2008
> root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>
> But each time we compile softs, ports or world, we have errors with the
> headers not found or wrong headers like that : "
> /usr/include/sys/param.h:63:23: error: sys/types.h: No such file or
> directory " " /usr/src/lib/libmagic/../../contrib/file/file.h:50:23: error:

<snip more examples of sys/types.h missing>

>
> We don't understand why it lacks some headers files like
> /usr/include/sys/types.h ?

Only you can tell that. Is the file present or not? Maybe an fsck couldn't 
restore it? Or something went wrong during install?
Do you have a /usr/src populated with the OS and kernel sources?

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.


More information about the freebsd-questions mailing list