From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: failed when compile emacs22 when --with-gtk is specified Date: Sat, 16 Dec 2006 13:25:03 -0500 Message-ID: <877iwrbsw0.fsf@stupidchicken.com> References: <002a01c72122$30b0db50$6301a8c0@Ronald> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1166293512 24275 80.91.229.10 (16 Dec 2006 18:25:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Dec 2006 18:25:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 16 19:25:11 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GveDc-0006pm-Uh for ged-emacs-devel@m.gmane.org; Sat, 16 Dec 2006 19:25:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GveDc-0008Hh-EO for ged-emacs-devel@m.gmane.org; Sat, 16 Dec 2006 13:25:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GveDP-0008DF-Pd for emacs-devel@gnu.org; Sat, 16 Dec 2006 13:24:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GveDO-0008Ah-Qx for emacs-devel@gnu.org; Sat, 16 Dec 2006 13:24:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GveDO-0008AN-Ge for emacs-devel@gnu.org; Sat, 16 Dec 2006 13:24:54 -0500 Original-Received: from [18.19.1.138] (helo=cyd.mit.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GveDN-0006jq-Jn for emacs-devel@gnu.org; Sat, 16 Dec 2006 13:24:53 -0500 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id E89314E44F; Sat, 16 Dec 2006 13:25:03 -0500 (EST) Original-To: "Ronald" In-Reply-To: <002a01c72122$30b0db50$6301a8c0@Ronald> (Ronald's message of "Sat\, 16 Dec 2006 22\:55\:07 +0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63839 Archived-At: "Ronald" writes: > without this option, it's ok, but with this, it failed, the message is > as below. I cannot reproduce this bug. Please read the file BUGS in your Emacs source directory to find out how to file a useful bug report; in particular, provide all the system information included using M-x report-emacs-bug. > 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 > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel