From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=EF=BC=AF?= =?UTF-8?Q?=EF=BC=A6=EF=BC=A6=EF=BC=A9=EF=BC=A3=EF=BC=A5=E3=80=80ZERO?= Newsgroups: gmane.emacs.bugs Subject: bug#680: undefined reference to `syms_of_font' Date: Sun, 10 Aug 2008 00:17:37 +0900 Message-ID: <013001c8fa33$0f0c7590$0100a8c0@yourhigxg9gyo4> References: <486083c20808090557x1f911521g415298c4e347ddbb@mail.gmail.com> Reply-To: =?UTF-8?Q?=EF=BC=AF?= =?UTF-8?Q?=EF=BC=A6=EF=BC=A6=EF=BC=A9=EF=BC=A3=EF=BC=A5=E3=80=80ZERO?= , 680@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_012C_01C8FA7E.7EBFA010" X-Trace: ger.gmane.org 1218295700 4674 80.91.229.12 (9 Aug 2008 15:28:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Aug 2008 15:28:20 +0000 (UTC) To: "ling hao" , <680@emacsbugs.donarmstrong.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 09 17:29:11 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 1KRqNH-0004sf-EQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Aug 2008 17:28:59 +0200 Original-Received: from localhost ([127.0.0.1]:39769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRqML-0006Vu-Lx for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Aug 2008 11:28:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRqLq-00062X-8J for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 11:27:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRqLo-00060K-1e for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 11:27:29 -0400 Original-Received: from [199.232.76.173] (port=58864 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRqLn-0005zx-Jb for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 11:27:27 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59859) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRqLm-0007T9-Up for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 11:27:27 -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 m79FRNg2023430; Sat, 9 Aug 2008 08:27:24 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m79FP441022142; Sat, 9 Aug 2008 08:25:04 -0700 X-Loop: don@donarmstrong.com Resent-From: =?UTF-8?Q?=EF=BC=AF?= =?UTF-8?Q?=EF=BC=A6=EF=BC=A6=EF=BC=A9=EF=BC=A3=EF=BC=A5=E3=80=80ZERO?= Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 09 Aug 2008 15:25:03 +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 680-submit@emacsbugs.donarmstrong.com id=B680.121829505820491 (code B ref 680); Sat, 09 Aug 2008 15:25:03 +0000 Original-Received: (at 680) by emacsbugs.donarmstrong.com; 9 Aug 2008 15:17:38 +0000 Original-Received: from smtp.air.ocn.ne.jp (air.ocn.ne.jp [122.1.235.141]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m79FHYSt020485 for <680@emacsbugs.donarmstrong.com>; Sat, 9 Aug 2008 08:17:35 -0700 Original-Received: from yourhigxg9gyo4 (p3140-ipad510marunouchi.tokyo.ocn.ne.jp [222.148.106.140]) by smtp.air.ocn.ne.jp (Postfix) with SMTP id 96BFF2F72; Sun, 10 Aug 2008 00:17:33 +0900 (JST) X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 09 Aug 2008 11:27:29 -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:19227 Archived-At: This is a multi-part message in MIME format. ------=_NextPart_000_012C_01C8FA7E.7EBFA010 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Do'nt send me mail !!! no tkank you!! ----- Original Message ----- From: ling hao To: bug-gnu-emacs@gnu.org Sent: Saturday, August 09, 2008 9:57 PM Subject: bug#680: undefined reference to `syms_of_font' 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 ------=_NextPart_000_012C_01C8FA7E.7EBFA010 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable =EF=BB=BF
Do'nt   send  me mail  !!!
no tkank = you!!
----- Original Message ----- =
From:=20 ling=20 hao
Sent: Saturday, August = 09, 2008=20 9:57 PM
Subject: bug#680: = undefined=20 reference to `syms_of_font'

Dear all,

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

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

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

oo-spd/i386/temacs0.a(emacs.o):emacs.c:(.text+0x1605): = undefined=20 reference to=20 = `syms_of_font'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x8a1= ):=20 undefined reference to=20 = `Ffont_get'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x1cc2):= =20 undefined reference to=20 = `QCregistry'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x1cdf)= :=20 undefined reference to=20 = `Ffont_spec'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x2292)= :=20 undefined reference to=20 = `Ffont_spec'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x22b2)= :=20 undefined reference to=20 = `font_parse_xlfd'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x= 2328):=20 undefined reference to=20 = `font_unparse_xlfd'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+= 0x2401):=20 undefined reference to=20 = `Ffont_spec'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x2415)= :=20 undefined reference to=20 = `font_parse_xlfd'
oo-spd/i386/temacs1.a(fontset.o):fontset.c:(.text+0x= 247d):=20 undefined reference to `font_unparse_xlfd'
collect2: ld returned 1 = exit=20 status
make[2]: *** [oo-spd/i386/temacs.exe] Error 1
make[2]: = Leaving=20 directory `E:/emacs-unicode/emacs/src'
make[1]: *** = [bootstrap-temacs]=20 Error 2
make[1]: Leaving directory = `E:/emacs-unicode/emacs/src'
make:=20 *** [bootstrap-gmake] Error 2


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

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

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

Newbie to emacs
ling=20 hao

------=_NextPart_000_012C_01C8FA7E.7EBFA010--