unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Cannot compile for today CVS emacs
@ 2008-03-05  9:37 Misskiss
  2008-03-05 15:15 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Misskiss @ 2008-03-05  9:37 UTC (permalink / raw)
  To: help-gnu-emacs

There is an compile error like below:

make[2]: Entering directory home/cwang39/source/emacs/src'
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H
-I. -I/home/cwang39/source/emacs/src -D_BSD_SOURCE    -g -O2
-Wno-pointer-sign  pre-crt0.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H
-I. -I/home/cwang39/source/emacs/src -D_BSD_SOURCE    -g -O2
-Wno-pointer-sign  dispnew.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H
-I. -I/home/cwang39/source/emacs/src -D_BSD_SOURCE    -g -O2
-Wno-pointer-sign  frame.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H
-I. -I/home/cwang39/source/emacs/src -D_BSD_SOURCE    -g -O2
-Wno-pointer-sign  scroll.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H
-I. -I/home/cwang39/source/emacs/src -D_BSD_SOURCE    -g -O2
-Wno-pointer-sign  xdisp.c
xdisp.c: In function ‘handle_auto_composed_prop’:
xdisp.c:4596: error: ‘enable_font_backend’ undeclared (first use in this
function)
xdisp.c:4596: error: (Each undeclared identifier is reported only once
xdisp.c:4596: error: for each function it appears in.)
make[2]: *** [xdisp.o] Error 1
make[2]: Leaving directory home/cwang39/source/emacs/src'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory home/cwang39/source/emacs'
make: *** [bootstrap] Error 2

Is there any solutions for this? Thanks a lot.

Misskiss
-- 

You will never know hunger.





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

* Re: Cannot compile for today CVS emacs
  2008-03-05  9:37 Cannot compile for today CVS emacs Misskiss
@ 2008-03-05 15:15 ` Peter Dyballa
       [not found] ` <mailman.8348.1204730117.18990.help-gnu-emacs@gnu.org>
  2008-03-05 17:10 ` Peter Dyballa
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2008-03-05 15:15 UTC (permalink / raw)
  To: Misskiss; +Cc: help-gnu-emacs


Am 05.03.2008 um 10:37 schrieb Misskiss:

> Is there any solutions for this?

For me compilation runs fine. I had configure'd with enabled font  
backend.

You could try to 'make clean' and then update again ...


BTW, how comes that on your GNU/Linux system _BSD_SOURCE is defined?  
Even in Mac OS X, which *is* based on FreeBSD, this is not defined ...

--
Greetings

   Pete

Atheism is a non prophet organization.






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

* Re: Cannot compile for today CVS emacs
       [not found] ` <mailman.8348.1204730117.18990.help-gnu-emacs@gnu.org>
