X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Mon, 19 May 2014 05:52:14 +0300 From: Eli Zaretskii Subject: Re: Pretest version 24.3.91 of GNU Emacs is available In-reply-to: X-012-Sender: halo1 AT inter DOT net DOT il To: djgpp AT delorie DOT com Message-id: <83mweecwf5.fsf@gnu.org> References: <831tvzqbqw DOT fsf AT gnu DOT org> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sun, 18 May 2014 12:24:12 -0700 (PDT) > From: RayeR > > I tried it to compile just for fun (dj2.04, gcc4.8.2, WXP) Thanks for testing. > but failed linking with missing va_copy function: > > gcc -Demacs -I. -I../lib -O2 -s \ > -o temacs vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window > .o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o > terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o fi > lelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddl > e.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o ev > al.o floatfns.o fns.o font.o print.o lread.o syntax.o unexcoff.o bytecode.o proc > ess.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o t > extprop.o composite.o xml.o profiler.o decompress.o dosfns.o msdos.o w16select. > o termcap.o tparam.o lastfile.o gmalloc.o ralloc.o ../lib/libgnu.a > -lm > doprnt.o:doprnt.c:(.text+0xad5): undefined reference to `va_copy' > collect2.exe: error: ld returned 1 exit status > Makefile:231: recipe for target 'temacs.exe' failed > make.exe[1]: *** [temacs.exe] Error 1 > make.exe[1]: Leaving directory 'n:/emacs-24.3.91/src' > Makefile:105: recipe for target 'src' failed > make.exe: *** [src] Error 2 > > I cannot find it in headers, only similar occurence but with prefixes is in cross-st.h > #define __ms_va_copy(__d,__s) __builtin_ms_va_copy(__d,__s) Something is wrong with your installation, va_copy should be defined in lib/gcc/4.82/include/stdarg.h.