Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2002 13:05:46 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: /usr/include/stdlib.h:51: syntax error before "size_t"
Message-ID:  <3DA1E91A.C7528136@mindspring.com>
References:  <20021007004727.A3639@gicco.cablecom.ch> <3DA0CF13.8E27F12@mindspring.com> <20021007112359.A926@gicco.cablecom.ch> <3DA1572E.45D04F10@mindspring.com> <20021007141326.A1666@gicco.cablecom.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
Hanspeter Roth wrote:
>   On Oct 07 at 02:43, Terry Lambert spoke:
> > /usr/include/* is obsolete.  Install the new ones instead.
> 
> When I rename /usr/include and copy /usr/src/include/* to
> /usr/include I get:

What happens when you read the -current archives for other
messages which indicate the same problem, and then use the
correct procedure for installing new include files, instead?

8-).


> Did I copy the wrong include directory (/usr/src/include)?

Yes.  You weren't supposed to copy, you were suppose to use
the "make" target.  Include files are generated, or they come
from all over, not just the source directory for the simple
includes.

--

To save you the minute and a half of searching (which is
apparently what you want somone to do -- why are you asking
in -current instead of -questions?):

	cd /usr
	mv include include.old
	mkdir include
	chown root.wheel include
	chmod 755 include
	cd /usr/src
	make includes

The mkdir/chode/chmod is necessary because the "includes" target
fails to create its install directory (one of many minor broken
things about the build process).

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DA1E91A.C7528136>