From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?SmFuIERqw6Rydg==?= Newsgroups: gmane.emacs.devel Subject: Re: failed when compile emacs22 when --with-gtk is specified Date: Sat, 16 Dec 2006 21:37:46 +0100 Message-ID: <4584591A.6080907@swipnet.se> References: <002a01c72122$30b0db50$6301a8c0@Ronald> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1166301528 14932 80.91.229.10 (16 Dec 2006 20:38:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Dec 2006 20:38:48 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 16 21:38:46 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 1GvgIr-0002al-Hr for ged-emacs-devel@m.gmane.org; Sat, 16 Dec 2006 21:38:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvgIr-0003vY-46 for ged-emacs-devel@m.gmane.org; Sat, 16 Dec 2006 15:38:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GvgIe-0003vH-3Y for emacs-devel@gnu.org; Sat, 16 Dec 2006 15:38:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GvgIc-0003uG-B3 for emacs-devel@gnu.org; Sat, 16 Dec 2006 15:38:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvgIc-0003u1-4P for emacs-devel@gnu.org; Sat, 16 Dec 2006 15:38:26 -0500 Original-Received: from [81.228.9.180] (helo=av6-2-sn3.vrr.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GvgIb-0004AH-U8 for emacs-devel@gnu.org; Sat, 16 Dec 2006 15:38:26 -0500 Original-Received: by av6-2-sn3.vrr.skanova.net (Postfix, from userid 502) id BA8C737F6D; Sat, 16 Dec 2006 21:38:24 +0100 (CET) Original-Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av6-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 8EEB137E49; Sat, 16 Dec 2006 21:38:24 +0100 (CET) Original-Received: from husetbladh.homeip.net (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 12B1637E42; Sat, 16 Dec 2006 21:38:21 +0100 (CET) User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) Original-To: Ronald In-Reply-To: <002a01c72122$30b0db50$6301a8c0@Ronald> 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:63849 Archived-At: Ronald skrev: > without this option, it's ok, but with this, it failed, the message is > as below. You obviously lack some X11 development packages. Usually called x11-devel or some such. Jan D. > > 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