-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Pablo Diego on 1/15/2009 7:44 AM: > I can not build using Intrepid. > gcc -g -O2 -o m4 m4.o builtin.o debug.o eval.o format.o freeze.o input.o > macro.o output.o path.o symtab.o stackovf.o ../lib/libm4.a > m4.o: In function `usage': > m4.c:(.text+0x15): undefined reference to `__builtin_va_arg_pack'
Thanks for the report. I'm not familiar with the Intrepid system; what does ./config.guess output for your system? Also, what version of gcc are you using? Normally, the __builtin_ namespace should be handled by gcc without complaints; what's more, the identifier __builtin_va_arg_pack does not appear anywhere in gnulib or m4 sources. So I can only guess that you have a system <stdarg.h> header that has a #define of va_arg but which expands to something not recognized by your compiler version, or that the gnulib replacement <stdarg.h> is kicking in but in the process confusing your system headers. I'm cc'ing the gnulib list in case anyone else has more experience with this system. Meanwhile, can you show us the relevent contents of your <stdarg.h> system header? Also, what did config.log say around the area where it was checking for va_copy? - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklwEXQACgkQ84KuGfSFAYAsKwCePdrnj9QFYcUOOO6u4WgdtRhA Fh8AoLlV1TQXsgTHDuvYDf4usHiLNlff =XH6A -----END PGP SIGNATURE-----