Hehehe.. that's odd. If you see my source code, it says this:

#ifdef RPMDBI_PACKAGES
   #define RPM_VERSION_4
#else
   #define RPM_VERSION_3
#endif

then I use #ifdef RPM_VERSION_4 ...

and so on.. hrhmmmmmmmmmm ... what's wrong?
What about the Makefile? Is it okay?

Thanks,
Prana

Pixel wrote:
> lets see ;pp
> 
> > - Compatibility with RPM 4.0 is improved
> 
> g++ -frtti -g -O2 -Werror -I/usr/include -I/usr/include/rpm -c util.cpp -o util.o
> engine.cpp: In method `bool drakupdate::is_rpm_package_installed(string *, string *, 
>string *, string *)':
> engine.cpp:287: `rpmdbFindPackage' undeclared (first use this function)
> engine.cpp:287: (Each undeclared identifier is reported only once for each function 
>it appears in.)
> engine.cpp:289: request for member `count' in `matches', which is of non-aggregate 
>type `_dbiIndexSet *'
> engine.cpp:291: request for member `recs' in `matches', which is of non-aggregate 
>type `_dbiIndexSet *'
> engine.cpp:291: `rpmdbGetRecord' undeclared (first use this function)
> engine.cpp:313: `dbiFreeIndexRecord' undeclared (first use this function)

-- 
Prana <[EMAIL PROTECTED]>
http://www.cyest.org
My GnuPG Key ID: 0x33343FD3 (2000-07-21)
Key fingerprint = F1FB 1F76 8866 0F40 A801  D9DA 6BED 6641 3334 3FD3
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x33343FD3

Reply via email to