emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make bootstrap failure on Solaris 10 (sparc)


From: NAKAJI Hiroyuki
Subject: make bootstrap failure on Solaris 10 (sparc)
Date: Thu, 22 Dec 2005 10:43:19 +0900

Hello,

On Solaris 10 (sparc), the latest CVS Emacs cannot make bootstrap. I used
Sun Studio 11 and GNU Make 3.80.

The error is like this.

cc -c -DHAVE_CONFIG_H -I. -I../src -I/export/home/nakaji/emacs/lib-src 
-I/export/home/nakaji/emacs/lib-src/../src -xtarget=ultra2 -xarch=v9 
-I/usr/pkg/include -xtarget=ultra2 -xarch=v9 -I/usr/pkg/include 
/export/home/nakaji/emacs/lib-src/update-game-score.c \
  -DHAVE_SHARED_GAME_DIR="\"/usr/local/var/games/emacs\"" \
emacstool: /export/home/nakaji/emacs/lib-src/emacstool.c
/export/home/nakaji/emacs/lib-src/update-game-score.c:
/export/home/nakaji/emacs/lib-src/emacstool.c:
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 52: cannot find include 
file: <suntool/sunview.h>
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 53: cannot find include 
file: <suntool/tty.h>
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 54: cannot find include 
file: <suntool/ttysw.h>
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 91: warning: old-style 
declaration or incorrect type for: Frame
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 91: syntax error before 
or at: frame
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 91: warning: old-style 
declaration or incorrect type for: frame
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 95: warning: old-style 
declaration or incorrect type for: Tty
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 95: syntax error before 
or at: tty_win
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 95: warning: old-style 
declaration or incorrect type for: tty_win
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 104: warning: old-style 
declaration or incorrect type for: Tty
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 104: syntax error before 
or at: tty_view
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 104: warning: old-style 
declaration or incorrect type for: tty_view
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 113: warning: old-style 
declaration or incorrect type for: Icon
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 113: syntax error before 
or at: frame_icon
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 113: warning: old-style 
declaration or incorrect type for: frame_icon
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 117: cannot find include 
file: <images/terminal.icon>
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 118: warning: syntax 
error:  empty initializer
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 119: syntax error before 
or at: 64
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 119: warning: function 
prototype parameters must have types
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 119: warning: old-style 
declaration or incorrect type for: mpr_static
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 126: syntax error before 
or at: Event
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 126: warning: old-style 
declaration or incorrect type for: Event
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 126: warning: old-style 
declaration or incorrect type for: event
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 128: syntax error before 
or at: int
"/export/home/nakaji/emacs/lib-src/emacstool.c", line 187: cannot recover from 
previous errors
cc: acomp failed for /export/home/nakaji/emacs/lib-src/emacstool.c
gmake[2]: *** [update-game-score.o] Error 2
gmake[2]: Leaving directory `/export/home/nakaji/emacs/lib-src'

I think the extra "\" causes this error,

  -DHAVE_SHARED_GAME_DIR="\"/usr/local/var/games/emacs\"" \
                                                          ^
which appears at line:468 of lib-src/Makefile.in.

Here is one line diff.

Index: lib-src/Makefile.in
===================================================================
RCS file: /cvsroot/emacs/emacs/lib-src/Makefile.in,v
retrieving revision 1.145
diff -u -r1.145 Makefile.in
--- lib-src/Makefile.in 15 Sep 2005 13:08:01 -0000      1.145
+++ lib-src/Makefile.in 21 Dec 2005 05:23:28 -0000
@@ -465,7 +465,7 @@
 
 update-game-score.o: ${srcdir}/update-game-score.c ../src/config.h $(GETOPT_H)
        $(CC) -c ${CPP_CFLAGS} ${srcdir}/update-game-score.c \
-         -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \
+         -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\""
 
 /* These are NOT included in INSTALLABLES or UTILITIES.
    See ../src/Makefile.in.  */

Thanks.
-- 
NAKAJI Hiroyuki




reply via email to

[Prev in Thread] Current Thread [Next in Thread]