|
From: Heiko Z. <he...@zu...> - 2003-10-31 01:01:18
|
Bruce Smith wrote: >>>>Could it be that some other libraries cause problems ? >>>> >>>> >>>No, I tracked it down. It's heimdal that's causing the problem. >>>heimdal replaces "/usr/include/fnmatch.h" with it's own include, >>>and that version doesn't define some constants needed by busybox. >>> >>>I'm not sure the right way to "fix" this problem. >>> >>>I could omit compiling heimdal from menuconfig ... :-) >>> >>>Or I could change the order so busybox compiles before heimdal, >>>but I don't know what other packages after heimdal would abort. >>> >>>Or I could change the heimdal script to restore the include file >>>after it's done compiling. >>> >>> >>Crap! I hate when that happens... >>Check out who else a fnmatch.h : find build/tmp -name "fnmatch\.h" >> >> > >Been there, done that (while tracking this down). > >-r--r--r-- 1 games 300 2606 Sep 14 1996 ./cdrtools-2.0/mkisofs/fnmatch.h >-rw------- 1 4770 43 2373 Dec 5 2001 ./cpio-2.5/fnmatch.h >-r--r--r-- 1 9080 bin 2349 Sep 26 1994 ./findutils-4.1/lib/fnmatch.h >-rw-r--r-- 1 3508 43 2426 Mar 14 2001 ./gcc-3.2.3/include/fnmatch.h >-rw-r--r-- 1 fred fred 84 Aug 4 2002 ./glibc-2.3.2/include/fnmatch.h >-rw-r--r-- 1 fred fred 2998 Jul 7 2001 ./glibc-2.3.2/posix/fnmatch.h >-rw-r--r-- 1 root root 2436 Mar 4 2001 ./grep-2.5/lib/fnmatch.h >-rw-r--r-- 1 root root 2285 Oct 30 15:33 ./heimdal-0.6/include/fnmatch.h >-rw-r--r-- 1 root root 2285 Oct 30 15:33 ./heimdal-0.6/lib/roken/fnmatch.h >-rw-r--r-- 1 104 503 3028 Mar 26 2001 ./lftp-2.6.6/lib/fnmatch.h >-rwxr----- 1 root root 1416 Jan 2 1997 ./pd-cvs-1.10.8-PD2/lib/fnmatch.h >-rw-r--r-- 1 2161 2161 2959 Mar 10 2000 ./rpm-4.0.4/misc/fnmatch.h >-rw-r--r-- 1 501 501 2998 Sep 27 2001 ./uClibc-0.9.19/include/fnmatch.h > >Lots of different sizes. Which one is the "right" one? :-) > > I would say the glibc one. >>For now I would say, let heimdal restore the original file. >> >> > >It appears that heimdal replaces about 40 include files, judging from >the modification times of the files in /usr/include. What other >problems is this going to cause? > >Should we make heimdal compile dead last? (if so, how do I do that?) >Or switch back to krb5 ... ? :-) > >Or is there some way to compile heimdal and tell it NOT to be mucking >with our /usr/include directory? (the best option IMO) > > krb5 was installed into a separate directory, looks like we should do this again. I'll document a bug . cya Heiko |