unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* bootstrap fails in HEAD/xdisp.c (Was: make bootstrap is failed in unicode-xft branch 20060828)
       [not found] <1156758605.2679.15.camel@localhost.localdomain>
@ 2006-08-28 10:31 ` Jan Djärv
  2006-08-28 11:07   ` Kenichi Handa
  2006-08-28 12:03   ` bootstrap fails in HEAD/xdisp.c Kim F. Storm
  0 siblings, 2 replies; 7+ messages in thread
From: Jan Djärv @ 2006-08-28 10:31 UTC (permalink / raw)
  Cc: emacs-unicode, emacs-devel

This happens in HEAD also, and emacs-unicode2.  I guess it must be fixed in 
HEAD and merged in to the other branches.  I'm not sure what the correct fix 
is though.

	Jan D.

sangu skrev:
> $]./configure --without-x
> $]make bootstrap
> [...]
> gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H   -I.
> -I/home/sangu/Work/cvs/emacs/src -D_BSD_SOURCE -I/usr/include/alsa -g
> -O2 -Wno-pointer-sign  -I/usr/include/freetype2 pre-crt0.c
> gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H   -I.
> -I/home/sangu/Work/cvs/emacs/src -D_BSD_SOURCE -I/usr/include/alsa -g
> -O2 -Wno-pointer-sign  -I/usr/include/freetype2 dispnew.c
> gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H   -I.
> -I/home/sangu/Work/cvs/emacs/src -D_BSD_SOURCE -I/usr/include/alsa -g
> -O2 -Wno-pointer-sign  -I/usr/include/freetype2 frame.c
> gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H   -I.
> -I/home/sangu/Work/cvs/emacs/src -D_BSD_SOURCE -I/usr/include/alsa -g
> -O2 -Wno-pointer-sign  -I/usr/include/freetype2 scroll.c
> gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H   -I.
> -I/home/sangu/Work/cvs/emacs/src -D_BSD_SOURCE -I/usr/include/alsa -g
> -O2 -Wno-pointer-sign  -I/usr/include/freetype2 xdisp.c
> xdisp.c: In function ‘handle_auto_composed_prop’:
> xdisp.c:4521: error: ‘enable_font_backend’ undeclared (first use in this
> function)
> xdisp.c:4521: error: (Each undeclared identifier is reported only once
> xdisp.c:4521: error: for each function it appears in.)
> xdisp.c: In function ‘get_window_cursor_type’:
> xdisp.c:21556: warning: initialization makes pointer from integer
> without a cast
> xdisp.c:21557: error: dereferencing pointer to incomplete type
> xdisp.c:21557: error: dereferencing pointer to incomplete type
> xdisp.c:21557: error: invalid type argument of ‘->’
> xdisp.c:21562: error: dereferencing pointer to incomplete type
> xdisp.c:21563: error: dereferencing pointer to incomplete type
> make[2]: *** [xdisp.o] Error 1
> make[2]: Leaving directory `/home/sangu/Work/cvs/emacs/src'
> make[1]: *** [bootstrap-build] Error 2
> make[1]: Leaving directory `/home/sangu/Work/cvs/emacs'
> make: *** [bootstrap] Error 2
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bootstrap fails in HEAD/xdisp.c (Was: make bootstrap is failed in unicode-xft branch 20060828)
  2006-08-28 10:31 ` bootstrap fails in HEAD/xdisp.c (Was: make bootstrap is failed in unicode-xft branch 20060828) Jan Djärv
@ 2006-08-28 11:07   ` Kenichi Handa
  2006-08-28 11:37     ` Jan Djärv
  2006-08-28 11:51     ` sangu
  2006-08-28 12:03   ` bootstrap fails in HEAD/xdisp.c Kim F. Storm
  1 sibling, 2 replies; 7+ messages in thread
From: Kenichi Handa @ 2006-08-28 11:07 UTC (permalink / raw)
  Cc: sangu.fedora, emacs-unicode, emacs-devel

In article <44F2C61D.7080807@swipnet.se>, Jan Djärv <jan.h.d@swipnet.se> writes:

> This happens in HEAD also, and emacs-unicode2.  I guess it must be fixed in 
> HEAD and merged in to the other branches.  I'm not sure what the correct fix 
> is though.

Yes, for the following errors:

> > xdisp.c: In function ‘get_window_cursor_type’:
> > xdisp.c:21556: warning: initialization makes pointer from integer
> > without a cast
> > xdisp.c:21557: error: dereferencing pointer to incomplete type
> > xdisp.c:21557: error: dereferencing pointer to incomplete type
> > xdisp.c:21557: error: invalid type argument of ‘->’
> > xdisp.c:21562: error: dereferencing pointer to incomplete type
> > xdisp.c:21563: error: dereferencing pointer to incomplete type

