On Tue, 15 Jul 2003, Frank Tarczynski wrote:
> Is anyone versed enough in the inner workings of the server and it's libs
> to take a stab at this problem?
> I'm building xfree86 v4.3.0 under unixware 7.1.3 using the stock cc. When
> I get to compling ix86Pci.c in
> xc/programs/Xserver/hw/xfree86/os-support/bus I get this error message:
> /usr/ccs/bin/cc -c -O -W0,-2A -Xa -Dasm=__asm -I.
> -I../../../../../../programs/Xserver/hw/xfree86/common
> -I../../../../../../programs/Xserver/hw/xfree86/os-support
> -I../../../../../../programs/Xserver/include
> -I../../../../../../exports/include/X11 -I../../../../../..
> -I../../../../../../exports/include -I/usr/X11R6/include -DUSL -DSVR4
> -Di386 -D__i386__ -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY
> -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPANORAMIX -DRENDER -DRANDR
> -D__USLC__ -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA
> -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE
> -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension
> -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -DNARROWPROTO ix86Pci.c
> UX:acomp: ERROR: "ix86Pci.c", line 673: undefined symbol: PCI_CHIP_430HX
> UX:acomp: ERROR: "ix86Pci.c", line 673: Syntax error before or at:
> _BRIDGE
> UX:acomp: ERROR: "ix86Pci.c", line 673: syntax error, probably missing
> ",", ";" or "="
> UX:acomp: ERROR: "ix86Pci.c", line 674: Syntax error before or at: (
> UX:acomp: WARNING: "ix86Pci.c", line 675: syntax error: empty
> declaration
> UX:acomp: WARNING: "ix86Pci.c", line 682: null dimension: sizeof()
> UX:acomp: ERROR: "ix86Pci.c", line 683: undefined symbol: pPCI
> UX:acomp: ERROR: "ix86Pci.c", line 683: left operand of "->" must be
> pointer to struct/union
> gmake: *** [ix86Pci.o] Error 1
> I can't figure-out what the problem is here. PCI_CHIP_430HX_BRIDGE is
> #define'd in xc/programs/Xserver/hw/xfree86/common which is in the -I
> path. Neither PCI_CHIP_430HX or PCI_430HX_BRIDGE is #define'd anywhere
> else on my system.
> I tried /* commenting-out */ the #define in the include file but even then
> I got the same error.
In os-support/bus/Pci.h, try changing DEVID's #define to
#define DEVID(vendor, device) \
((CARD32)((PCI_CHIP_/**/device << 16) | PCI_VENDOR_/**/vendor))
Marc.
+----------------------------------+-----------------------------------+
| Marc Aurele La France | work: 1-780-492-9310 |
| Computing and Network Services | fax: 1-780-492-1729 |
| 352 General Services Building | email: [EMAIL PROTECTED] |
| University of Alberta +-----------------------------------+
| Edmonton, Alberta | |
| T6G 2H1 | Standard disclaimers apply |
| CANADA | |
+----------------------------------+-----------------------------------+
XFree86 Core Team member. ATI driver and X server internals.
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86