RADIUS

RADIUS

Post by hedo » Sat, 06 Dec 1997 04:00:00



Has anybody managed to install RADIUS on Alpha
 running Linux 2.0.30?
 I have seized the source code and tried to compile
 it on my alpha , however , with no appearent success.
  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
     I hope this could be a clue to some more knowledgable
      people than I am .
      I should also point out that , when I tried to install
      RADIUS   from the CD-ROM it kept asking me
       for  " alpha_2.0 " program directory. I think this
       associated with the  uname command and
       somebody suggested " to link that " .  I didn't
        dig that though.
       I'll be grateful for any response.
     Thank
         with regards

 
 
 

RADIUS

Post by hedo » Sat, 06 Dec 1997 04:00:00


Has anybody managed to install RADIUS on Alpha
 running Linux 2.0.30?
 I have seized the source code and tried to compile
 it on my alpha , however , with no appearent success.
  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
     I hope this could be a clue to some more knowledgable
      people than I am .
      I should also point out that , when I tried to install
      RADIUS   from the CD-ROM it kept asking me
       for  " alpha_2.0 " program directory. I think this
       associated with the  uname command and
       somebody suggested " to link that " .  I didn't
        dig that though.
       I'll be grateful for any response.
     Thank
         with regards


 
 
 

RADIUS

Post by Michael A. Macke » Sun, 07 Dec 1997 04:00:00


--------------1D392CDCF49F452ACB957E4B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


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

--
*******************************************************

  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>
<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; Section of Cancer Biology
&nbsp; Washington University Medical School
&nbsp; St. Louis, Missouri, USA
*******************************************************</PRE>
&nbsp;</HTML>

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