From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,ecc9b285d4eed954 X-Google-Attributes: gid111c93,public From: "Michael A. Mackey" Subject: Re: RADIUS Date: 1997/12/06 Message-ID: <34896C07.FBD7EF50@pisello.wustl.edu>#1/1 X-Deja-AN: 295761466 References: <34889872.B59E38A2@nycport.com> Organization: Washington University Medical School Newsgroups: comp.os.linux.alpha --------------1D392CDCF49F452ACB957E4B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hedon wrote: > I get this error message: > conf.h:58 conflicting types for 'ys_errlist' > /usr/include/stdio.h:216:previous decleration of 'sys_errlist' > make : *** [Linux_2.0/acct.o] Error 1 This is a run-of-the-mill compile error. The source for your application is making a reference to the global array sys_errlist[] which is defined in stdio.h as const char *const sys_errlist[]; but the code for RADIUS is using the older (non-ANSI) reference char* sys_errlist [] or const char* sys_errlist[]; change the RADIUS code (in conf.h I guess from looking at the error message) to const char *const sys_errlist[]; and that should fix this error. Good Luck! -- ******************************************************* Dr. Michael A. Mackey (mackey@mackeylab.wustl.edu) Section of Cancer Biology Washington University Medical School St. Louis, Missouri, USA ******************************************************* --------------1D392CDCF49F452ACB957E4B Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit hedon wrote:
 I get this error message:
        conf.h:58 conflicting types for 'ys_errlist'
         /usr/include/stdio.h:216:previous decleration of 'sys_errlist'
           make : *** [Linux_2.0/acct.o] Error 1
This is a run-of-the-mill compile error.  The source for your application is making a reference
to the global array sys_errlist[] which is defined in stdio.h as
    const char *const sys_errlist[];
but the code for RADIUS is using the older (non-ANSI) reference
    char* sys_errlist []  or const char* sys_errlist[];

change the RADIUS code (in conf.h I guess from looking at the error message)
to
    const char *const sys_errlist[];
and that should fix this error.

Good Luck!

-- 
*******************************************************
  Dr. Michael A. Mackey (mackey@mackeylab.wustl.edu)
  Section of Cancer Biology
  Washington University Medical School
  St. Louis, Missouri, USA
*******************************************************
  --------------1D392CDCF49F452ACB957E4B--