Prana <[EMAIL PROTECTED]> writes:
> Hi guys,
> Mandrake Update Robot (the daemon for large network) is near the final
> stage now. I have stabilize it, increased the security, enable to run it
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)
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
engine.cpp: In method `bool drakupdate::download_all_selected_rpms ()':
engine.cpp:582: warning: no return statement in function returning non-void
engine.cpp: In method `bool drakupdate::install_one_rpm_package (string *)':
engine.cpp:719: cannot convert `void *(*) (headerToken *, rpmCallbackType_e, long
unsigned int, long unsigned int, const void *, void *)' to `void *(*) (const void *,
rpmCallbackType_e, long unsigned int, long unsigned int, const void *, void *)' for
argument `2' to `rpmRunTransactions (rpmTransactionSet_s *, void *(*) (const void *,
rpmCallbackType_e, long unsigned int, long unsigned int, const void *, void *), void
*, rpmProblemSet_s *, rpmProblemSet_s **, int, int)'
engine.cpp:723: warning: no return statement in function returning non-void
engine.cpp: In method `bool drakupdate::install_all_selected_rpms ()':
engine.cpp:739: warning: no return statement in function returning non-void
Are you using a 7.2 to build it?
cu Pixel.