Hello, I tried to make a rpm package from PDL-Graphics-PLplot-0.71.tar.gz woyj cpanspec and rpmbuild but I get an error. I tried to reach the authors, but the addresses do not seem to be good. Is there a way to fix them? Lplot.c:61178:6: warning: unused variable 'RETVAL' [-Wunused-variable] int RETVAL; ^~~~~~ In file included from PLplot.xs:23:0: PLplot.c: In function 'XS_PDL__Graphics__PLplot_plspal1': /usr/lib64/perl5/CORE/XSUB.h:194:28: warning: unused variable 'targ' [-Wunused-variable] #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^ PLplot.c:61203:2: note: in expansion of macro 'dXSTARG' dXSTARG; ^ PLplot.c:61202:6: warning: unused variable 'RETVAL' [-Wunused-variable] int RETVAL; ^~~~~~ PLplot.c: In function 'XS_PDL_plvect': PLplot.xs:58374:9: warning: variable 'objname' set but not used [-Wunused-but-set-variable] char *objname = "PDL"; /* XXX maybe that class should actually depend on the value set ^~~~~~~ PLplot.c: In function 'XS_PDL_plsvect': PLplot.xs:58468:9: warning: variable 'objname' set but not used [-Wunused-but-set-variable] char *objname = "PDL"; /* XXX maybe that class should actually depend on the value set ^~~~~~~ PLplot.c: In function 'XS_PDL_plscmap0': PLplot.xs:58981:9: warning: variable 'objname' set but not used [-Wunused-but-set-variable] char *objname = "PDL"; /* XXX maybe that class should actually depend on the value set ^~~~~~~ PLplot.c: In function 'XS_PDL_plscmap1': PLplot.xs:59063:9: warning: variable 'objname' set but not used [-Wunused-but-set-variable] char *objname = "PDL"; /* XXX maybe that class should actually depend on the value set ^~~~~~~ PLplot.c: In function 'XS_PDL_plscmap0a': PLplot.xs:59477:9: warning: variable 'objname' set but not used [-Wunused-but-set-variable] char *objname = "PDL"; /* XXX maybe that class should actually depend on the value set ^~~~~~~ PLplot.c: In function 'XS_PDL_plscmap1a': PLplot.xs:59565:9: warning: variable 'objname' set but not used [-Wunused-but-set-variable] char *objname = "PDL"; /* XXX maybe that class should actually depend on the value set ^~~~~~~ PLplot.c: In function 'XS_PDL_plscmap1la': PLplot.xs:59653:9: warning: variable 'objname' set but not used [-Wunused-but-set-variable] char *objname = "PDL"; /* XXX maybe that class should actually depend on the value set ^~~~~~~ PLplot.c: In function 'XS_PDL_plsfont': PLplot.xs:59904:9: warning: variable 'objname' set but not used [-Wunused-but-set-variable] char *objname = "PDL"; /* XXX maybe that class should actually depend on the value set ^~~~~~~ PLplot.c: In function 'XS_PDL__Graphics__PLplot_plgfci': PLplot.c:63328:15: warning: unused variable 'RETVAL' [-Wunused-variable] unsigned int RETVAL; ^~~~~~ cc1: some warnings being treated as errors make: *** [Makefile:344: PLplot.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.vJkS9R (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.vJkS9R (%build) =========================================================================== Patrick DUPRÉ | | email: pdupre@xxxxxxx Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France =========================================================================== _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx