This is the mail archive of the
cygwin-xfree@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: RE:Building XFree
- To: "Trevor Forbes" <trevorforbes at ozemail dot com dot au>, "Cygwin-Xfree" <cygwin-xfree at sourceware dot cygnus dot com>
- Subject: RE: RE:Building XFree
- From: "Suhaib M. Siddiqi" <ssiddiqi at InspirePharm dot Com>
- Date: Fri, 7 Apr 2000 06:48:15 -0400
> I think I fixed the build problem.
> the /lib/X11 dir would build using dlltool 2.9.5/dllwrap 0.2.4
> from the cvs
> but not with dlltool 2.9-cygwin-990830/dllwrap 0.2.4 which is from the CD
> v1.0. I assume dllwrap calls dlltool
> What is your dlltool ver?
I do not think so. On my PC dlltools from B20.1, Cygwin v 1.0 and from CVS,
worked OK.
>
> However this presented new problems with building /lib/Xext
>
> if [ -f /tmp/DLL_BASE_COUNTER ]; then true; \
> else echo 0x67000000 > /tmp/DLL_BASE_COUNTER; fi
> dllwrap -s --def Xext.def --output-lib libXext.a -o libXext.dll globals.o
> extutil.o XMultibuf.o XShape.o MITMisc.
> o XTestExt1.o XSync.o Xdbe.o XLbx.o XSecurity.o XAppgroup.o
> Xcup.o DPMS.o XEVI.o junk.o -L../../exports/lib
> -lX11 -image-base `cat /tmp/DLL_BASE_COUNTER`
> VERSION 6.4
> libXext.exp(.edata+0x74):fake: undefined reference to
> `XPanoramiXAllocInfo'
> libXext.exp(.edata+0x78):fake: undefined reference to
> `XPanoramiXGetScreenCount'
> libXext.exp(.edata+0x7c):fake: undefined reference to
> `XPanoramiXGetScreenSize'
> libXext.exp(.edata+0x80):fake: undefined reference to `XPanoramiXGetState'
> libXext.exp(.edata+0x84):fake: undefined reference to
> `XPanoramiXQueryExtension'
> libXext.exp(.edata+0x88):fake: undefined reference to
> `XPanoramiXQueryVersion'
> collect2: ld returned 1 exit status
> dllwrap: gcc exited with status 1
> make: *** [libXext.dll] Error 1
>
You are getting this because you have defined XPanorama Extension.
>
> This is easily fixed by commenting out the following lines in Xext-def.cpp
> as they are not used by Xext
Should be protected by #ifdef not commented out. Otherwise you will be
breaking
XFree86 code for all the other plaforms.
>
> /* XPanoramiXQueryVersion
> XPanoramiXAllocInfo
> XPanoramiXGetScreenCount
> XPanoramiXGetScreenSize
> XPanoramiXGetState
> XPanoramiXQueryExtension*/
>
>
> I will work on it some more as I get time
>
> Trevor