all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#680: undefined reference to `syms_of_font'
@ 2008-08-09 12:57 ling hao
  2008-08-09 15:03 ` Juanma Barranquero
  2008-08-09 15:17 ` bug#680: undefined reference to `syms_of_font' OFFICE ZERO
  0 siblings, 2 replies; 6+ messages in thread
From: ling hao @ 2008-08-09 12:57 UTC (permalink / raw)
  To: bug-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1946 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2150 bytes --]

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-09 12:57 bug#680: undefined reference to `syms_of_font' ling hao
2008-08-09 15:03 ` Juanma Barranquero
2008-08-09 15:41   ` OFFICE ZERO
2008-08-09 15:41   ` OFFICE ZERO
     [not found]     ` <handler.680.B680.121829662828003.ackinfo@emacsbugs.donarmstrong.com>
2008-08-11  1:17       ` bug#680: Info received (bug#680: undefined reference to `syms_of_font') OFFICE ZERO
2008-08-09 15:17 ` bug#680: undefined reference to `syms_of_font' OFFICE ZERO

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.