Subj : Re: SM on Fedora Core2 on AMD64 To : Louis Paul Santillan From : Oleg Makarenko Date : Sat Jul 03 2004 01:13 am Louis Paul Santillan wrote: > Hi All, > > In the config/Linux_All.mk macro near the bottom where HAVE_VA_COPY is > defined, Fedora Core2 (at least for the AMD64) does not have a VA_COPY > macro why should it? > (or even a stdarg.h header in /usr/include). stdarg.h comes with gcc so its place is in /usr/lib/gcc-lib/%{your_platform_gcc_lib} try to test.c: #include gcc -c test.c and see if it works for you. >Switching the OS_FLAGS > definition to OS_FLAGS += HAVE_VA_LIST_AS_ARRAY solve the compilation > issue. VA_COPY is not defined in js source tree but is used on x86_64 so it look slike a bug in config/Linux_All.mk You should to use something like OS_FLAGS += HAVE_VA_COPY -DVA_COPY=va_copy to define VA_COPY macro > However, snooping around my system, I didn't seem to find anything > that would allow me to detect if FC2 on an AMD is being used. > I'll keep > looking but if someone has a suggestion that is portable, let me know. > > Louis > Oleg .