DragonFly kernel List (threaded) for 2003-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: More build issues.
* Peter Kadau (peter.kadau@xxxxxxxxxxxxxxxx) wrote:
> Hi !
>
> BTW, even the simplest programs which include
> inttypes.h fail to compile because of syntax error in
> inttypes.h, line 42...
> It has DragonFly RCS v 1.1
>
> Any idea ?
It's probably solved, but you have stale includes. Observe:
> uname -a
FreeBSD mothra.ipv6.hackerheaven.org 4.8-STABLE FreeBSD 4.8-STABLE #4: Fri Nov 14 17:23:37 CET 2003 root@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/dragonsrc/sys/MOTHRA.apm i386
> ident /usr/include/inttypes.h
/usr/include/inttypes.h:
$FreeBSD: src/include/inttypes.h,v 1.8 2002/09/22 08:06:45 tjr Exp $
$DragonFly: src/include/inttypes.h,v 1.1 2003/11/09 02:22:28 dillon Exp $
> cat foo.c
#include <stdio.h>
#include <inttypes.h>
int main(int argc, char **argv)
{
printf("foo!\n");
return 0;
}
> make foo
cc -O -pipe foo.c -o foo
> ./foo
foo!
But I did update my includefiles by nuking /usr/includes and running
make includes. I do that every time Matt decides to reorganize include
files (just watch the commit-messages and the heads-ups)
Cheers,
Emiel
--
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]