Article View: gnu.chess
Article #5935Re: xboard1.2 (wont compile) help!
From: Robert Hyatt
Date: Fri, 26 Jul 1991 16:04
Date: Fri, 26 Jul 1991 16:04
31 lines
1808 bytes
1808 bytes
In article <861@sheoak.bcae.oz> thiele@ironbark.bcae.oz.au (David Thiele) writes: >HELP! HELP! HELP! HELP! HELP! HELP! HELP! > >Xboard 1.2 just doesnt want to compile. I am using X11R4. > >The problem: line 1861 (*fileProc(buf)) actual has 1 parameter while > formal declaration has 3... > >Whats the problem? Is it a problem with XtCallbackProc? Can I use a >different X command? Help! > >Ps. I havent changed the original source as it comes in >the distribution. Both patches have been sucessfully applied to the >code... > >Thanks >Dave > >thiele@ironbark.bcae.oz.au this is fairly common with the plethora of C compilers around. The error simply means that the procedure fileProc() is expecting THREE parameters in your library, while the one in the library used by the original programmer only needed one on his system. Simply check your manual and find out what you need to add.... probably a couple of '0' or '1' are all that is needed. Maybe one of the parameters is a mode flag that the original didn't need. A second option is that some compilers don't care if you pass too few parameters, and the programmer got away with it. anyway, it should be easy to fix...
Technical Details
Message-ID:
<1991Jul26.160447.15135@cis.uab.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!europa.asd.contel.com!gatech!utkcs2!willis.cis.uab.edu!hyattReferences:
<861@sheoak.bcae.oz>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,a9478e78e6b66dad X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1991-07-26 12:32:37 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!europa.asd.contel.com!gatech!utkcs2!willis.cis.uab.edu!hyatt From: hyatt@cis.uab.edu (Robert Hyatt) Newsgroups: gnu.chess Subject: Re: xboard1.2 (wont compile) help! Message-ID: <1991Jul26.160447.15135@cis.uab.edu> Date: 26 Jul 91 16:04:47 GMT References: <861@sheoak.bcae.oz> Sender: root@cis.uab.edu (Bruce Williams) Organization: University of Alabama at Birmingham Lines: 31