From owner-freebsd-x11@FreeBSD.ORG Thu May 24 23:41:23 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9332E16A41F for ; Thu, 24 May 2007 23:41:23 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) by mx1.freebsd.org (Postfix) with ESMTP id 238EC13C44B for ; Thu, 24 May 2007 23:41:23 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-04-z2.arcor-online.net (mail-in-04-z2.arcor-online.net [151.189.8.16]) by mail-in-09.arcor-online.net (Postfix) with ESMTP id 4310330309F for ; Fri, 25 May 2007 01:41:22 +0200 (CEST) Received: from mail-in-12.arcor-online.net (mail-in-12.arcor-online.net [151.189.21.52]) by mail-in-04-z2.arcor-online.net (Postfix) with ESMTP id 0C6D2ABFA9 for ; Fri, 25 May 2007 01:41:22 +0200 (CEST) Received: from kemoauc.mips.inka.de (dslb-088-066-035-165.pools.arcor-ip.net [88.66.35.165]) by mail-in-12.arcor-online.net (Postfix) with ESMTP id DCDBF8C461 for ; Fri, 25 May 2007 01:41:21 +0200 (CEST) Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.13.8/8.12.10) with ESMTP id l4ONfLoR091555 for ; Fri, 25 May 2007 01:41:21 +0200 (CEST) (envelope-from mailnull@kemoauc.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.13.8/8.13.8/Submit) id l4ONfLg8091554 for freebsd-x11@freebsd.org; Fri, 25 May 2007 01:41:21 +0200 (CEST) (envelope-from mailnull) From: naddy@mips.inka.de (Christian Weisgerber) Date: Thu, 24 May 2007 23:41:20 +0000 (UTC) Message-ID: References: Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-x11@freebsd.org Subject: Re: x11-servers/xorg-server doesn't build on alpha X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2007 23:41:23 -0000 Christian Weisgerber wrote: > x11-servers/xorg-server 1.2.0_2,1 fails to build on alpha. More > specifically, hw/xfree86/os-support/bsd/alpha_video.c tries to > > #include "xf86Axp.h" > > but can't find it, because hw/xfree86/os-support/shared is not in the > include path. I'm not sure what's the proper way to fix this. I've wedged that include path in like this: ---------------> --- configure.orig +++ configure @@ -30386,7 +30386,7 @@ if test "x$XORG" = xyes -o "x$XGL" = xyes; then XORG_DDXINCS='-I$(top_srcdir)/hw/xfree86 -I$(top_srcdir)/hw/xfree86/include -I$(top_srcdir)/hw/xfree86/common' - XORG_OSINCS='-I$(top_srcdir)/hw/xfree86/os-support -I$(top_srcdir)/hw/xfree86/os-support/bus -I$(top_srcdir)/os' + XORG_OSINCS='-I$(top_srcdir)/hw/xfree86/os-support -I$(top_srcdir)/hw/xfree86/os-support/bus -I$(top_srcdir)/hw/xfree86/os-support/shared -I$(top_srcdir)/os' XORG_INCS="$XORG_DDXINCS $XORG_OSINCS" XORG_CFLAGS="$XORGSERVER_CFLAGS -DHAVE_XORG_CONFIG_H" XORG_LIBS="$COMPOSITE_LIB $MI_LIB $FIXES_LIB $XEXTXORG_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XPSTUBS_LIB $OS_LIB" <--------------- The build then fails when linking the ioport utility: ---------------> /bin/sh ../../../../libtool --tag=CC --mode=link cc -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -I../../../../include -I../../../../include -I../../../../Xext -I../../../../composite -I../../../../damageext -I../../../../xfixes -I../../../../Xi -I../../../../mi -I../../../../miext/shadow -I../../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb -O -pipe -mcpu=ev56 -mieee -o ioport ioport-ioport.o ../../os-support/libxorgos.la ../../dummylib/libdummy-nonserver.a mkdir .libs cc -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -I../../../../include -I../../../../include -I../../../../Xext -I../../../../composite -I../../../../damageext -I../../../../xfixes -I../../../../Xi -I../../../../mi -I../../../../miext/shadow -I../../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb -O -pipe -mcpu=ev56 -mieee -o ioport ioport-ioport.o ../../os-support/.libs/libxorgos.a ../../dummylib/libdummy-nonserver.a ioport-ioport.o(.text+0x5cc): In function `do_inb': : undefined reference to `inb' [... many more...] Stop in /usr/ports/x11-servers/xorg-server/work/xorg-server-1.2.0/hw/xfree86/utils/ioport. *** Error code 1 <--------------- ioport used to be built successfully for 6.9.0, so it's not a case of this not being available on alpha. Looks like libxorgos.a is now missing something, but I haven't figured out yet where exactly. -- Christian "naddy" Weisgerber naddy@mips.inka.de