Sorry, I made a mistake on my first submission of this problem. I was setup to use the generic GNU/Linux RedHat4 system rather then my gnu tools.
echo $PATH /usr/bin:/bin:/usr/X11R6/bin I was trying to build coreutils-6.12 on GNU/Linux RedHat4 and it fails with the errors shown below. I was able to build on GNU/Linux RedHat3 with the same path. ############################################################################# gcc -std=gnu99 -g -O2 -Wl,--as-needed -o ginstall ginstall-install.o ginstall-prog-fprintf.o ginstall-copy.o ginstall-cp-hash.o ../lib/libcoreutils.a ../lib/libcoreutils.a -lselinux -lacl ginstall-install.o(.text+0x40b): In function `install_file_in_file': ../../coreutils-6.12/src/install.c:251: undefined reference to `matchpathcon_init_prefix' collect2: ld returned 1 exit status make[3]: *** [ginstall] Error 1 make[3]: Leaving directory `/mnts/tekfs42/vol/volnb05/wdtold/warrend/gnusrc/200020-coreutils-6.12_gcc-4.2.3/coreutils-6.12_i686_linux2.6_shortpath/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/mnts/tekfs42/vol/volnb05/wdtold/warrend/gnusrc/200020-coreutils-6.12_gcc-4.2.3/coreutils-6.12_i686_linux2.6_shortpath/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnts/tekfs42/vol/volnb05/wdtold/warrend/gnusrc/200020-coreutils-6.12_gcc-4.2.3/coreutils-6.12_i686_linux2.6_shortpath' make: *** [all] Error 2 make: *** No rule to make target `test'. Stop. make install-recursive make[1]: Entering directory `/mnts/tekfs42/vol/volnb05/wdtold/warrend/gnusrc/200020-coreutils-6.12_gcc-4.2.3/coreutils-6.12_i686_linux2.6_shortpath' Making install in lib make[2]: Entering directory `/mnts/tekfs42/vol/volnb05/wdtold/warrend/gnusrc/200020-coreutils-6.12_gcc-4.2.3/coreutils-6.12_i686_linux2.6_shortpath/lib' make install-am make[3]: Entering directory `/mnts/tekfs42/vol/volnb05/wdtold/warrend/gnusrc/200020-coreutils-6.12_gcc-4.2.3/coreutils-6.12_i686_linux2.6_shortpath/lib' make[4]: Entering directory `/mnts/tekfs42/vol/volnb05/wdtold/warrend/gnusrc/200020-coreutils-6.12_gcc-4.2.3/coreutils-6.12_i686_linux2.6_shortpath/lib' test yes != no || /bin/sh /proj/wdtold/warrend/gnusrc/200020-coreutils-6.12_gcc-4.2.3/coreutils-6.12/build-aux/install-sh -d /tools/wdtgnu/coreutils-6.12_2.6_shortpath/lib if test -f /tools/wdtgnu/coreutils-6.12_2.6_shortpath/lib/charset.alias; then \ sed -f ref-add.sed /tools/wdtgnu/coreutils-6.12_2.6_shortpath/lib/charset.alias > /tools/wdtgnu/coreutils-6.12_2.6_shortpath/lib/charset.tmp ; \ /usr/bin/install -c -m 644 /tools/wdtgnu/coreutils-6.12_2.6_shortpath/lib/charset.tmp /tools/wdtgnu/coreutils-6.12_2.6_shortpath/lib/charset.alias ; \ rm -f /tools/wdtgnu/coreutils-6.12_2.6_shortpath/lib/charset.tmp ; \ else \ if test yes = no; then \ sed -f ref-add.sed charset.alias > /tools/wdtgnu/coreutils-6.12_2.6_shortpath/lib/charset.tmp ; \ /usr/bin/install -c -m 644 /tools/wdtgnu/coreutils-6.12_2.6_shortpath/lib/charset.tmp /tools/wdtgnu/coreutils-6.12_2.6_shortpath/lib/charset.alias ; \ rm -f /tools/wdtgnu/coreutils-6.12_2.6_shortpath/lib/charset.tmp ; \ fi ; \ fi make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/mnts/tekfs42/vol/volnb05/wdtold/warrend/gnusrc/200020-coreutils-6.12_gcc-4.2.3/coreutils-6.12_i686_linux2.6_shortpath/lib' make[3]: Leaving directory `/mnts/tekfs42/vol/volnb05/wdtold/warrend/gnusrc/200020-coreutils-6.12_gcc-4.2.3/coreutils-6.12_i686_linux2.6_shortpath/lib' make[2]: Leaving directory `/mnts/tekfs42/vol/volnb05/wdtold/warrend/gnusrc/200020-coreutils-6.12_gcc-4.2.3/coreutils-6.12_i686_linux2.6_shortpath/lib' Making install in src make[2]: Entering directory `/mnts/tekfs42/vol/volnb05/wdtold/warrend/gnusrc/200020-coreutils-6.12_gcc-4.2.3/coreutils-6.12_i686_linux2.6_shortpath/src' make install-am make[3]: Entering directory `/mnts/tekfs42/vol/volnb05/wdtold/warrend/gnusrc/200020-coreutils-6.12_gcc-4.2.3/coreutils-6.12_i686_linux2.6_shortpath/src' gcc -std=gnu99 -g -O2 -Wl,--as-needed -o ginstall ginstall-install.o ginstall-prog-fprintf.o ginstall-copy.o ginstall-cp-hash.o ../lib/libcoreutils.a ../lib/libcoreutils.a -lselinux -lacl ginstall-install.o(.text+0x40b): In function `install_file_in_file': ../../coreutils-6.12/src/install.c:251: undefined reference to `matchpathcon_init_prefix' collect2: ld returned 1 exit status ############################################################################# Here is where I find matchpathcon_init_prefix. I deleted all the change log files. coreutils-6.12 is the untarred source coreutils-6.12_i686_linux2.6 is the parallel build tree ./coreutils-6.12/lib/se-selinux.in.h : static inline int matchpathcon_init_prefix (char const *path, ./coreutils-6.12/src/install.c : /* Calling matchpathcon_init_prefix (NULL, "/first_component/") ./coreutils-6.12/src/install.c : matchpathcon_init_prefix (NULL, prefix); ./coreutils-6.12_i686_linux2.6/src/ginstall-install.o : Binary file ./src/ginstall-install.o matches ############################################################################# Note on the GNU/Linux RedHat3 build I see matchpathcon_init_prefix here ./lib/selinux/selinux.h : static inline int matchpathcon_init_prefix (char const *path, ./src/ginstall-install.o : Binary file ./src/ginstall-install.o matches ./src/ginstall : Binary file ./src/ginstall matches _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils