From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "ling hao" Newsgroups: gmane.emacs.bugs Subject: bug#680: undefined reference to `syms_of_font' Date: Sat, 9 Aug 2008 20:57:34 +0800 Message-ID: <486083c20808090557x1f911521g415298c4e347ddbb@mail.gmail.com> Reply-To: ling hao , 680@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_55911_6207972.1218286654516" X-Trace: ger.gmane.org 1218293828 31968 80.91.229.12 (9 Aug 2008 14:57:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Aug 2008 14:57:08 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 09 16:58:00 2008 Return-path: Envelope-to: geb-bug-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 1KRpsn-00029O-AL for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Aug 2008 16:57:29 +0200 Original-Received: from localhost ([127.0.0.1]:56069 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRprr-0004wZ-Lg for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Aug 2008 10:56:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRoAJ-0007H2-PE for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 09:07:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRoAI-0007GB-Vm for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 09:07:27 -0400 Original-Received: from [199.232.76.173] (port=44107 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRoAI-0007G5-OM for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 09:07:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55231) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRoAI-000671-0h for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 09:07:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m79D7NQ4012199; Sat, 9 Aug 2008 06:07:24 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m79D56Q8011076; Sat, 9 Aug 2008 06:05:06 -0700 X-Loop: don@donarmstrong.com Resent-From: "ling hao" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 09 Aug 2008 13:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 680 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12182866618549 (code B ref -1); Sat, 09 Aug 2008 13:05:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 9 Aug 2008 12:57:41 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m79Cvb7m008543 for ; Sat, 9 Aug 2008 05:57:38 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRo0n-0005O3-4U for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 08:57:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRo0m-0005N7-MU for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 08:57:36 -0400 Original-Received: from [199.232.76.173] (port=51477 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRo0m-0005Mz-Av for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 08:57:36 -0400 Original-Received: from yx-out-1718.google.com ([74.125.44.155]:59083) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRo0m-0004Sf-8T for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 08:57:36 -0400 Original-Received: by yx-out-1718.google.com with SMTP id 34so373757yxf.66 for ; Sat, 09 Aug 2008 05:57:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=fRRfRpI9fv4wAuRhkqo5idT+dCkq/16B9cb0TilCwKQ=; b=RSuE2F+/gO9+Mazna5gS8Fo+MlTGNdxmPGn/HW5p94QM6lCJQmFx0Ajkn7NDKRVw6Q 0OYuT4TMNuwX7QcLDxw/xH2KCEVpnHNtdktGy4m4KSqyQvJzorYBXaarB5HfqeOaFyng IiQ1TYL7Pe0N9iIGuaitlomUAWlfVZHz63sCw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=vL1X/ZOxuGfvQXyHbZHhtJiZJY7RIcUNuRxjHJoGKnFU4fwyQq2EmyuGFgjSe1+cGR EZ6aAVjDP3cthFQDZ35+0TFVY2mA0IWTD3QJlWNWypDkCu2JLuRufElvZZjACMhKiJjm Ix4KSrH/s9cxcIVXQr/QIR6XNOLqr+BWrsvko= Original-Received: by 10.151.48.15 with SMTP id a15mr9002749ybk.58.1218286654534; Sat, 09 Aug 2008 05:57:34 -0700 (PDT) Original-Received: by 10.150.152.1 with HTTP; Sat, 9 Aug 2008 05:57:34 -0700 (PDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 09 Aug 2008 09:07:27 -0400 X-Mailman-Approved-At: Sat, 09 Aug 2008 10:56:26 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19216 Archived-At: ------=_Part_55911_6207972.1218286654516 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Dear all, I find this problem when I checked out source code and tried to build emacs-unicode-2 in windows with MinGW. when I use configure.bat --no-debug --with-gcc --cflags -IC:\gnuw32\include ( c:\gnuw32\include is where I put image libraries) it seems ok. But later, when I run make bootstrap, it always failed with these error. 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 I check the source code and found that the Ffont_get was defined in font.c but in makefile, font.c is only build when specified --enable-font-backend. I put font.c in makefile in src folder about in line422. and pass this part. I don't know if I made any mistake to cause this error, please could you check this issue. Maybe it is a bug. Newbie to emacs ling hao ------=_Part_55911_6207972.1218286654516 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Dear all,

I find this problem when I checked out source code and tried to build emacs-unicode-2 in windows with MinGW.

when I use
configure.bat --no-debug --with-gcc --cflags -IC:\gnuw32\include  ( c:\gnuw32\include is where I put image libraries)
it seems ok.

But later, when I run make bootstrap, it always failed with these error.

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


I check the source code and found that the Ffont_get was defined in font.c  but in makefile, font.c is only build when specified --enable-font-backend.

I put font.c in makefile in src folder about in line422. and pass this part.

I don't know if I made any mistake to cause this error, please could you check this issue. Maybe it is a bug.

Newbie to emacs
ling hao

------=_Part_55911_6207972.1218286654516--