Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 1998 16:02:51 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        current@FreeBSD.ORG
Cc:        bde@FreeBSD.ORG
Subject:   -current buildworld broken by libc/gmon..
Message-ID:  <Pine.BSF.3.95.980710155034.5621A-100000@current1.whistle.com>

next in thread | raw e-mail | index | archive | help


cc -O -pipe -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include
-D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libc/locale
-DBROKEN_DES -DYP -c /usr/src/lib/libc/../libc/gmon/gmon.c -o gmon.o
In file included from /usr/include/sys/gmon.h:40,
                 from /usr/src/lib/libc/../libc/gmon/gmon.c:41:
/usr/include/machine/profile.h:136: parse error before `frompc'
In file included from /usr/src/lib/libc/../libc/gmon/gmon.c:41:
/usr/include/sys/gmon.h:168: parse error before `fptrint_t'
/usr/include/sys/gmon.h:168: warning: no semicolon at end of struct or
union
/usr/include/sys/gmon.h:169: warning: data definition has no type or
storage class
/usr/include/sys/gmon.h:183: parse error before `}'
/usr/src/lib/libc/../libc/gmon/gmon.c:54: variable `_gmonparam' has
initializer but incomplete type
/usr/src/lib/libc/../libc/gmon/gmon.c:54: warning: excess elements in
struct initializer after `_gmonparam'
/usr/src/lib/libc/../libc/gmon/gmon.c: In function `monstartup':
/usr/src/lib/libc/../libc/gmon/gmon.c:78: dereferencing pointer to
incomplete type
/usr/src/lib/libc/../libc/gmon/gmon.c:79: dereferencing pointer to
incomplete type
/usr/src/lib/libc/../libc/gmon/gmon.c:80: dereferencing pointer to
incomplete type
/usr/src/lib/libc/../libc/gmon/gmon.c:80: dereferencing pointer to
incomplete type
/usr/src/lib/libc/../libc/gmon/gmon.c:80: dereferencing pointer to
incomplete type
/usr/src/lib/libc/../libc/gmon/gmon.c:81: dereferencing pointer to
incomplete type

---etc----

fptrint_t is now dependent on the definition KERNEL being true.

I just removed the Ifdef KERNEL
in i386/include/types.h

is there a better answer?


julian


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?Pine.BSF.3.95.980710155034.5621A-100000>