[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compilation failure with Sun WorkShop 6
From: |
Hiroshi Fujishima |
Subject: |
Compilation failure with Sun WorkShop 6 |
Date: |
Mon, 28 Jun 2004 18:56:56 +0900 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (usg-unix-v) |
make bootstrap fail with Sun WorkShop compiler.
% cc -V
cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
usage: cc [ options] files. Use 'cc -flags' for details
% gmake bootstrap
[...]
cc -c -DHAVE_CONFIG_H -I. -I../src -I/usr/local/work/emacs/lib-src
-I/usr/local/work/emacs/lib-src/../src -g -O
/usr/local/work/emacs/lib-src/getopt.c
"/usr/include/stdio.h", line 265: identifier redeclared: getopt
current : function(int, pointer to pointer to char, pointer to char)
returning int
previous: function(int, pointer to const pointer to char, pointer to
const char) returning int : "/usr/include/stdlib.h", line 189
"/usr/include/stdio.h", line 267: identifier redeclared: getsubopt
current : function(pointer to pointer to char, pointer to pointer to
char, pointer to pointer to char) returning int
previous: function(pointer to pointer to char, pointer to const pointer
to char, pointer to pointer to char) returning int : "/usr/include/stdlib.h",
line 165
cc: acomp failed for /usr/local/work/emacs/lib-src/getopt.c
gmake[1]: *** [getopt.o] Error 2
gmake[1]: Leaving directory `/usr/local/work/emacs/lib-src'
gmake: *** [lib-src] Error 2
--
Hiroshi Fujishima
- Compilation failure with Sun WorkShop 6,
Hiroshi Fujishima <=