Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2002 14:13:26 +0200
From:      Hanspeter Roth <hanspeter_roth@hotmail.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   /usr/include/stdlib.h:51: syntax error before "size_t"
Message-ID:  <20021007141326.A1666@gicco.cablecom.ch>
In-Reply-To: <3DA1572E.45D04F10@mindspring.com>; from tlambert2@mindspring.com on Mon, Oct 07, 2002 at 02:43:10AM -0700
References:  <20021007004727.A3639@gicco.cablecom.ch> <3DA0CF13.8E27F12@mindspring.com> <20021007112359.A926@gicco.cablecom.ch> <3DA1572E.45D04F10@mindspring.com>

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

===> usr.bin/yacc
/usr/obj/usr/src/i386/usr/src/usr.bin/yacc created for /usr/src/usr.bin/yacc
rm -f .depend
mkdep -f .depend -a    -D__FBSDID=__RCSID  /usr/src/usr.bin/yacc/closure.c /usr/src/usr.bin/yacc/error.c /usr/src/usr.bin/yacc/lalr.c /usr/src/usr.bin/yacc/lr0.c /usr/src/usr.bin/yacc/main.c /usr/src/usr.bin/yacc/mkpar.c /usr/src/usr.bin/yacc/output.c /usr/src/usr.bin/yacc/reader.c /usr/src/usr.bin/yacc/skeleton.c /usr/src/usr.bin/yacc/symtab.c /usr/src/usr.bin/yacc/verbose.c /usr/src/usr.bin/yacc/warshall.c
/usr/src/usr.bin/yacc/closure.c:43:23: sys/cdefs.h: No such file or directory


When I copy /usr/src/include/* over the existing /usr/include I get:


===> usr.bin/yacc
/usr/obj/usr/src/i386/usr/src/usr.bin/yacc created for /usr/src/usr.bin/yacc
rm -f .depend
mkdep -f .depend -a    -D__FBSDID=__RCSID  /usr/src/usr.bin/yacc/closure.c /usr/src/usr.bin/yacc/error.c /usr/src/usr.bin/yacc/lalr.c /usr/src/usr.bin/yacc/lr0.c /usr/src/usr.bin/yacc/main.c /usr/src/usr.bin/yacc/mkpar.c /usr/src/usr.bin/yacc/output.c /usr/src/usr.bin/yacc/reader.c /usr/src/usr.bin/yacc/skeleton.c /usr/src/usr.bin/yacc/symtab.c /usr/src/usr.bin/yacc/verbose.c /usr/src/usr.bin/yacc/warshall.c
echo yacc: /usr/lib/libc.a  >> .depend
cc -O -pipe    -D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/closure.c
In file included from /usr/src/usr.bin/yacc/closure.c:46:
/usr/include/stdlib.h:51: syntax error before "size_t"


Is there something more to consider before building world?
Did I copy the wrong include directory (/usr/src/include)?

-Hanspeter

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?20021007141326.A1666>