From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: HL Newsgroups: gmane.emacs.help Subject: Re: Error when compiling emacs-unicode-2 on windows Date: Sat, 9 Aug 2008 19:43:18 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8def1e03-692c-44f4-8d7b-3a92de3f30f5@v26g2000prm.googlegroups.com> References: <40dd232e-2316-40c3-989f-8d8ee0b60fe6@r35g2000prm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218339641 15077 80.91.229.12 (10 Aug 2008 03:40:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Aug 2008 03:40:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 10 05:41:32 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KS1oB-0006mF-4s for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Aug 2008 05:41:31 +0200 Original-Received: from localhost ([127.0.0.1]:50162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KS1nF-0008DN-Cb for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Aug 2008 23:40:33 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!v26g2000prm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 56 Original-NNTP-Posting-Host: 61.172.193.249 Original-X-Trace: posting.google.com 1218336198 4297 127.0.0.1 (10 Aug 2008 02:43:18 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 10 Aug 2008 02:43:18 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v26g2000prm.googlegroups.com; posting-host=61.172.193.249; posting-account=zF4t9QoAAABb0eRNzFfZeUc0XCBX7Rll User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:161051 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:56395 Archived-At: 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.