Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* RADIUS
@ 1997-12-05  5:00 hedon
  1997-12-06  5:00 ` RADIUS Michael A. Mackey
  0 siblings, 1 reply; 3+ messages in thread
From: hedon @ 1997-12-05  5:00 UTC (permalink / raw)



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
                                                hedon@nycport.com







^ permalink raw reply	[flat|nested] 3+ messages in thread

* RADIUS
@ 1997-12-05  5:00 hedon
  0 siblings, 0 replies; 3+ messages in thread
From: hedon @ 1997-12-05  5:00 UTC (permalink / raw)



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
                                                hedon@nycport.com







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RADIUS
  1997-12-05  5:00 RADIUS hedon
@ 1997-12-06  5:00 ` Michael A. Mackey
  0 siblings, 0 replies; 3+ messages in thread
From: Michael A. Mackey @ 1997-12-06  5:00 UTC (permalink / raw)




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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-12-06  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-05  5:00 RADIUS hedon
1997-12-06  5:00 ` RADIUS Michael A. Mackey
  -- strict thread matches above, loose matches on Subject: below --
1997-12-05  5:00 RADIUS hedon

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