But, I don't understand why the following error happens.

> > xdisp.c: In function ‘handle_auto_composed_prop’:
> > xdisp.c:4521: error: ‘enable_font_backend’ undeclared (first use in this
> > function)
> > xdisp.c:4521: error: (Each undeclared identifier is reported only once
> > xdisp.c:4521: error: for each function it appears in.)

At least, it doesn't happen for me.  Please search
src/config.h for the line containing "USE_FONT_BACKEND".
With "./configure --without-x", it should be like this:

/* #undef USE_FONT_BACKEND */

---
Kenichi Handa
handa@m17n.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bootstrap fails in HEAD/xdisp.c (Was: make bootstrap is failed in unicode-xft branch 20060828)
  2006-08-28 11:07   ` Kenichi Handa
@ 2006-08-28 11:37     ` Jan Djärv
  2006-08-28 11:51     ` sangu
  1 sibling, 0 replies; 7+ messages in thread
From: Jan Djärv @ 2006-08-28 11:37 UTC (permalink / raw)
  Cc: sangu.fedora, emacs-unicode, emacs-devel



Kenichi Handa skrev:
> In article <44F2C61D.7080807@swipnet.se>, Jan Djärv <jan.h.d@swipnet.se> writes:
> 
>> This happens in HEAD also, and emacs-unicode2.  I guess it must be fixed in 
>> HEAD and merged in to the other branches.  I'm not sure what the correct fix 
>> is though.
> 
> Yes, for the following errors:
> 
>>> xdisp.c: In function ‘get_window_cursor_type’:
>>> xdisp.c:21556: warning: initialization makes pointer from integer
>>> without a cast
>>> xdisp.c:21557: error: dereferencing pointer to incomplete type
>>> xdisp.c:21557: error: dereferencing pointer to incomplete type
>>> xdisp.c:21557: error: invalid type argument of ‘->’
>>> xdisp.c:21562: error: dereferencing pointer to incomplete type
>>> xdisp.c:21563: error: dereferencing pointer to incomplete type
> 
> But, I don't understand why the following error happens.
> 
>>> xdisp.c: In function ‘handle_auto_composed_prop’:
>>> xdisp.c:4521: error: ‘enable_font_backend’ undeclared (first use in this
>>> function)
>>> xdisp.c:4521: error: (Each undeclared identifier is reported only once
>>> xdisp.c:4521: error: for each function it appears in.)
> 

This is just in the unicode-xft branch.  I have fixed it.  I didn't think 
anybody would compile the Xft branch without X, which is kind of pointless.

	Jan D.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bootstrap fails in HEAD/xdisp.c (Was: make bootstrap is failed in unicode-xft branch 20060828)
  2006-08-28 11:07   ` Kenichi Handa
  2006-08-28 11:37     ` Jan Djärv
@ 2006-08-28 11:51     ` sangu
  2006-09-02  2:48       ` Kenichi Handa
  1 sibling, 1 reply; 7+ messages in thread
From: sangu @ 2006-08-28 11:51 UTC (permalink / raw)
  Cc: emacs-unicode, Jan Djärv, emacs-devel



2006-08-28 (월), 20:07 +0900, Kenichi Handa 쓰시길:
> But, I don't understand why the following error happens.
> 
> > > xdisp.c: In function ‘handle_auto_composed_prop’:
> > > xdisp.c:4521: error: ‘enable_font_backend’ undeclared (first use in this
> > > function)
> > > xdisp.c:4521: error: (Each undeclared identifier is reported only once
> > > xdisp.c:4521: error: for each function it appears in.)
> 
> At least, it doesn't happen for me.  Please search
> src/config.h for the line containing "USE_FONT_BACKEND".
> With "./configure --without-x", it should be like this:
> 
> /* #undef USE_FONT_BACKEND */
> 
> ---
> Kenichi Handa
> handa@m17n.org

emacs]$ ./configure --without-x
emacs]$ cat src/config.h | grep BACKEND
#define USE_FONT_BACKEND 1

emacs]$ ./configure --without-x --disable-font-backen
emacs]$ cat src/config.h | grep BACKEND
/* #undef USE_FONT_BACKEND */

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bootstrap fails in HEAD/xdisp.c
  2006-08-28 10:31 ` bootstrap fails in HEAD/xdisp.c (Was: make bootstrap is failed in unicode-xft branch 20060828) Jan Djärv
  2006-08-28 11:07   ` Kenichi Handa
@ 2006-08-28 12:03   ` Kim F. Storm
  2006-08-28 12:07     ` Kenichi Handa
  1 sibling, 1 reply; 7+ messages in thread
From: Kim F. Storm @ 2006-08-28 12:03 UTC (permalink / raw)
  Cc: sangu, emacs-unicode, emacs-devel

Jan Djärv <jan.h.d@swipnet.se> writes:

> This happens in HEAD also, and emacs-unicode2.  I guess it must be
> fixed in HEAD and merged in to the other branches.  I'm not sure what
> the correct fix is though.
>
>> xdisp.c: In function ‘get_window_cursor_type’:
>> xdisp.c:21556: warning: initialization makes pointer from integer
>> without a cast
>> xdisp.c:21557: error: dereferencing pointer to incomplete type
>> xdisp.c:21557: error: dereferencing pointer to incomplete type
>> xdisp.c:21557: error: invalid type argument of ‘->’
>> xdisp.c:21562: error: dereferencing pointer to incomplete type
>> xdisp.c:21563: error: dereferencing pointer to incomplete type

This part should be fixed now (on trunk).

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bootstrap fails in HEAD/xdisp.c
  2006-08-28 12:03   ` bootstrap fails in HEAD/xdisp.c Kim F. Storm
