Mail Archives: djgpp/2014/05/18/22:52:51
> Date: Sun, 18 May 2014 12:24:12 -0700 (PDT)
> From: RayeR <glaux AT centrum DOT cz>
>
> 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.
- Raw text -