Hi folks, Trying to compile 4.0.39 on an i586-sco-sysv5uw7.1.1, UnixWare 7.1.1 system, using gcc 2.95.2.1 and gnu-make-3.79.1. I get make errors and I don't know how to fix them. Would someone please advise? The make ouput and some of the header files that conflict are listed below: I used the following to configure: ------------------------------------------------------------------------ LDFLAGS="-L/usr/lib -L/lib -L/usr/ccs/lib -L/usr/local/lib" \ CPPFLAGS="-I/usr/include -I/usr/local/include" LIBS="-lsocket -lnsl" \ ./configure > con.log 2>&1 ------------------------------------------------------------------------ make.log -------------------------------------------------------------------------- gcc -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 -c -o mbswidth.o `test -f mbswidth.c || echo './'`mbswidth.c In file included from mbswidth.c:85: mbswidth.h:37: conflicting types for `mbswidth' /usr/local/lib/gcc-lib/i586-sco-sysv5uw7.1.1/2.95.2.1/include/wchar.h:201: previous declaration of `mbswidth' gmake[2]: *** [mbswidth.o] Error 1 gmake[2]: Leaving directory `/home/matthew/Uber/Dev/fileutils-4.0.39/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/matthew/Uber/Dev/fileutils-4.0.39' gmake: *** [all-recursive-am] Error 2 ------------------------------------------------------------------------ ./libs/mbswidth.h:37: --------------------------------------------------------------- /* Returns the number of screen columns needed for STRING. */ extern int mbswidth PARAMS ((const char *string, int flags)); --------------------------------------------------------------- /usr/local/lib/gcc-lib/i586-sco-sysv5uw7.1.1/2.95.2.1/include/wchar.h:201 ------------------------------------------------------------------ #if !defined (__STRICT_ANSI__) && !defined(_XOPEN_SOURCE) extern int mbswidth(const char *, size_t); extern int wcwidth(wint_t); extern int vfwscanf(struct _FILE_ *, const wchar_t *, _VA_LIST); extern int vwscanf(const wchar_t *, _VA_LIST); extern int vswscanf(const wchar_t *, const wchar_t *, _VA_LIST); #endif -------------------------------------------------------------------- Thanks for you time, Matthew _______________________________________________ Bug-fileutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-fileutils