@ 2008-03-05 15:59   ` Sven Joachim
  0 siblings, 0 replies; 5+ messages in thread
From: Sven Joachim @ 2008-03-05 15:59 UTC (permalink / raw)
  To: help-gnu-emacs

On 2008-03-05 16:15 +0100, Peter Dyballa wrote:

> BTW, how comes that on your GNU/Linux system _BSD_SOURCE is defined?
> Even in Mac OS X, which *is* based on FreeBSD, this is not defined ...

It is defined in src/s/gnu-linux.h, but it seems to be cruft (the
comment there says it's redundant for glibc based systems, and I doubt
that anyone compiles Emacs on a libc5 system nowadays).

Sven


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

* Re: Cannot compile for today CVS emacs
  2008-03-05  9:37 Cannot compile for today CVS emacs Misskiss
  2008-03-05 15:15 ` Peter Dyballa
       [not found] ` <mailman.8348.1204730117.18990.help-gnu-emacs@gnu.org>
@ 2008-03-05 17:10 ` Peter Dyballa
  2008-03-06  7:51   ` Misskiss
  2 siblings, 1 reply; 5+ messages in thread
From: Peter Dyballa @ 2008-03-05 17:10 UTC (permalink / raw)
  To: Misskiss; +Cc: help-gnu-emacs


Am 05.03.2008 um 10:37 schrieb Misskiss:

> xdisp.c: In function ‘handle_auto_composed_prop’:
> xdisp.c:4596: error: ‘enable_font_backend’ undeclared (first use in  
> this
> function)


Enable_font_backend is defined in src/font.h which is included in  
xdisp.c:

	#ifdef HAVE_WINDOW_SYSTEM
	#ifdef USE_FONT_BACKEND
	#include "font.h"
	#endif	/* USE_FONT_BACKEND */
	#endif	/* HAVE_WINDOW_SYSTEM */

You could try to change directory into the src directory and try on  
the command line an augmented form of the original gcc invocation:

	gcc -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -I. -I/home/cwang39/source/ 
emacs/src -D_BSD_SOURCE -Wno-pointer-sign -dD -E xdisp.c > xdisp.gpp

The output file name is meant to signify that it's pre-compiled. It  
will be quite large, but you would see from where what comes – or  
does not come!


Compilation without enabled font backend works too.

--
Greetings

   Pete

Math illiteracy affects 7 out of every 5 Americans.






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

* Re: Cannot compile for today CVS emacs
  2008-03-05 17:10 ` Peter Dyballa
@ 2008-03-06  7:51   ` Misskiss
  0 siblings, 0 replies; 5+ messages in thread
From: Misskiss @ 2008-03-06  7:51 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=iso-2022-cn, Size: 1764 bytes --]

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 05.03.2008 um 10:37 schrieb Misskiss:
>
>> xdisp.c: In function ^[$A!.^[(Bhandle_auto_composed_prop^[$A!/^[(B:
>> xdisp.c:4596: error: ^[$A!.^[(Benable_font_backend^[$A!/^[(B undeclared (first use in this
>> function)
>
>
> Enable_font_backend is defined in src/font.h which is included in xdisp.c:
>
> 	#ifdef HAVE_WINDOW_SYSTEM
> 	#ifdef USE_FONT_BACKEND
> 	#include "font.h"
> 	#endif	/* USE_FONT_BACKEND */
> 	#endif	/* HAVE_WINDOW_SYSTEM */
>
> You could try to change directory into the src directory and try on the command line an augmented
> form of the original gcc invocation:
>
> 	gcc -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -I. -I/home/cwang39/source/
> emacs/src -D_BSD_SOURCE -Wno-pointer-sign -dD -E xdisp.c > xdisp.gpp
>
> The output file name is meant to signify that it's pre-compiled. It will be quite large, but you
> would see from where what comes ^[$(G!9^[(B or  does not come!
>
>
> Compilation without enabled font backend works too.
>
> --
> Greetings
>
>   Pete
>
> Math illiteracy affects 7 out of every 5 Americans.
>
>

Thanks a lot for the kindly help! Acturally, I update cvs source again
today, and when I try to compile it use "make", it told me I should use
"make bootstrap" to compile it. So I did as the source said and now it's
worked again. :)

-- 

The lovely woman-child Kaa was mercilessly chained to the cruel post of
the warrior-chief Beast, with his barbarian tribe now stacking wood at
her nubile feet, when the strong clear voice of the poetic and heroic
Handsomas roared, 'Flick your Bic, crisp that chick, and you'll feel my
steel through your last meal!'
		-- Winning sentence, 1984 Bulwer-Lytton bad fiction contest.




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

end of thread, other threads:[~2008-03-06  7:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-05  9:37 Cannot compile for today CVS emacs Misskiss
2008-03-05 15:15 ` Peter Dyballa
     [not found] ` <mailman.8348.1204730117.18990.help-gnu-emacs@gnu.org>
2008-03-05 15:59   ` Sven Joachim
2008-03-05 17:10 ` Peter Dyballa
2008-03-06  7:51   ` Misskiss

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