Re: [XFree86] Compliation problem under unixware

2003-07-17 Thread Marc Aurele La France
On Wed, 16 Jul 2003, Frank Tarczynski wrote:

> >>>Perhaps the problem occurs because 430HX_BRIDGE starts with a numeric?
> >>>Try changing it to BRIDGE_430HX.

> >>No need to change it now.  I've already built the server by just deleting
> >>the "_" for those 2 #define's.

> >I'm afraid that's not good enough.  I need to know why your pre-processor
> >seems to be treating "_" in tokens specially.  So far, it seems that it's
> >because the token starts with a numeric.  For portability reasons, I'd
> >really prefer to nail down if that's that's the case.

> OK, I've checked what the unixware 7.1.3 cc does.  If the numeric
> portion is first: no good.  If the BRIDGE is first, as in BRIDGE_430HX:
> it works.

> cc reports itself as Optimizing C Compilation System (CCS) 4.1 10/31/02
> (OU7.1.3bl11.1)

Interesting.  That's quite the compiler breakage you got there.  I think
the best thing to do is change the DEVID macro to require the CHIP_
prefix, and I'll shortly be committing a change that does just that.

Mind you, this doesn't fix the more general problem of everywhere avoiding
tokens that start with a numeric, but I can't think of a way of doing that
at the moment.

Thanks.

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


Re: [XFree86] Compliation problem under unixware

2003-07-16 Thread Frank Tarczynski
Marc Aurele La France wrote:

On Wed, 16 Jul 2003, Frank Tarczynski wrote:

 

Perhaps the problem occurs because 430HX_BRIDGE starts with a numeric?
Try changing it to BRIDGE_430HX.
 

 

No need to change it now.  I've already built the server by just deleting
the "_" for those 2 #define's.
   

I'm afraid that's not good enough.  I need to know why your pre-processor
seems to be treating "_" in tokens specially.  So far, it seems that it's
because the token starts with a numeric.  For portability reasons, I'd
really prefer to nail down if that's that's the case.
OK, I've checked what the unixware 7.1.3 cc does.  If the numeric 
portion is first: no good.  If the BRIDGE is first, as in BRIDGE_430HX: 
it works.

cc reports itself as Optimizing C Compilation System (CCS) 4.1 10/31/02 
(OU7.1.3bl11.1)

Frank

 

Do you have any experience with replacing Xsco?
   

Unfortunately I don't.  But it sounds to me that Xsco uses non-standard
means of determining whether or not another server is running.
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
 



___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Compliation problem under unixware

2003-07-16 Thread Frank Tarczynski
> On Wed, 16 Jul 2003, Frank Tarczynski wrote:
>
>> > Perhaps the problem occurs because 430HX_BRIDGE starts with a
>> numeric? Try changing it to BRIDGE_430HX.
>
>> No need to change it now.  I've already built the server by just
>> deleting the "_" for those 2 #define's.
>
> I'm afraid that's not good enough.  I need to know why your
> pre-processor seems to be treating "_" in tokens specially.  So far, it
> seems that it's because the token starts with a numeric.  For
> portability reasons, I'd really prefer to nail down if that's that's the
> case.

OK.  Now I understand what you want.  I will try as you suggest and left
you know what works and what doesn't.

Frank

>
>> Do you have any experience with replacing Xsco?
>
> Unfortunately I don't.  But it sounds to me that Xsco uses non-standard
> means of determining whether or not another server is running.
>
> 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



___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Compliation problem under unixware

2003-07-16 Thread Marc Aurele La France
On Wed, 16 Jul 2003, Frank Tarczynski wrote:

> > Perhaps the problem occurs because 430HX_BRIDGE starts with a numeric?
> > Try changing it to BRIDGE_430HX.

> No need to change it now.  I've already built the server by just deleting
> the "_" for those 2 #define's.

I'm afraid that's not good enough.  I need to know why your pre-processor
seems to be treating "_" in tokens specially.  So far, it seems that it's
because the token starts with a numeric.  For portability reasons, I'd
really prefer to nail down if that's that's the case.

> Do you have any experience with replacing Xsco?

Unfortunately I don't.  But it sounds to me that Xsco uses non-standard
means of determining whether or not another server is running.

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


Re: [XFree86] Compliation problem under unixware

