[Rd] Undeclared identifier in make compilation (PR#951)

Nick.Guoth@anu.edu.au Nick.Guoth@anu.edu.au
Mon, 28 May 2001 06:25:15 +0200 (MET DST)

Full_Name: Nick Guoth
Version: 1.2.3
OS: SunOS 5.8 Generic_108528-03
Submission from: (NULL) (

>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
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