Subject: | can't compile Perl-RPM-0.40 |
running fc3 2.6.9-1.681_FC3
perl v5.8.5
login as root
after successfuly making make file can't make, this is list after running make
gcc -c -I. -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"0.40\" -DXS_VERSION=\"0.40\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" RPM/Database.c -o RPM/Database.o
Database.xs: In function `rpmdb_FETCH':
Database.xs:111: warning: assignment makes pointer from integer without a cast
Database.xs:112: warning: assignment makes pointer from integer without a cast
Database.xs:149: warning: assignment makes pointer from integer without a cast
Database.xs:150: warning: assignment makes pointer from integer without a cast
Database.xs: In function `rpmdb_FIRSTKEY':
Database.xs:200: warning: assignment makes pointer from integer without a cast
Database.xs:201: warning: assignment makes pointer from integer without a cast
Database.xs: In function `rpmdb_find_by_whatever':
Database.xs:306: warning: assignment makes pointer from integer without a cast
Database.xs:311: warning: comparison between pointer and integer
gcc -c -I. -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"0.40\" -DXS_VERSION=\"0.40\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" RPM/Constants.c -o RPM/Constants.o
Constants.xs: In function `constant':
Constants.xs:19: error: `CHECKSIG_GPG' undeclared (first use in this function)
Constants.xs:19: error: (Each undeclared identifier is reported only once
Constants.xs:19: error: for each function it appears in.)
Constants.xs:21: error: `CHECKSIG_MD5' undeclared (first use in this function)
Constants.xs:23: error: `CHECKSIG_PGP' undeclared (first use in this function)
Constants.xs:240: error: `RPMFILE_DONOTUSE' undeclared (first use in this function)
Constants.xs:322: error: `RPMSIG_BAD' undeclared (first use in this function)
Constants.xs:324: error: `RPMSIG_NOKEY' undeclared (first use in this function)
Constants.xs:326: error: `RPMSIG_NOTTRUSTED' undeclared (first use in this function)
Constants.xs:328: error: `RPMSIG_OK' undeclared (first use in this function)
Constants.xs:330: error: `RPMSIG_UNKNOWN' undeclared (first use in this function)
make: *** [RPM/Constants.o] Error 1