x11-servers/xorg-server doesn't build on alpha

Christian Weisgerber naddy at mips.inka.de
Thu May 24 23:41:23 UTC 2007


Christian Weisgerber <naddy at mips.inka.de> 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 at mips.inka.de



More information about the freebsd-x11 mailing list