@ 2006-08-28 12:07     ` Kenichi Handa
  0 siblings, 0 replies; 7+ messages in thread
From: Kenichi Handa @ 2006-08-28 12:07 UTC (permalink / raw)
  Cc: sangu.fedora, jan.h.d, emacs-unicode, emacs-devel

In article <m3y7t9cbiq.fsf@kfs-l.imdomain.dk>, storm@cua.dk (Kim F. Storm) writes:

> Jan Djärv <jan.h.d@swipnet.se> writes:
> > This happens in HEAD also, and emacs-unicode2.  I guess it must be
> > fixed in HEAD and merged in to the other branches.  I'm not sure what
> > the correct fix is though.
> >
>>> xdisp.c: In function ‘get_window_cursor_type’:
>>> xdisp.c:21556: warning: initialization makes pointer from integer
>>> without a cast
>>> xdisp.c:21557: error: dereferencing pointer to incomplete type
>>> xdisp.c:21557: error: dereferencing pointer to incomplete type
>>> xdisp.c:21557: error: invalid type argument of ‘->’
>>> xdisp.c:21562: error: dereferencing pointer to incomplete type
>>> xdisp.c:21563: error: dereferencing pointer to incomplete type

> This part should be fixed now (on trunk).

Thank you.

Miles, could you please sync emacs-unicode-2 to HEAD again?

---
Kenichi Handa
handa@m17n.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bootstrap fails in HEAD/xdisp.c (Was: make bootstrap is failed in unicode-xft branch 20060828)
  2006-08-28 11:51     ` sangu
@ 2006-09-02  2:48       ` Kenichi Handa
  0 siblings, 0 replies; 7+ messages in thread
From: Kenichi Handa @ 2006-09-02  2:48 UTC (permalink / raw)
  Cc: emacs-unicode, jan.h.d, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

As Jan wrote,

In article <1156765893.2679.19.camel@localhost.localdomain>, sangu <sangu.fedora@gmail.com> writes:

> 2006-08-28 (월), 20:07 +0900, Kenichi Handa 쓰시길:
[...]
> > At least, it doesn't happen for me.  Please search
> > src/config.h for the line containing "USE_FONT_BACKEND".
> > With "./configure --without-x", it should be like this:
> > 
> > /* #undef USE_FONT_BACKEND */
> > 
> > ---
> > Kenichi Handa
> > handa@m17n.org

> emacs]$ ./configure --without-x
> emacs]$ cat src/config.h | grep BACKEND
> #define USE_FONT_BACKEND 1

> emacs]$ ./configure --without-x --disable-font-backen
> emacs]$ cat src/config.h | grep BACKEND
> /* #undef USE_FONT_BACKEND */

As Jan wrote, it was a bug of unicode-xft branch and is
already fixed.  emacs-unicode-2 branch should not have that
bug.

---
Kenichi Handa
handa@m17n.org

[-- 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] 7+ messages in thread

end of thread, other threads:[~2006-09-02  2:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1156758605.2679.15.camel@localhost.localdomain>
2006-08-28 10:31 ` bootstrap fails in HEAD/xdisp.c (Was: make bootstrap is failed in unicode-xft branch 20060828) Jan Djärv
2006-08-28 11:07   ` Kenichi Handa
2006-08-28 11:37     ` Jan Djärv
2006-08-28 11:51     ` sangu
2006-09-02  2:48       ` Kenichi Handa
2006-08-28 12:03   ` bootstrap fails in HEAD/xdisp.c Kim F. Storm
2006-08-28 12:07     ` Kenichi Handa

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).