From Bugzilla Helper:
User-Agent: Mozilla/4.6 [en] (X11; I; Linux 2.2.12 i686)
The error message is:
parse error before '_extension_'
Line 36 in command.c is
extern char * strstr(const char *, const char *);
The program compiles OK using unix in Sun machines.
Steps to Reproduce:
1.tar -xvf vfudgit_4.2.tar
2.cd Fudgit_2.41 (this directory is created by tar)
3. make linux
(I can ftp vfudgit_4.2.tar to you if your tell me where.)
Actual Results: Compilation failed with the error message given in
Expected Results: Program should have compiled OK. It works OK for unix
on Sun machines.
I forgot to mention that the program will compile OK with Slackware Linux, v 3.
This looks like a bug in vfudgit: it should not supply prototypes for functions
provided by libc. In this case it breaks because strstr is defined as a macro
in glibc if optimizing (and it is allowed to do so). Either remove the offending
prototypes, or compile with -D__NO_STRING_INLINES which will result in strstr
and a couple of other string functions not being defined as macros.