From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ronald Newsgroups: gmane.emacs.help Subject: failed to make emacs22 when `--with-gtk' is specified Date: Sat, 16 Dec 2006 19:46:24 +0800 Organization: Bentium Ltd. (CN99) Message-ID: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1166272873 28583 80.91.229.10 (16 Dec 2006 12:41:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Dec 2006 12:41:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 16 13:41:13 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GvYqj-0008FV-Tw for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Dec 2006 13:41:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvYqj-0005HM-7u for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Dec 2006 07:41:09 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!news.yaako.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: 222.125.193.25 Original-X-Trace: news.yaako.com 1166269597 12880 222.125.193.25 (16 Dec 2006 11:46:37 GMT) Original-X-Complaints-To: usenet@news.yaako.com Original-NNTP-Posting-Date: Sat, 16 Dec 2006 11:46:37 +0000 (UTC) User-Agent: Thunderbird 1.5.0.8 (X11/20061117) Original-Xref: shelby.stanford.edu gnu.emacs.help:144025 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39629 Archived-At: without this option, it's ok, but with this, it failed, the message is as below. The build failure: gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -DUSE_GTK -I. -I/home/krishndh/stub/emacs-build/src -D_BSD_SOURCE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wno-pointer-sign xmenu.c In file included from xmenu.c:130: gtkutil.h:163: error: syntax error before '*' token gtkutil.h:165: warning: 'struct scroll_bar' declared inside parameter list gtkutil.h:165: warning: its scope is only this definition or declaration, which is probably not what you want gtkutil.h:179: warning: 'struct scroll_bar' declared inside parameter list gtkutil.h:192: error: syntax error before '*' token gtkutil.h:194: error: syntax error before 'Display' gtkutil.h:195: error: syntax error before '*' token gtkutil.h:196: error: syntax error before '*' token gtkutil.h:204: error: syntax error before 'Pixmap' xmenu.c: In function 'syms_of_xmenu': xmenu.c:3797: error: 'Smenu_bar_open' undeclared (first use in this function) xmenu.c:3797: error: (Each undeclared identifier is reported only once xmenu.c:3797: error: for each function it appears in.) make[2]: *** [xmenu.o] Error 1 make[2]: Leaving directory `/home/krishndh/stub/emacs-build/src' make[1]: *** [bootstrap-build] Error 2 make[1]: Leaving directory `/home/krishndh/stub/emacs-build' make: *** [bootstrap] Error 2