Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Michael A. Mackey" <mackey@pisello.wustl.edu>
Subject: Re: RADIUS
Date: 1997/12/06	[thread overview]
Message-ID: <34896C07.FBD7EF50@pisello.wustl.edu> (raw)
In-Reply-To: 34889872.B59E38A2@nycport.com



--------------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

<HTML>
hedon wrote:
<BLOCKQUOTE TYPE=CITE>&nbsp;I get this error message:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; conf.h:58 conflicting types
for 'ys_errlist'
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/include/stdio.h:216:previous
decleration of 'sys_errlist'
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; make :
*** [Linux_2.0/acct.o] Error 1</BLOCKQUOTE>
This is a run-of-the-mill compile error.&nbsp; The source for your application
is making a reference
<BR>to the global array sys_errlist[] which is defined in stdio.h as
<BR>&nbsp;&nbsp;&nbsp; const char *const sys_errlist[];
<BR>but the code for RADIUS is using the older (non-ANSI) reference
<BR>&nbsp;&nbsp;&nbsp; char* sys_errlist []&nbsp; or const char* sys_errlist[];

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

<P>Good Luck!
<PRE>--&nbsp;
*******************************************************
&nbsp; Dr. Michael A. Mackey (mackey@mackeylab.wustl.edu)
&nbsp; Section of Cancer Biology
&nbsp; Washington University Medical School
&nbsp; St. Louis, Missouri, USA
*******************************************************</PRE>
&nbsp;</HTML>

--------------1D392CDCF49F452ACB957E4B--




  reply	other threads:[~1997-12-06  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-05  5:00 RADIUS hedon
1997-12-06  5:00 ` Michael A. Mackey [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-12-05  5:00 RADIUS hedon
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox