Blog Entry
xv is an ancient but small X graphic file viewer. If you try to compile the latest source (3.10a) on Centos 5, you'll get the following fatal error message:
In file included from xv.c:11: xv.h:119 error: conflicting types for 'sys_errlist'
To get a successful compile, simply edit xv.h. Remove all the #defines around 'include <errno.h>' (about 4 or 5 lines). Replace with the single line:
include <errno.h>
Type 'make' again and your compile should succeed.
Compiling xv
:: 17th May 2010 - 15:05
Hi,
I was able to compile successsfully xv on RedHat 5.4 Enterprise Linux.
It produced the error:
In file included from xv.c:11:
xv.h:119 error: conflicting types for 'sys_errlist'
I commented out that line out and everything became perfect. Amazing!
I was able to compile, and copied xv executable to /usr/bin. Everything worked.
Regards,
Jacob Nikom

![[advertisement]](/blog/img/taskboy_ad_gameshelf.gif)