> 
> i tried building it:
> 
> a little cleanup
> ftp://ftp.mandrakesoft.com/pub/pixel/MandrakeUpdateRobot-0.7-2mdk.src.rpm
> 
> and here are the pbs:
> 
> g++ -frtti -fwritable-strings -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro 
>-march=i586 -ffast-math -I/usr/include -I/usr/include/rpm -c engine.cpp -o engine.o
> engine.cpp: In method `bool drakupdate::download_mirror ()':
> engine.cpp:253: warning: no return statement in function returning non-void
> engine.cpp: In method `bool drakupdate::is_rpm_package_installed (string *, string 
>*, string *, string *)':
> engine.cpp:300: `rpmdbFindPackage' undeclared (first use this function)
> engine.cpp:300: (Each undeclared identifier is reported only once for each function 
>it appears in.)
> engine.cpp:303: request for member `count' in `matches', which is of non-aggregate 
>type `_dbiIndexSet *'
> engine.cpp:308: request for member `recs' in `matches', which is of non-aggregate 
>type `_dbiIndexSet *'
> engine.cpp:308: `rpmdbGetRecord' undeclared (first use this function)
> engine.cpp:321: `dbiFreeIndexRecord' undeclared (first use this function)
>


Looks like that there is a problem in rpm3/rpm4 portability.

 
> g++ -frtti -fwritable-strings -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro 
>-march=i586 -ffast-math -I/usr/include -I/usr/include/rpm -c drakupdatesetup.cpp -o 
>drakupdatesetup.o


It is not really recommended that -fwritable-strings be used, whenever
possible.

-- 
Geoffrey Lee <[EMAIL PROTECTED]>
李長風

Resignation from Wah Yan College, Hong Kong:
http://devel.mandrakesoft.com/~snailtalk/resignation.html

http://devel.mandrakesoft.com/~snailtalk
ftp://devel.mandrakesoft.com/pub/people/snailtalk

$/usr/games/fortune
Anything that can go wrong will go
Segmentation fault (core dumped)
$


Reply via email to