When compiling xv, conflicting types of sys_errlist


Results 1 to 4 of 4

Thread: When compiling xv, conflicting types of sys_errlist

  1. #1
    antiaramark Guest

    When compiling xv, conflicting types of sys_errlist

    ok, posted this same thing a couple months ago, but no reply... here it is again

    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?


  2. #2
    Join Date
    Jul 2008
    Posts
    1

    Unhappy error: conflicting types for ‘sys_errlist’

    Hi antiaramark


    Did you ever get this problem resolved? I'm having the same problem

  3. #3
    Join Date
    Sep 2002
    Location
    Harlow, UK
    Posts
    1,788
    Hey LeoSimon,

    That's a post from 11-02-2000, I get the feeling your not going to get any help from antiaramark. Are you trying to compile the same package? A quick google and I found this:
    Code:
    http://www.cygwin.com/ml/cygwin-xfree/2006-04/msg00085.html
    
       Installed from sources, modifying
       in makefile : 
         CC = gcc -ansi -I/usr/X11R6/include/ -L/usr/X11R6/lib/
         MANDIR = /usr/man/man1
       in Xos.h : 
         extern __IMPORT _CONST char * _CONST _sys_errlist[];
    Can you try that? Is there any reason your compiling xv and not installing it from a distro package?
    Last edited by deathadder; 07-17-2008 at 03:31 AM.
    If you have to ask why you want to install Linux, then perhaps you shouldn't.
    -- Michael D. Watts (Gone but never forgotten)

    Linux is not Windows | Posting Guidelines

    Code Monkey (YouTube)

  4. #4
    Join Date
    Mar 2012
    Location
    Chester
    Posts
    1

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •