On 2008-02-26 16:56-0700 Orion Poplawski wrote: > Marc - > > I'm the Fedora packager for GDL. I'm trying to build GDL against > PLplot 5.9.0 and running into errors: > > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/netcdf-3 > -I/usr/include/hdf -I/usr/include/magick -I/usr/include/netcdf-3 > -I/usr/include/hdf -I/usr/include/hdf -I/usr/include/hdf5 -I/usr/include > -I/usr/include -I/usr/include/python2.5 -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -c -o gdl-plot3d_nr.o `test -f > 'plot3d_nr.cpp' || echo './'`plot3d_nr.cpp > /usr/include/plplot/plplotP.h: In function 'void lib::plgrid3(PLFLT)': > /usr/include/plplot/plplotP.h:407: error: too few arguments to function > 'void pldtik(PLFLT, PLFLT, PLFLT*, PLINT*, PLBOOL)' > plot3d_nr.cpp:220: error: at this point in file > plot3d_nr.cpp: In function 'void lib::plnxtvhi(PLINT*, PLINT*, PLFLT*, > PLINT, PLINT)': > > > It looks like the arguments to pldtik() have changed.
Yes, that was revision 8082 where Andrew appended an extra PLBOOL argument, see http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/src/pldtik.c?r1=6212&r2=8082. If GDL is actually using this internal function, can't you just change the pldtik call(s) appropriately by inserting a FALSE as the last argument? Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
