make failed for me:
- non-root
- Solaris 10:
$ uname -a
SunOS avanti 5.10 Generic_127111-08 sun4u sparc SUNW,SPARC-Enterprise
- Compiler:
$ cc -V
cc: Forte Developer 7 C 5.4 2002/03/09
- ./configure --prefix=/user/ecs2 --disable-nls
- Make output snippet:
CC sort.o
"sort.c", line 1705: syntax error before or at: [
"sort.c", line 1709: invalid type combination
"sort.c", line 1709: warning: initialization type mismatch
"sort.c", line 1709: non-constant initializer: op "NAME"
"sort.c", line 1838: cannot recover from previous errors
cc: acomp failed for sort.c
*** Error code 2
The following command caused the error:
echo " CC " sort.o; \
source='sort.c' object='sort.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \
cc -I. -I../lib -I../lib -g -c sort.c
make: Fatal error: Command failed for target `sort.o'
Code place (src/sort.c):
1704 static const char orders [UCHAR_LIM] = {
1705 ['K']=1, ['M']=2, ['G']=3, ['T']=4, ['P']=5, ['E']=6, ['Z']=7,
['Y']=8,
1706 ['k']=1,
1707 };
I don't know if Solaris plus the Sun compiler collection is
supposed to be supported by the coreutils team, but I didn't
have problems with older versions (e.g. 6.10). I'd be happy
if I could continue using GNU coreutils on that platform ;-)
Need more info?
Have a nice day,
Berny