From owner-freebsd-current Fri Oct 27 3: 5: 5 2000 Delivered-To: freebsd-current@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id C4DA437B479; Fri, 27 Oct 2000 03:05:02 -0700 (PDT) Received: from gorean.org (Studded@master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id DAA33938; Fri, 27 Oct 2000 03:05:01 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <39F9534D.763C3951@gorean.org> Date: Fri, 27 Oct 2000 03:05:01 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 5.0-CURRENT-102 i386) X-Accept-Language: en MIME-Version: 1.0 To: current@freebsd.org, pst@freebsd.org Subject: endian.h problem with gnats port Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to compile gnats locally, and getting an ugly error regarding endian.h. Due to the recent include file shuffling I'm starting in -current rather than ports. cc -c -I. -I. -I./../include -O -ggdb -pipe -g -DHAVE_CONFIG_H queue-pr.c In file included from /usr/include/sys/wait.h:93, from queue-pr.c:23: /usr/include/machine/endian.h:72: syntax error before `__uint16_swap_uint32' /usr/include/machine/endian.h:72: syntax error before `__x' /usr/include/machine/endian.h: In function `__uint16_swap_uint32': /usr/include/machine/endian.h:74: `__x' undeclared (first use in this function) /usr/include/machine/endian.h:74: (Each undeclared identifier is reported only once /usr/include/machine/endian.h:74: for each function it appears in.) /usr/include/machine/endian.h: At top level: /usr/include/machine/endian.h:80: syntax error before `__uint8_swap_uint32' /usr/include/machine/endian.h:80: syntax error before `__x' /usr/include/machine/endian.h: In function `__uint8_swap_uint32': /usr/include/machine/endian.h:86: `__x' undeclared (first use in this function) /usr/include/machine/endian.h: At top level: /usr/include/machine/endian.h:92: syntax error before `__uint8_swap_uint16' /usr/include/machine/endian.h:92: syntax error before `__x' /usr/include/machine/endian.h: In function `__uint8_swap_uint16': /usr/include/machine/endian.h:94: `__x' undeclared (first use in this function) gmake[1]: *** [queue-pr.o] Error 1 gmake[1]: Leaving directory `/usr/amd/slave/usr/ports/databases/gnats/work/gnats-3.113/gnats' gmake: *** [all-gnats] Error 2 *** Error code 2 Stop in /usr/amd/slave/usr/ports/databases/gnats. I've tried wiping out and reinstalling my includes, and checked the cvs logs for endian.h and nothing leaps to mind here. Also, a quick question for the maintainer, why is bison still a dependency if patch-aa defines "BISON=$(YACC)"? Doug -- "The dead cannot be seduced." - Kai, "Lexx" Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message