[Apt-Rpm] Compilation issues with 0.5.15lorg3.94a (rpmpm.cc)

Vincent Danen vdanen at annvix.org
Thu Mar 6 07:59:37 PST 2008


Ok, first hurdle:

  g++ -DHAVE_CONFIG_H -I. -I../include -I../include/apt-pkg -DLIBDIR=\"/usr/lib\" -DPKGDATADIR=\"/usr/share/apt\" -DLOCALEDIR=\"/usr/share/locale\" -DAPT_DOMAIN=\"apt\" -I../lua/include -I../lua/local -I/usr/include/libxml2 -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fexceptions -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -MT rpm/rpmpm.lo -MD -MP -MF rpm/.deps/rpmpm.Tpo -c rpm/rpmpm.cc  -fPIC -DPIC -o rpm/.libs/rpmpm.o
rpm/rpmpm.cc: In member function 'virtual bool pkgRPMLibPM::Process(std::vector<const char*, std::allocator<const char*> >&, std::vector<const char*, std::allocator<const char*> >&, std::vector<const char*, std::allocator<const char*> >&)':
rpm/rpmpm.cc:907: error: invalid conversion from 'void* (*)(const void*, rpmCallbackType, rpmCallbackSize_t, rpmCallbackSize_t, const void*, void*)' to 'void* (*)(const void*, rpmCallbackType, long long unsigned int, long long unsigned int, const void*, void*)'
rpm/rpmpm.cc:907: error:   initializing argument 2 of 'int rpmtsSetNotifyCallback(rpmts_s*, void* (*)(const void*, rpmCallbackType, long long unsigned int, long long unsigned int, const void*, void*), void*)'
make[1]: *** [rpm/rpmpm.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/vdanen/svn/3.1-CURRENT/apt/BUILD/apt-0.5.15lorg3.94a/apt-pkg'
make: *** [all-recursive] Error 1
error: Bad exit status from /home/vdanen/tmp/rpm-tmp.67969 (%build)

Using gcc 4.1.2.  This is just a bunch of mumbojumbo to me, so I have no
idea what the problem is.  This is with 0.5.15lorg3.94a, with the
selectprovider-0 patch you posted to the list (but which doesn't seem to
be the problem as I don't see it touching rpmpm.cc).

-- 
Vincent Danen @ http://linsec.ca/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/attachments/20080306/e310bd7a/attachment-0002.pgp>


More information about the Apt-Rpm mailing list