From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Hotbar 4.0) Description of problem: Following error occurs when trying to run make on rpm 4.0.4 having run >./autogen.sh -noconfigure (completes) >./configure (completes) >make (produces following error) 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 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Run autogen.sh + Configure 2.Run Make 3. Actual Results: Installation stops Expected Results: Installation to go OK Additional info:
What platform? FWIW, there's a fnmatch in the misc directory. Adding -I$(top_srcdir)/misc to INCLUDES in the Makefile, and -lmisc to linkage lines will be the fix.
Platform: It's LFS 3.2 (see www.linuxfromscratch.org) running kernel 2.4.19 (ext3 filesystem). Running on a single Pentium 3.
add fnmatch from the misc directory to build.