Nick.Guoth@anu.edu.au
2001-May-28 04:25 UTC
[Rd] Undeclared identifier in make compilation (PR#951)
Full_Name: Nick Guoth Version: 1.2.3 OS: SunOS 5.8 Generic_108528-03 Submission from: (NULL) (150.203.33.227)>From running the make, the following error occurs:gcc -I. -I../../../src/include -I../../../src/include -I/opt/x11r6.3/include -I/usr/local/include -DHAVE_CONFIG_H -fPIC -g -O2 -c rbitmap.c -o rbitmap.o rbitmap.c: In function `R_SaveAsPng': rbitmap.c:169: `PNG_INTERLACE_NONE' undeclared (first use in this function) rbitmap.c:169: (Each undeclared identifier is reported only once rbitmap.c:169: for each function it appears in.) rbitmap.c:169: `PNG_COMPRESSION_TYPE_BASE' undeclared (first use in this function) rbitmap.c:170: `PNG_FILTER_TYPE_BASE' undeclared (first use in this function) make[5]: *** [rbitmap.o] Error 1 make[5]: Leaving directory `/home/nick/R/R-1.2.3/src/unix/X11' make[4]: *** [R] Error 2 make[4]: Leaving directory `/home/nick/R/R-1.2.3/src/unix/X11' make[3]: *** [DLLs] Error 1 make[3]: Leaving directory `/home/nick/R/R-1.2.3/src/unix' make[2]: *** [R] Error 2 make[2]: Leaving directory `/home/nick/R/R-1.2.3/src/main' make[1]: *** [R] Error 1 make[1]: Leaving directory `/home/nick/R/R-1.2.3/src' make: *** [R] Error 1 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
ripley@stats.ox.ac.uk
2001-May-28 06:45 UTC
[Rd] Undeclared identifier in make compilation (PR#951)
On Mon, 28 May 2001 Nick.Guoth@anu.edu.au wrote:> Full_Name: Nick Guoth > Version: 1.2.3 > OS: SunOS 5.8 Generic_108528-03 > Submission from: (NULL) (150.203.33.227) >I believe this means that the png headers were found but that they were either way out of date or corrupt. What is your png version? Try upgrading to the latest (1.0.10 last time I looked), or compile without the png.h in your include path.> > >From running the make, the following error occurs: > > gcc -I. -I../../../src/include -I../../../src/include -I/opt/x11r6.3/include > -I/usr/local/include -DHAVE_CONFIG_H -fPIC -g -O2 -c rbitmap.c -o rbitmap.o > rbitmap.c: In function `R_SaveAsPng': > rbitmap.c:169: `PNG_INTERLACE_NONE' undeclared (first use in this function) > rbitmap.c:169: (Each undeclared identifier is reported only once > rbitmap.c:169: for each function it appears in.) > rbitmap.c:169: `PNG_COMPRESSION_TYPE_BASE' undeclared (first use in this > function) > rbitmap.c:170: `PNG_FILTER_TYPE_BASE' undeclared (first use in this function) > make[5]: *** [rbitmap.o] Error 1 > make[5]: Leaving directory `/home/nick/R/R-1.2.3/src/unix/X11' > make[4]: *** [R] Error 2 > make[4]: Leaving directory `/home/nick/R/R-1.2.3/src/unix/X11' > make[3]: *** [DLLs] Error 1 > make[3]: Leaving directory `/home/nick/R/R-1.2.3/src/unix' > make[2]: *** [R] Error 2 > make[2]: Leaving directory `/home/nick/R/R-1.2.3/src/main' > make[1]: *** [R] Error 1 > make[1]: Leaving directory `/home/nick/R/R-1.2.3/src' > make: *** [R] Error 1 > > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._