Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 03:05:01 -0700
From:      Doug Barton <DougB@gorean.org>
To:        current@freebsd.org, pst@freebsd.org
Subject:   endian.h problem with gnats port
Message-ID:  <39F9534D.763C3951@gorean.org>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39F9534D.763C3951>