Problems compiling coreutils-8.5 on Solaris 5.10 on Intel platform
Posted
by PP
on Server Fault
See other posts from Server Fault
or by PP
Published on 2010-06-11T08:45:03Z
Indexed on
2010/06/11
8:53 UTC
Read the original article
Hit count: 324
I am having trouble compiling coreutils-8.5 on Solaris 5.10 on the Intel platform using cc
.
Firstly I had the following error during ./configure
:
checking whether <wchar.h> uses 'inline' correctly... no
configure: error: <wchar.h> cannot be used with this compiler (/tool/sunstudio12.1/bin/cc -xc99=all -g -D_REENTRANT).
This seemed similar to the problem in this question. The solution was to edit configure
and replace the reference of -xc99=all
to -xc99=all,no_lib
.
This permitted the configure to complete.
Then I ran /usr/sfw/bin/gmake
and it progressed until I received the following message:
Making all in src
gmake[2]: Entering directory `/home/peterp/src/coreutils-8.5/src'
gmake all-am
gmake[3]: Entering directory `/home/peterp/src/coreutils-8.5/src'
CCLD chroot
Undefined first referenced
symbol in file
eaccess ../lib/libcoreutils.a(euidaccess.o)
ld: fatal: Symbol referencing errors. No output written to chroot
What could cause this problem?
PS I was only compiling coreutils because I wanted colour ls
.
© Server Fault or respective owner