Patch #2 will not work on RedHat Linux. I think it is a SuSE issue, who always try to be different then USA based Linux OS vendors. Therefore I agree with Pete about patch #2 comments....
**************************** Suhaib M. Siddiqi Senior Research Scientist Inspire Pharmaceuticals, Inc. 4222 Emperor Blvd., Suite 470 Durham, NC 27703 Tel: 919-941-9777 Ext 238 FAX: 919-941-9797 http://www.inspirepharm.com > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of Peter Daniel > Kirchner > Sent: Tuesday, January 11, 2000 11:04 AM > To: opendx2-dev@lists.berlios.de > Subject: Re: [opendx-dev] A little patch > > > Hi, > > thanks for the patches! > Rick Scott made fix #1 in cvs in October but it hasn't > been part of a tarball > until 4.0.10 the end of last week. > CVS for #2 now reads > #if defined(linux) || defined(cygwin) || defined (freebsd) > so it looks like your suspicions were correct and we need > to differentiate > among linuxes (linices???) or do a configure test for > extern int yylineno. > Any suggestions/preferences? > > Pete > > Jan Gentsch wrote: > > > Hi, > > > > attached you will find a little patch. Both problems > have been around > > since at least 4.0.7 and hence I presume they are still > there. Every > > compiler should have barked at the first one. The second max be > > distribution specific? I run SuSE linux 6.3. > > > > Jan > > > > > ---------------------------------------------------------- > -------------- > > --- src/uipp/base/Application.h.org Sun Jan 9 23:11:57 2000 > > +++ src/uipp/base/Application.h Sun Jan 9 23:12:14 2000 > > @@ -52,7 +52,7 @@ > > // > > // The main program needs to access protected > member functions. > > // > > - friend void main(unsigned int argc, > > + friend int main(unsigned int argc, > > char** argv); > > > > > > --- src/uipp/dxuilib/Network.C.org Mon Jan 10 00:13:49 2000 > > +++ src/uipp/dxuilib/Network.C Mon Jan 10 00:14:33 2000 > > @@ -1190,7 +1190,7 @@ > > extern > > FILE* yyin; /* parser input stream */ > > > > -#if defined(linux) || defined(cygwin) > > +#if defined(cygwin) > > int yylineno; > > #else > > extern int yylineno; /* lexer line > number */ >