This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
libXmu fails to build?
- From: Brian Genisio <briangenisio at yahoo dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 20 Nov 2001 04:58:13 -0800 (PST)
- Subject: libXmu fails to build?
Hey all,
I downloaded the lates CVS last night, and did a build. I found that libXmu
failed to build... with the following error :
CvtStdSel.c: In function `XmuConvertStandardSelection':
CvtStdSel.c:227: `hparams' undeclared (first use in this function)
CvtStdSel.c:227: (Each undeclared identifier is reported only once
CvtStdSel.c:227: for each function it appears in.)
make[4]: *** [CvtStdSel.o] Error 1
I took a look, and found the following block of code :
#ifdef XTHREADS_NEEDS_BYNAMEPARAMS
_Xgethostbynameparams hparams;
#endif
struct hostent *hostp;
hostname[0] = '\0';
(void) XmuGetHostname (hostname, sizeof hostname);
if ((hostp = _XGethostbyname (hostname,hparams)) == NULL)
return False;
When I remove the XTHREADS_NEEDS_BYNAMEPARAMS define, it compiles. Is this an
error in the CVS tree?
Brian
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1