[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error when compiling emacs-unicode-2 on windows

From: HL
Subject: Re: Error when compiling emacs-unicode-2 on windows
Date: Sat, 9 Aug 2008 19:43:18 -0700 (PDT)
User-agent: G2/1.0

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]