This is the mail archive of the
cygwin-xfree@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: RE:Building XFree
- To: "Cygwin-Xfree" <cygwin-xfree at sourceware dot cygnus dot com>
- Subject: Re: RE:Building XFree
- From: "Trevor Forbes" <trevorforbes at ozemail dot com dot au>
- Date: Fri, 7 Apr 2000 11:25:51 +0930
- References: <LPBBLKCGNNKLHMJLFCHGCEOCCAAA.ssiddiqi1@nc.rr.com>
Suhaib M. Siddiqi
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?
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
This is easily fixed by commenting out the following lines in Xext-def.cpp
as they are not used by Xext
/* XPanoramiXQueryVersion
XPanoramiXAllocInfo
XPanoramiXGetScreenCount
XPanoramiXGetScreenSize
XPanoramiXGetState
XPanoramiXQueryExtension*/
I will work on it some more as I get time
Trevor