all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Error when compiling emacs-unicode-2 on windows
@ 2008-08-07  2:20 HL
  2008-08-07 14:48 ` Juanma Barranquero
       [not found] ` <mailman.15994.1218120542.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 11+ messages in thread
From: HL @ 2008-08-07  2:20 UTC (permalink / raw
  To: help-gnu-emacs

Hi all,
I'd like to compile an emacs 23 in my windows xp.
I checked out src codes from cvs by :
cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co -r
emacs-unicode-2 -d emacs-unicode-2 emacs
I put all source code checked out from cvs to d:\emacs-unicode-2.
I installed MinGW to d:\MinGW and other image libraries.
the configuration seems ok when I use following command line to
configurate it
configure.bat --no-debug --with-gcc --cflags -Id:\MinGW\include

Then when I build bootstrap, I got following problems

gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c   -
mtune=pentiu
m4 -O2  -Di386 -D_CRTAPI1=_cdecl  -Id:\MingW\include -Demacs=1 -
DWINDOWSNT -DDOS
_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -
DUSE_CRT_DLL=1 -DPURE
SIZE=5000000 -o oo-spd/i386/emacs.o emacs.c
In file included from ./s/ms-w32.h:414,
                 from ./config.h:301,
                 from emacs.c:24:
d:/MingW/include/stdio.h:410:1: warning: "fileno" redefined
In file included from ./config.h:301,
                 from emacs.c:24:
./s/ms-w32.h:373:1: warning: this is the location of the previous
definition
In file included from d:/MingW/include/unistd.h:11,
                 from emacs.c:37:
./process.h:37: error: syntax error before "EMACS_UINT"
./process.h:37: warning: no semicolon at end of struct or union
./process.h:40: error: syntax error before "tty_name"
./process.h:40: warning: data definition has no type or storage class
./process.h:42: error: syntax error before "name"
./process.h:42: warning: data definition has no type or storage class
./process.h:45: error: syntax error before "command"
./process.h:45: warning: data definition has no type or storage class
./process.h:48: error: syntax error before "filter"
./process.h:48: warning: data definition has no type or storage class
./process.h:50: error: syntax error before "sentinel"
./process.h:50: warning: data definition has no type or storage class
./process.h:53: error: syntax error before "log"
./process.h:53: warning: built-in function 'log' declared as non-
function
./process.h:53: warning: data definition has no type or storage class
./process.h:55: error: syntax error before "buffer"
./process.h:55: warning: data definition has no type or storage class
./process.h:58: error: syntax error before "childp"
./process.h:58: warning: data definition has no type or storage class
./process.h:60: error: syntax error before "plist"
./process.h:60: warning: data definition has no type or storage class
./process.h:62: error: syntax error before "mark"
./process.h:62: warning: data definition has no type or storage class
./process.h:68: error: syntax error before "status"
./process.h:68: warning: data definition has no type or storage class
./process.h:70: error: syntax error before "decode_coding_system"
./process.h:70: warning: data definition has no type or storage class
./process.h:72: error: syntax error before "decoding_buf"
./process.h:72: warning: data definition has no type or storage class
./process.h:74: error: syntax error before "encode_coding_system"
./process.h:74: warning: data definition has no type or storage class
./process.h:76: error: syntax error before "encoding_buf"
./process.h:76: warning: data definition has no type or storage class
./process.h:105: error: syntax error before ':' token
./process.h:107: error: syntax error before ':' token
./process.h:110: error: syntax error before ':' token
./process.h:112: error: syntax error before ':' token
./process.h:115: error: syntax error before ':' token
./process.h:121: error: syntax error before ':' token
./process.h:126: error: syntax error before ':' token
./process.h:128: error: syntax error before '}' token
./process.h:136: error: syntax error before "chan_process"
./process.h:136: warning: data definition has no type or storage class
./process.h:139: error: syntax error before "Vprocess_alist"
./process.h:139: warning: data definition has no type or storage class
In file included from emacs.c:60:
process.h:36: error: nested redefinition of `struct Lisp_Process'
process.h:136: warning: array 'chan_process' assumed to have one
element
mingw32-make[2]: *** [oo-spd/i386/emacs.o] Error 1
mingw32-make[2]: Leaving directory `D:/emacs-unicode-2/src'
mingw32-make[1]: *** [bootstrap-temacs] Error 2
mingw32-make[1]: Leaving directory `D:/emacs-unicode-2/src'
mingw32-make: *** [bootstrap-gmake] Error 2

Can anyone help me? thank you.


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

* Re: Error when compiling emacs-unicode-2 on windows
  2008-08-07  2:20 Error when compiling emacs-unicode-2 on windows HL
@ 2008-08-07 14:48 ` Juanma Barranquero
       [not found] ` <mailman.15994.1218120542.18990.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 11+ messages in thread
From: Juanma Barranquero @ 2008-08-07 14:48 UTC (permalink / raw
  To: HL; +Cc: help-gnu-emacs

On Thu, Aug 7, 2008 at 04:20, HL <moogle.ling@gmail.com> wrote:

> I'd like to compile an emacs 23 in my windows xp.
> I checked out src codes from cvs by :
> cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co -r
> emacs-unicode-2 -d emacs-unicode-2 emacs
> I put all source code checked out from cvs to d:\emacs-unicode-2.

The unicode-2 branch was folded into the trunk several months ago.
Just check out the trunk and it should compile OK on Windows (I do it
daily ;-)

 Juanma




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

* Re: Error when compiling emacs-unicode-2 on windows
       [not found] ` <mailman.15994.1218120542.18990.help-gnu-emacs@gnu.org>
@ 2008-08-07 15:46   ` HL
  2008-08-07 16:43     ` Lennart Borgman (gmail)
       [not found]     ` <mailman.15998.1218127424.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 11+ messages in thread
From: HL @ 2008-08-07 15:46 UTC (permalink / raw
  To: help-gnu-emacs

On 8月7日, 下午10时48分, "Juanma Barranquero" <lek...@gmail.com> wrote:
> On Thu, Aug 7, 2008 at 04:20, HL <moogle.l...@gmail.com> wrote:
> > I'd like to compile an emacs 23 in my windows xp.
> > I checked out src codes from cvs by :
> > cvs -z3 -d:pserver:anonym...@cvs.savannah.gnu.org:/sources/emacs co -r
> > emacs-unicode-2 -d emacs-unicode-2 emacs
> > I put all source code checked out from cvs to d:\emacs-unicode-2.
>
> The unicode-2 branch was folded into the trunk several months ago.
> Just check out the trunk and it should compile OK on Windows (I do it
> daily ;-)
>
>  Juanma

Thank you Juanma. If possible, could you tell me your detail
environment when you compile it?
such as your %PATH%.
and the parameter of configure, mime is configure.bat --no-debug --
with-gcc --cflags -Ic:\MinGW\include
and when I use mingw32-make bootstrap, i still get error as follows
./process.h:37: error: syntax error before "EMACS_UINT"

I am a beginner, I will very apprieciate you if you can tell me more.
Thank you again.



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

* Re: Error when compiling emacs-unicode-2 on windows
  2008-08-07 15:46   ` HL
@ 2008-08-07 16:43     ` Lennart Borgman (gmail)
       [not found]     ` <mailman.15998.1218127424.18990.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 11+ messages in thread
From: Lennart Borgman (gmail) @ 2008-08-07 16:43 UTC (permalink / raw
  To: HL; +Cc: help-gnu-emacs

HL wrote:
> On 8月7日, 下午10时48分, "Juanma Barranquero" <lek...@gmail.com> wrote:
>> On Thu, Aug 7, 2008 at 04:20, HL <moogle.l...@gmail.com> wrote:
>>> I'd like to compile an emacs 23 in my windows xp.
>>> I checked out src codes from cvs by :
>>> cvs -z3 -d:pserver:anonym...@cvs.savannah.gnu.org:/sources/emacs co -r
>>> emacs-unicode-2 -d emacs-unicode-2 emacs
>>> I put all source code checked out from cvs to d:\emacs-unicode-2.
>> The unicode-2 branch was folded into the trunk several months ago.
>> Just check out the trunk and it should compile OK on Windows (I do it
>> daily ;-)
>>
>>  Juanma
> 
> Thank you Juanma. If possible, could you tell me your detail
> environment when you compile it?
> such as your %PATH%.
> and the parameter of configure, mime is configure.bat --no-debug --
> with-gcc --cflags -Ic:\MinGW\include
> and when I use mingw32-make bootstrap, i still get error as follows
> ./process.h:37: error: syntax error before "EMACS_UINT"
> 
> I am a beginner, I will very apprieciate you if you can tell me more.
> Thank you again.

There is some information below which I once collected with help from
Juanma and others about how to build Emacs on MS Windows:

  http://ourcomments.org/Emacs/w32-build-emacs.html




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

* Re: Error when compiling emacs-unicode-2 on windows
       [not found]     ` <mailman.15998.1218127424.18990.help-gnu-emacs@gnu.org>
@ 2008-08-10  2:43       ` HL
  2008-08-10  7:10         ` Peter Dyballa
                           ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: HL @ 2008-08-10  2:43 UTC (permalink / raw
  To: help-gnu-emacs

I finally successfully built an Emacs. But that site doesn't give me
any hint or help. Because the emacs I want to build is from branch
Emacs-unicode-2 , maybe different from other branches.

I got the first problem
-----------------------------------------------------------------------------------------------------
oo-spd/i386/temacs0.a(emacs.o):emacs.c:(.text+0x1605): undefined
reference to `syms_of_font'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x8a1): undefined
reference to `Ffont_get'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x1cc2): undefined
reference to `QCregistry'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x1cdf): undefined
reference to `Ffont_spec'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x2292): undefined
reference to `Ffont_spec'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x22b2): undefined
reference to `font_parse_xlfd'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x2328): undefined
reference to `font_unparse_xlfd'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x2401): undefined
reference to `Ffont_spec'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x2415): undefined
reference to `font_parse_xlfd'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x247d): undefined
reference to `font_unparse_xlfd'
collect2: ld returned 1 exit status
make[2]: *** [oo-spd/i386/temacs.exe] Error 1
make[2]: Leaving directory `E:/emacs-unicode/emacs/src'
make[1]: *** [bootstrap-temacs] Error 2
make[1]: Leaving directory `E:/emacs-unicode/emacs/src'
make: *** [bootstrap-gmake] Error 2
------------------------------------------------------------------------------
these undefined symbols are actually defined in font.c ,but if you
don't specify --enable-font-backend, the font.c will not be compiled.
I have add this line to makefile manually about line 420 to pass the
build. Is it a bug of makefile?

I also get second problem while building el file
---------------------------------------------------------------------------
Generating autoloads for kermit.el...done
Generating autoloads for kmacro.el...
Generating autoloads for kmacro.el...done
Local variables entry is missing the suffix
make[1]: *** [autoloads] Error -1
make[1]: Leaving directory `E:/emacs-unicode/emacs/lisp'
make: *** [bootstrap-gmake] Error 2
--------------------------------------------------------------------------
these problem happens because the carriage return in linux differs
from in windows.
I enter lisp and leim folder, run
cvs update -kb
to fix this problem.

maybe these problems are strange to you, but they were exactly what I
encounter.


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

* Re: Error when compiling emacs-unicode-2 on windows
  2008-08-10  2:43       ` HL
@ 2008-08-10  7:10         ` Peter Dyballa
  2008-08-10 11:51         ` Juanma Barranquero
       [not found]         ` <mailman.16270.1218369082.18990.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 11+ messages in thread
From: Peter Dyballa @ 2008-08-10  7:10 UTC (permalink / raw
  To: HL; +Cc: help-gnu-emacs


Am 10.08.2008 um 04:43 schrieb HL:

> I finally successfully built an Emacs. But that site doesn't give me
> any hint or help. Because the emacs I want to build is from branch
> Emacs-unicode-2 , maybe different from other branches.


This branch (GNU Emacs 23.0.0) does not exist any more. It was merged  
with GNU Emacs 22.2 from CVS (GNU Emacs 23.0.50). Now it's GNU Emacs  
23.0.60.

	cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co  
emacs

is enough to check-out the recent CVS code. There have been other  
changes, for example the font backend now has become an integral part.

--
Greetings

   Pete

The human animal differs from the lesser primates in his passion for  
lists of "Ten Best."
				– H. Allen Smith







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

* Re: Error when compiling emacs-unicode-2 on windows
  2008-08-10  2:43       ` HL
  2008-08-10  7:10         ` Peter Dyballa
@ 2008-08-10 11:51         ` Juanma Barranquero
       [not found]         ` <mailman.16270.1218369082.18990.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 11+ messages in thread
From: Juanma Barranquero @ 2008-08-10 11:51 UTC (permalink / raw
  To: HL; +Cc: help-gnu-emacs

On Sun, Aug 10, 2008 at 04:43, HL <moogle.ling@gmail.com> wrote:

> I finally successfully built an Emacs. But that site doesn't give me
> any hint or help. Because the emacs I want to build is from branch
> Emacs-unicode-2 , maybe different from other branches.

Yes, it is different, as in, it has ceased to exist, it is developed
no more, it is an ex-branch.

   Juanma




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

* Re: Error when compiling emacs-unicode-2 on windows
       [not found]         ` <mailman.16270.1218369082.18990.help-gnu-emacs@gnu.org>
@ 2008-08-10 16:03           ` HL
  2008-08-10 16:17             ` David Kastrup
                               ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: HL @ 2008-08-10 16:03 UTC (permalink / raw
  To: help-gnu-emacs

On 8月10日, 下午7时51分, "Juanma Barranquero" <lek...@gmail.com> wrote:
> On Sun, Aug 10, 2008 at 04:43, HL <moogle.l...@gmail.com> wrote:
> > I finally successfully built an Emacs. But that site doesn't give me
> > any hint or help. Because the emacs I want to build is from branch
> > Emacs-unicode-2 , maybe different from other branches.
>
> Yes, it is different, as in, it has ceased to exist, it is developed
> no more, it is an ex-branch.
>
>    Juanma

So, which branch should I check out if I want a unicode version of
Emacs?


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

* Re: Error when compiling emacs-unicode-2 on windows
  2008-08-10 16:03           ` HL
@ 2008-08-10 16:17             ` David Kastrup
  2008-08-10 18:57             ` Juanma Barranquero
       [not found]             ` <mailman.16306.1218394644.18990.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 11+ messages in thread
From: David Kastrup @ 2008-08-10 16:17 UTC (permalink / raw
  To: help-gnu-emacs

HL <moogle.ling@gmail.com> writes:

> On 8月10日, 下午7时51分, "Juanma Barranquero" <lek...@gmail.com> wrote:
>> On Sun, Aug 10, 2008 at 04:43, HL <moogle.l...@gmail.com> wrote:
>> > I finally successfully built an Emacs. But that site doesn't give me
>> > any hint or help. Because the emacs I want to build is from branch
>> > Emacs-unicode-2 , maybe different from other branches.
>>
>> Yes, it is different, as in, it has ceased to exist, it is developed
>> no more, it is an ex-branch.
>>
>
> So, which branch should I check out if I want a unicode version of
> Emacs?

The trunk is just fine.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


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

* Re: Error when compiling emacs-unicode-2 on windows
  2008-08-10 16:03           ` HL
  2008-08-10 16:17             ` David Kastrup
@ 2008-08-10 18:57             ` Juanma Barranquero
       [not found]             ` <mailman.16306.1218394644.18990.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 11+ messages in thread
From: Juanma Barranquero @ 2008-08-10 18:57 UTC (permalink / raw
  To: HL; +Cc: help-gnu-emacs

On Sun, Aug 10, 2008 at 18:03, HL <moogle.ling@gmail.com> wrote:

> So, which branch should I check out if I want a unicode version of
> Emacs?

The trunk, as has been pointed out four times already in this thread.

             Juanma




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

* Re: Error when compiling emacs-unicode-2 on windows
       [not found]             ` <mailman.16306.1218394644.18990.help-gnu-emacs@gnu.org>
@ 2008-08-11  9:46               ` HL
  0 siblings, 0 replies; 11+ messages in thread
From: HL @ 2008-08-11  9:46 UTC (permalink / raw
  To: help-gnu-emacs

On Aug 11, 2:57 am, "Juanma Barranquero" <lek...@gmail.com> wrote:
> On Sun, Aug 10, 2008 at 18:03, HL <moogle.l...@gmail.com> wrote:
> > So, which branch should I check out if I want a unicode version of
> > Emacs?
>
> The trunk, as has been pointed out four times already in this thread.
>
>              Juanma

Thank you Juanma. I check out from trunk this time, it's perfect!


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

end of thread, other threads:[~2008-08-11  9:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-07  2:20 Error when compiling emacs-unicode-2 on windows HL
2008-08-07 14:48 ` Juanma Barranquero
     [not found] ` <mailman.15994.1218120542.18990.help-gnu-emacs@gnu.org>
2008-08-07 15:46   ` HL
2008-08-07 16:43     ` Lennart Borgman (gmail)
     [not found]     ` <mailman.15998.1218127424.18990.help-gnu-emacs@gnu.org>
2008-08-10  2:43       ` HL
2008-08-10  7:10         ` Peter Dyballa
2008-08-10 11:51         ` Juanma Barranquero
     [not found]         ` <mailman.16270.1218369082.18990.help-gnu-emacs@gnu.org>
2008-08-10 16:03           ` HL
2008-08-10 16:17             ` David Kastrup
2008-08-10 18:57             ` Juanma Barranquero
     [not found]             ` <mailman.16306.1218394644.18990.help-gnu-emacs@gnu.org>
2008-08-11  9:46               ` HL

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.