I'm trying to build amanda on an NCR 3430 running MP-RAS.
While compiling I got the following error:

In file included from alloc.c:33:

amanda.h:1092: conflicting types for `strncasecmp'

/usr/include/strings.h:32: previous declaration of `strncasecmp'

make[1]: *** [alloc.lo] Error 1

make[1]: Leaving directory
`/home/davidsb/amanda-2.4.3b2-20020308/common-src'        
make: *** [all-recursive] Error 1

Here are the two conflicting statements:
                                                    
# grep strncasecmp /usr/include/strings.h

int     strncasecmp(const char *, const char *, size_t);

# grep strncasecmp /home/davidsb/amanda-2.4.3b2-20020308/common-src/amanda.h

extern int strncasecmp P((const char *s1, const char *s2, int n));   

Any clues on what to do beside throw the MP-RAS box out the window (man I
really want to do that!).  I've only dabbled in C so I'm not very proficient
at it.                 


Brian Davidson
11710 Plaza America Drive
Reston, Virginia 20190
703.261.4694
703.261.5086 Fax

Reply via email to