Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2000 18:40:50 -0400
From:      Marcel Moolenaar <marcel@cup.hp.com>
To:        Patrick Gardella <patrick@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG, jmz@FreeBSD.ORG
Subject:   Re: XFree86 3.3.6_3 build dies on -current
Message-ID:  <39F60FF2.E9F4B218@cup.hp.com>
References:  <39F59863.803D40E9@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Patrick Gardella wrote:
> 
> I built and installed -current on a laptop yesterday (10/23/00), and
> went to build XFree86 3.3.6_3 today from the ports directory.
> 
> It built fine, but when you run make install, it dies, complaining of
> syntax errors in machine/endian.h:
> 
> In file included from /usr/include/sys/wait.h:93,
>                  from vgaHW.c:44:
> /usr/include/machine/endian.h:72: syntax error before
> `__uint16_swap_unit32'
> /usr/include/machine/endian.h:72: syntax error before `__x'
> <snip>

XFree86 4.0.1 has the same problem. The following patch solves it for
4.0.1 (relative to .../xc/include):

--- Xarch.h     Sat Jun 17 11:40:56 2000
+++ /home/marcel/Xarch.h        Tue Oct 24 15:15:58 2000
@@ -49,9 +49,7 @@
 #endif
 #endif
 #elif defined(CSRG_BASED)
-#if defined(__NetBSD__) || defined(__OpenBSD__)
 #include <sys/types.h>
-#endif
 #include <machine/endian.h>
 #elif defined(linux)
 #if defined __STRICT_ANSI__


I'm going to build 3.3.6 anyway, because 4.0.1 coredumps on my new
notebook, so I'll try to make a patch as well. If someone can make a PR
out of this thread, then we're all happy; especially jmz.

-- 
Marcel Moolenaar
  mail: marcel@cup.hp.com / marcel@FreeBSD.org
  tel:  (408) 447-4222


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?39F60FF2.E9F4B218>