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

Reply via email to