Re: Rlib 1.3.3 make error

Shannon Weyrick <weyrick-UWl7u1r57vBWk0Htik3J/[email protected]> Thu, 23 Jun 2005 12:38:52 -0400
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
The problem is that function (and a few other's in rlib) has a variable 
declaration after code. Newer versions of gcc don't care but older 
versions do. If you reorder the variables a bit it compiles. Sorry I had 
a patch for this but I've misplaced it - luckily it's a pretty quick fix.

Shannon

Michael McInally wrote:
> ./configure --prefix=/usr --disable-gd --disable-python
> --disable-postgre
> 
> make
> 
> graphing.c: In function `rlib_graph':
> graphing.c:244: parse error before `minor_tick'
> graphing.c:246: `minor_tick' undeclared (first use in this function)
> graphing.c:246: (Each undeclared identifier is reported only once
> graphing.c:246: for each function it appears in.)
> make[2]: *** [graphing.lo] Error 1
> make[2]: Leaving directory `/home/mcinallym/rlib-1.3.3/libsrc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/mcinallym/rlib-1.3.3'
> make: *** [all] Error 2
> 
> 
> 
> Can't I disable graphing somehow?  Or is this a problem somewhere else?
> 
> 
> 



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click