elm Installation Note for FC5

I am helping a user install elm on FC5. The version of elm is 2.5.8 which is the latest version. I installed it on a RedHat Linux 9 without a problem. However, when I tried to compile it under FC5, I got the following messages:

In file included from curses.c:53:

/usr/lib/gcc/i386-redhat-linux/4.1.1/include/varargs.h:4:2: error: #error "GCC no longer implements ."

/usr/lib/gcc/i386-redhat-linux/4.1.1/include/varargs.h:5:2: error: #error "Revise your code to use ."

It seems that the new GCC compiler no longer supports varargs.h . The solution is to modify the curses.c file to include the line before line 53.

#define I_STDARG

This post may contain affiliated links. When you click on the link and purchase a product, we receive a small commision to keep us running. Thanks.


2 Comments

Leave a Reply to General BordeauxCancel reply