From: Shannon W. <we...@ro...> - 2005-06-23 16:39:15
|
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? > > > |