This is the mail archive of the cygwin-xfree@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: X programs compile, but crash


Dear Suhaib,

I checked the mailing list and found the discussion on building X you
mentioned.
You're right, my *.cf files are not up to date, though they are from the
latest tar balls from the ftp archive.
I don't think think that I could patch all these things for myself, there's
some other work waiting, too.
So I need a new source archive, but I cannot use CVS because of our
company's firewall...

Please, could anyone post the latest source tar balls to the ftp servers.

Thanks,

Karsten


-----Original Message-----
From: Suhaib Siddiqi [mailto:ssiddiqi@inspirepharm.com]
Sent: Donnerstag, 3. August 2000 13:12
To: Fleischer, Karsten (K.)
Cc: cygwin-xfree@sources.redhat.com
Subject: RE: X programs compile, but crash



I do not think your development environment is ok.

Which version of XFree86 code are you ateempting to compile?
The warnings and errors do not make sense.

First of all makedepend is not finding your header file, For example...

	not in ../../../include/fonts/unistd.h
	not in ../include/unistd.h
	not in ../../../include/unistd.h
	not in ../../../programs/Xserver/include/unistd.h
	not in ../../../unistd.h
	not in ../../../exports/include/unistd.h
	not in /usr/local/lib/gcc-include/unistd.h
	not in /usr/i586-cygwin32/include/unistd.h
	not in /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/include/unistd.h
../../../config/makedepend/makedepend: warning:  t1stub.c, line 38: cannot
find include file "stdio.h"
	not in ../../../include/fonts/stdio.h

You get literally for every routine in X sources tree.  This problem was in
the first release of
XFree86 code almost a year ago and was fixed.  If anyone seeing this again,
check your
mount points and Cygwin installation environment etc.

Second:  The following error regarding DLL build failure, were discussed on
cygwin-xfree
mailing list a couple of weekes agi.  BOTTOM LINE is delete you xc directory
and
get the newest one from CVS
(http://sources.redhat.com/cygwin/xfree/cvs.html).
There are a couple of mistakes in cygwin.* files in xc/config/cf
in tar balls posted at the FTP server.  I had been extremly busy to make
new tar-balls.  If you know how to fix the config files for Imake and
makedepend,
then you fix it, otherwise get the latest code from CVS, which several other
fixes for X itself.

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` -lipc
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^This was discussed
2 or 3 weeks ago on the cygwin-xfree mailing list.

Suhaib
/usr/bin/ld: cannot find -lX11

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]