More probs with rpm 4.0.4

Chad Simmons polpak at yahoo.com
Thu Aug 29 17:17:05 PDT 2002


--- DaClink <clinks_linux at btopenworld.com> wrote:
> Hi...
> Having replaced the configure file in the db3 directory of rpm4.0.4 (as
> suggested) the install gets slightly further...
> 
> ./autogen.sh -noconfigure
> ./configure
> Completes its run, and there don't seem to be any errors, however on
> running
> Make
> The following error appears.
> 
> 
> rpmdb.c: In function `miregexec':
> rpmdb.c:1654: warning: implicit declaration of function `fnmatch'
> make[2]: *** [rpmdb.lo] Error 1
> make[2]: Leaving directory `/usr/src/working/rpm-4.0.4/rpmdb'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/working/rpm-4.0.4'
> make: *** [all-recursive-am] Error 2
> 
> 
> Any help much appreciated.

Add :

#include <fnmatch.h> 

to the top of rpmdb.c If you get other errors about implicit declaration of
function `foo` try a man `foo` and you probably just need to add the include
indicated..


Chad Simmons

=====
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCS/L/C/O d-(+) s++: a-- C+++$>++++ UBLS++++$ 
P+++(--)$ L+++>++++ E--- W+>++$ N !o K? w(--) !O 
M- !V PS+ PE(++) Y+ PGP->+ t+ 5 X+() R(+) tv+@ 
b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++
------END GEEK CODE BLOCK------

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list