* failed when compile emacs22 when --with-gtk is specified
@ 2006-12-16 14:55 Ronald
2006-12-16 18:25 ` Chong Yidong
2006-12-16 20:37 ` Jan Djärv
0 siblings, 2 replies; 3+ messages in thread
From: Ronald @ 2006-12-16 14:55 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 1528 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1986 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: failed when compile emacs22 when --with-gtk is specified
2006-12-16 14:55 failed when compile emacs22 when --with-gtk is specified Ronald
@ 2006-12-16 18:25 ` Chong Yidong
2006-12-16 20:37 ` Jan Djärv
1 sibling, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2006-12-16 18:25 UTC (permalink / raw)
Cc: emacs-devel
"Ronald" <followait@163.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: failed when compile emacs22 when --with-gtk is specified
2006-12-16 14:55 failed when compile emacs22 when --with-gtk is specified Ronald
2006-12-16 18:25 ` Chong Yidong
@ 2006-12-16 20:37 ` Jan Djärv
1 sibling, 0 replies; 3+ messages in thread
From: Jan Djärv @ 2006-12-16 20:37 UTC (permalink / raw)
Cc: emacs-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-16 20:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-16 14:55 failed when compile emacs22 when --with-gtk is specified Ronald
2006-12-16 18:25 ` Chong Yidong
2006-12-16 20:37 ` Jan Djärv
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).