--- Begin Message ---
Subject: |
23.2.91; Can't build with MinGW |
Date: |
Sat, 15 Jan 2011 16:34:08 +0900 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/23.2.91 (i386-mingw-nt5.1.2600) MULE/6.0 (HANACHIRUSATO) |
When I build emacs-23 branch at present with MinGW, below error
occurs while linking.
> oo-spd/i386/temacs1.a(image.o):image.c:(.text+0xa8fa): undefined reference to
> `SET_SYMBOL_VAL'
> collect2: ld returned 1 exit status
> make[1]: *** [oo-spd/i386/temacs.exe] Error 1
> make[1]: Leaving directory `/f/build/emacs-23/src'
> make: *** [all-other-dirs-gmake] Error 2
SET_SYMBOL_VAL is defined in src/lisp.h on trunk but not on emacs-23
branch.
--
Kazuhiro Ito
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#7848: 23.2.91; Can't build with MinGW |
Date: |
Sun, 16 Jan 2011 04:57:58 -0500 |
> Date: Sun, 16 Jan 2011 15:16:31 +0900
> From: Kazuhiro Ito <address@hidden>
> Cc: address@hidden
>
> > Sorry. Please try replacing this:
> >
> > SET_SYMBOL_VAL (XSYMBOL (Qlibpng_version), make_number (PNG_LIBPNG_VER));
> >
> > with this:
> >
> > XSYMBOL (Qlibpng_version)->value = make_number (PNG_LIBPNG_VER);
> >
> > and make a similar change in this line:
> >
> > SET_SYMBOL_VAL (XSYMBOL (Qlibpng_version), make_number (-1));
> >
> > I cannot test this where I'm typing this mail, but if you tell me that
> > these two changes fix the problem, I will commit this change to the
> > release branch.
>
> Thanks, I confirmed above changes fixed my problem (not tested in the
> case of no PNG support).
Thanks, I installed these changes on the emacs-23 branch.
--- End Message ---