I've got exactly the same problem, line for line :P The code around line #255 of pngconf.h is a block of macros;
249: # ifdef __linux__ 250: # ifdef _BSD_SOURCE 251: # define PNG_SAVE_BSD_SOURCE 252: # undef _BSD_SOURCE 253: # endif 254: # ifdef _SETJMP_H 255: __png.h__ already includes setjmp.h; 256: __dont__ include it again.; 257: # endif 258: # endif /* __linux__ */ 'setjmp.h' message or something? On Thu, 2004-02-05 at 10:17, Johannes BrÃgmann wrote: > Hello all, > > building gnuplot I get the following error message: > > gcc -DHAVE_CONFIG_H -I. -I. -I/usr/X11R6/include -O3 -march=athlon > -fomit-frame-pointer -funroll-loops -pipe -I./term -I./term -c term.c > gcc -DHAVE_CONFIG_H -I. -I. -I/usr/X11R6/include -O3 -march=athlon > -fomit-frame-pointer -funroll-loops -pipe -c time.c > gcc -DHAVE_CONFIG_H -I. -I. -I/usr/X11R6/include -O3 -march=athlon > -fomit-frame-pointer -funroll-loops -pipe -c util.c > gcc -DHAVE_CONFIG_H -I. -I. -I/usr/X11R6/include -O3 -march=athlon > -fomit-frame-pointer -funroll-loops -pipe -c util3d.c > gcc -DHAVE_CONFIG_H -I. -I. -I/usr/X11R6/include -O3 -march=athlon > -fomit-frame-pointer -funroll-loops -pipe > -DCONTACT=\"[EMAIL PROTECTED]" -c version.c > gcc -DHAVE_CONFIG_H -I. -I. -I/usr/X11R6/include -O3 -march=athlon > -fomit-frame-pointer -funroll-loops -pipe -c gplt_x11.c > In file included from /usr/include/png.h:332, > from term/png.trm:95, > from term.h:383, > from term.c:699: > /usr/include/pngconf.h:255: error: syntax error before '.' token > In file included from term.h:221, > from term.c:817: > term/linux.trm:330: warning: initialization from incompatible pointer > type > cd docs && make - --jobserver-fds=3,5 -j > make[1]: Entering directory > `/var/tmp/portage/gnuplot-3.7.3-r1/work/gnuplot-3.7.3/docs' > gcc -DHAVE_CONFIG_H -I.. -I.. -I../term -I. -I/usr/X11R6/include -O3 > -march=athlon -fomit-frame-pointer -funroll-loops -pipe -c doc2gih.c > make: *** [term.o] Error 1 > make: *** Waiting for unfinished jobs.... > gcc -DHAVE_CONFIG_H -I.. -I.. -I../term -I. -I/usr/X11R6/include -O3 > -march=athlon -fomit-frame-pointer -funroll-loops -pipe -c termdoc.c > gcc -DHAVE_CONFIG_H -I.. -I.. -I../term -I. -I/usr/X11R6/include -O3 > -march=athlon -fomit-frame-pointer -funroll-loops -pipe -c doc2info.c > gcc -DHAVE_CONFIG_H -I.. -I.. -I../term -I. -I/usr/X11R6/include -O3 > -march=athlon -fomit-frame-pointer -funroll-loops -pipe -c xref.c > gcc -O3 -march=athlon -fomit-frame-pointer -funroll-loops -pipe -o > doc2gih doc2gih.o termdoc.o -lm > gcc -O3 -march=athlon -fomit-frame-pointer -funroll-loops -pipe -o > doc2info doc2info.o termdoc.o xref.o -lm > ./doc2gih ./gnuplot.doc gnuplot.gih > ./doc2info ./gnuplot.doc gnuplot.info > make[1]: Leaving directory > `/var/tmp/portage/gnuplot-3.7.3-r1/work/gnuplot-3.7.3/docs' > > !!! ERROR: media-gfx/gnuplot-3.7.3-r1 failed. > !!! Function src_compile, Line 70, Exitcode 2 > !!! (no error message) > > What am I doing wrong? > USE-Flags: > media-gfx/gnuplot-3.7.3-r1 +X +doc +pdflib +plotutils +readline +svga 0 kB > > Regards, > Johannes -- http://www.mattsscripts.co.uk/ - A great source for free CGI and stuff Ashes to ashes, dust to dust, If God won't have you, the devil must. -- [EMAIL PROTECTED] mailing list