[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
build of coreutils-6.12 on GNU/Linux RedHat4 fails
From: |
Warren L Dodge |
Subject: |
build of coreutils-6.12 on GNU/Linux RedHat4 fails |
Date: |
Fri, 3 Oct 2008 12:50:46 -0700 |
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.
The gcc I am using is 4.2.3. It was built on GNU/Linux RedHat3.
#############################################################################
gcc -std=gnu99 -I. -I../../coreutils-6.12/src -I../lib
-DENABLE_MATCHPATHCON=1 -I../../coreutils-6.12/lib -g -O2 -MT
ginstall-install.o -MD -MP -MF .deps/ginstall-install.Tpo -c -o
ginstall-install.o `test -f 'install.c' || echo
'../../coreutils-6.12/src/'`install.c
../../coreutils-6.12/src/install.c: In function `setdefaultfilecon':
../../coreutils-6.12/src/install.c:251: warning: implicit declaration of
function `matchpathcon_init_prefix'
mv -f .deps/ginstall-install.Tpo .deps/ginstall-install.Po
gcc -std=gnu99 -I. -I../../coreutils-6.12/src -I../lib
-DENABLE_MATCHPATHCON=1 -I../../coreutils-6.12/lib -g -O2 -MT
ginstall-prog-fprintf.o -MD -MP -MF .deps/ginstall-prog-fprintf.Tpo -c -o
ginstall-prog-fprintf.o `test -f 'prog-fprintf.c' || echo
'../../coreutils-6.12/src/'`prog-fprintf.c
mv -f .deps/ginstall-prog-fprintf.Tpo .deps/ginstall-prog-fprintf.Po
gcc -std=gnu99 -I. -I../../coreutils-6.12/src -I../lib
-DENABLE_MATCHPATHCON=1 -I../../coreutils-6.12/lib -g -O2 -MT ginstall-copy.o
-MD -MP -MF .deps/ginstall-copy.Tpo -c -o ginstall-copy.o `test -f 'copy.c' ||
echo '../../coreutils-6.12/src/'`copy.c
mv -f .deps/ginstall-copy.Tpo .deps/ginstall-copy.Po
gcc -std=gnu99 -I. -I../../coreutils-6.12/src -I../lib
-DENABLE_MATCHPATHCON=1 -I../../coreutils-6.12/lib -g -O2 -MT
ginstall-cp-hash.o -MD -MP -MF .deps/ginstall-cp-hash.Tpo -c -o
ginstall-cp-hash.o `test -f 'cp-hash.c' || echo
'../../coreutils-6.12/src/'`cp-hash.c
mv -f .deps/ginstall-cp-hash.Tpo .deps/ginstall-cp-hash.Po
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.4/lib/selinux/selinux.h : static inline int
matchpathcon_init_prefix (char const *path,
./coreutils-6.12_i686_linux2.4/src/ginstall-install.o : Binary file
./coreutils-6.12_i686_linux2.4/src/ginstall-install.o matches
./coreutils-6.12_i686_linux2.4/src/ginstall : Binary file
./coreutils-6.12_i686_linux2.4/src/ginstall matches
./coreutils-6.12_i686_linux2.6/src/ginstall-install.o : Binary file
./coreutils-6.12_i686_linux2.6/src/ginstall-install.o matches
- build of coreutils-6.12 on GNU/Linux RedHat4 fails,
Warren L Dodge <=