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:

If you’re thinking about purchasing a new GPU, we’d greatly appreciate it if you used our Amazon Associate links. The price you pay will be exactly the same, but Amazon provides us with a small commission for each purchase. It’s a simple way to support our site and helps us keep creating useful content for you. Recommended GPUs: RTX 5090, RTX 5080, and RTX 5070. #ad

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

2 Comments

Leave a Reply