2003-07-16 Thread Frank Tarczynski
> On Wed, 16 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))
>
>> I finally was successful at getting the Xserver to build under
>> unixware. The #define DEVID(vendor, device) \
>>  ((CARD32)((PCI_CHIP_##device << 16) | PCI_VENDOR_##vendor))
>> construction does work under the unixware cc, BUT for some reason, the
>> underscore, "_", between the 430HX_BRIDGE is not valid.  When I
>> deleted the underscores from the 430HX_BRIDGE and other bridge
>> definition the compilation went fine.
>
> Perhaps the problem occurs because 430HX_BRIDGE starts with a numeric?
> Try changing it to BRIDGE_430HX.
>
> Marc.

No need to change it now.  I've already built the server by just deleting
the "_" for those 2 #define's.

Do you have any experience with replacing Xsco?

Frank
>
> +--+---+
> |  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



___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Compliation problem under unixware

2003-07-16 Thread Marc Aurele La France
On Wed, 16 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))

> I finally was successful at getting the Xserver to build under unixware.
> The #define DEVID(vendor, device) \
>  ((CARD32)((PCI_CHIP_##device << 16) | PCI_VENDOR_##vendor))
> construction does work under the unixware cc, BUT for some reason, the
> underscore, "_", between the 430HX_BRIDGE is not valid.  When I deleted
> the underscores from the 430HX_BRIDGE and other bridge definition the
> compilation went fine.

Perhaps the problem occurs because 430HX_BRIDGE starts with a numeric?
Try changing it to BRIDGE_430HX.

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


Re: [XFree86] Compliation problem under unixware

2003-07-16 Thread Frank Tarczynski
> 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))

I finally was successful at getting the Xserver to build under unixware. 
The #define DEVID(vendor, device) \
 ((CARD32)((PCI_CHIP_##device << 16) | PCI_VENDOR_##vendor))
construction does work under the unixware cc, BUT for some reason, the
underscore, "_", between the 430HX_BRIDGE is not valid.  When I deleted
the underscores from the 430HX_BRIDGE and other bridge definition the
compilation went fine.

Has anyone replaced the unixware stock X server (Xsco) with XFree86?  Not
just linked XFree86 to X, but really replaced it?  I tried disabling the
stock server (scologin disable) and then starting XFree86 but scologin
appears to have deleted stuff in /dev/X and /tmp/.X*.


_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't
already running

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/adm/XFree86.0.log".
Please report problems to [EMAIL PROTECTED]

Frank
>
> 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



___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Compliation problem under unixware

2003-07-15 Thread Marc Aurele La France
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


Re: Re: [XFree86] Compliation problem under unixware

2003-07-15 Thread Christian Convey
No problem.  I'll actually be surprised if this fixes your problem, because this kind 
of bug would typically kill everyone regardless of platform.

Still, it's maybe worth checking...


> 
> From: "Frank Tarczynski" <[EMAIL PROTECTED]>
> Date: 2003/07/15 Tue AM 09:54:33 EDT
> To: <[EMAIL PROTECTED]>
> Subject: Re: [XFree86] Compliation problem under unixware
> 
> Interesting.  I did copy the header file to the same directory (-I.) but I
> never checked to see if it was actually #include'd.  Something to check
> tonight.
> 
> Thanks.
> 
> > Even if the right directory is in the -I path, is the .c file that
> > requires it perhaps failing to #include a header that will actually
> > bring in that #define?
> >
> > - Christian
> >
> >>
> >> From: "Frank Tarczynski" <[EMAIL PROTECTED]>
> >> Date: 2003/07/15 Tue AM 09:28:53 EDT
> >> To: <[EMAIL PROTECTED]>
> >> Subject: [XFree86] Compliation problem under unixware
> >>
> >> 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.
> >>
> >> Frank
> >>
> >>
> >> ___
> >> XFree86 mailing list
> >> [EMAIL PROTECTED]
> >> http://XFree86.Org/mailman/listinfo/xfree86
> >>
> >
> > ___
> > XFree86 mailing list
> > [EMAIL PROTECTED]
> > http://XFree86.Org/mailman/listinfo/xfree86
> 
> 
> 
> ___
> XFree86 mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xfree86
> 

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Compliation problem under unixware

2003-07-15 Thread Frank Tarczynski
Interesting.  I did copy the header file to the same directory (-I.) but I
never checked to see if it was actually #include'd.  Something to check
tonight.

Thanks.

> Even if the right directory is in the -I path, is the .c file that
> requires it perhaps failing to #include a header that will actually
> bring in that #define?
>
> - Christian
>
>>
>> From: "Frank Tarczynski" <[EMAIL PROTECTED]>
>> Date: 2003/07/15 Tue AM 09:28:53 EDT
>> To: <[EMAIL PROTECTED]>
>> Subject: [XFree86] Compliation problem under unixware
>>
>> 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.
>>
>> Frank
>>
>>
>> ___
>> XFree86 mailing list
>> [EMAIL PROTECTED]
>> http://XFree86.Org/mailman/listinfo/xfree86
>>
>
> ___
> XFree86 mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xfree86



___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Compliation problem under unixware

2003-07-15 Thread Christian Convey
Even if the right directory is in the -I path, is the .c file that requires it perhaps 
failing to #include a header that will actually bring in that #define?

- Christian

> 
> From: "Frank Tarczynski" <[EMAIL PROTECTED]>
> Date: 2003/07/15 Tue AM 09:28:53 EDT
> To: <[EMAIL PROTECTED]>
> Subject: [XFree86] Compliation problem under unixware
> 
> 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.
> 
> Frank
> 
> 
> ___
> XFree86 mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xfree86
> 

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86