When compiling xv, conflicting types of sys_errlist
ok, posted this same thing a couple months ago, but no reply... here it is again http://forums.justlinux.com/images/i.../2000/10/1.gif
i'm trying to compile xv-3.10a, but during the process, this error pops up:
In file included from xv.c:11:
xv.h:119: conflicting types for 'sys_errlist'
/usr/include/stdio.h:553: previous declaration of 'sys_errlist'
make: ***[xv.o] Error 1
i don't know what's going on there... but i want to get xv running... what can i do?
error: conflicting types for ‘sys_errlist’
Hi antiaramark
Did you ever get this problem resolved? I'm having the same problem
When compiling xv, conflicting types of sys_errlist
Hi LeoSimon,
i assume you have resolved this issue by now so most likely this is irrelevant.
here goes anyway: i solved this problem by editing the file xv.h and removing
the lines below
# ifndef __NetBSD__
extern char *sys_errlist[]; /* this too...
# endif
after this, everything compiles just fine - still some warning messages but the
end executable works perfectly.