Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 2008 18:32:27 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        d bena <d.bena@yahoo.fr>
Subject:   Re: Compile : Always missing headers
Message-ID:  <200811081832.28741.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <927777.56615.qm@web25604.mail.ukl.yahoo.com>
References:  <927777.56615.qm@web25604.mail.ukl.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811081832.28741.fbsd.questions>