* RADIUS on Linux/Alpha [not found] <199707230451.VAA04475@server.livingston.com> @ 1997-07-23 5:37 ` Douglas W Babst 0 siblings, 0 replies; 3+ messages in thread From: Douglas W Babst @ 1997-07-23 5:37 UTC (permalink / raw) I'm a recent proud owner of a DEC Alpha clone (433mhz Durango, RedHat Linux 4.2, 2.0.30 kernel) and have run into my first (fairly) serious compiling problem. Has anyone compiled Livingston 1.16 RADIUS on Linux/Alpha? Below are the results of the make. Thanks. [root@brain src]# make cc -O -c ./radiusd.c ./radiusd.c: In function `main': ./radiusd.c:333: warning: passing arg 6 of `recvfrom' from incompatible pointer type ./radiusd.c:350: warning: passing arg 6 of `recvfrom' from incompatible pointer type cc -O -c ./dict.c cc -O -c ./users.c cc -O -c ./util.c cc -O -c ./md5.c cc -O -c ./attrprint.c cc -O -c ./acct.c cc -O -o version.o -c ./version.c cc -O -o radiusd.esva radiusd.o dict.o users.o util.o md5.o attrprint.o acct.o version.o radiusd.o: In function `unix_pass': radiusd.c(.text+0x3e7c): undefined reference to `crypt' radiusd.c(.text+0x3e80): undefined reference to `crypt' make: *** [radiusd.esva] Error 1 Doug ------------------------------------------------------------------------ If computers would work like they are | Doug Babst supposed to, I'd be out of a job. | TCG Computer Services | P.O. Box 103 | Hastings, NE 68902-0103 And much, much happier. | dbabst@tcgcs.com ----- Voice (402) 463-3426 - Data (402) 463-7707 --- www.tcgcs.com ----- -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <Pine.LNX.3.95.970723002938.24377B-100000@tcgcs.com>]
* Re: RADIUS on Linux/Alpha [not found] <Pine.LNX.3.95.970723002938.24377B-100000@tcgcs.com> @ 1997-07-23 9:50 ` Richard Bullington 0 siblings, 0 replies; 3+ messages in thread From: Richard Bullington @ 1997-07-23 9:50 UTC (permalink / raw) On Wed, 23 Jul 1997, Douglas W Babst wrote: > I'm a recent proud owner of a DEC Alpha clone (433mhz Durango, RedHat > Linux 4.2, 2.0.30 kernel) and have run into my first (fairly) serious > compiling problem. Has anyone compiled Livingston 1.16 RADIUS on > Linux/Alpha? Below are the results of the make. The radiusd described at http://miquels.www.cistron.nl/radius/ is working beautifully here on Red Hat 4.1, 2.0.27 kernel, UDB 166MHz Alpha hardware. This may suit your purposes. It is based on 1.16 RADIUS and has significant enhancements, also described at that URL. -Richard Bullington <rbulling@obscure.org> http://www.obscure.org -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <Pine.LNX.3.95.970723054520.446E-100000@tiamat.obscure.org>]
* Re: RADIUS on Linux/Alpha [not found] <Pine.LNX.3.95.970723054520.446E-100000@tiamat.obscure.org> @ 1997-07-23 10:11 ` Richard Bullington 0 siblings, 0 replies; 3+ messages in thread From: Richard Bullington @ 1997-07-23 10:11 UTC (permalink / raw) I know it's terrible form responding to one's own messages, but I forgot that I had to patch the code to get it to work. On Wed, 23 Jul 1997, Richard Bullington wrote: > On Wed, 23 Jul 1997, Douglas W Babst wrote: > > > I'm a recent proud owner of a DEC Alpha clone (433mhz Durango, RedHat > > Linux 4.2, 2.0.30 kernel) and have run into my first (fairly) serious > > compiling problem. Has anyone compiled Livingston 1.16 RADIUS on > > Linux/Alpha? Below are the results of the make. > > The radiusd described at http://miquels.www.cistron.nl/radius/ is working > beautifully here on Red Hat 4.1, 2.0.27 kernel, UDB 166MHz Alpha hardware. > This may suit your purposes. It is based on 1.16 RADIUS and has > significant enhancements, also described at that URL. What I meant to add was, 'as long as you fix the integer size assumption that the MD5 code makes, and the crypt assumptions that GNU libc makes, and link it dynamically'. This patch is not ideal, and it will probably fail on i386 boxes, but it works for getting things running on the Alpha: diff -U 3 -r radiusd-cistron-1.5.3-original/src/Makefile radiusd-cistron-1.5.3/src/Makefile --- radiusd-cistron-1.5.3-original/src/Makefile Thu Feb 20 08:12:51 1997 +++ radiusd-cistron-1.5.3/src/Makefile Sun Jun 15 08:13:55 1997 @@ -13,9 +13,10 @@ DBM = -DNDBM DBMLIB = -ldb -CFLAGS = -Wall -g -DCISTRON_COMPAT # -DNOSHADOW -LDFLAGS = -static +CFLAGS = -Wall -pedantic -g -DCISTRON_COMPAT # -DNOSHADOW +LDFLAGS = +#LDFLAGS = -static CC = gcc -LIBS = $(SLIB) +LIBS = $(SLIB) -lcrypt include Make.inc diff -U 3 -r radiusd-cistron-1.5.3-original/src/md5.h radiusd-cistron-1.5.3/src/md5.h --- radiusd-cistron-1.5.3-original/src/md5.h Mon Feb 10 10:50:28 1997 +++ radiusd-cistron-1.5.3/src/md5.h Sun Jun 15 08:26:56 1997 @@ -21,7 +21,7 @@ typedef unsigned short int UINT2; /* UINT4 defines a four byte word */ -#if defined(__alpha) && defined(__osf__) +#if defined(__alpha) || defined(__osf__) typedef unsigned int UINT4; #else typedef unsigned long int UINT4; diff -U 3 -r radiusd-cistron-1.5.3-original/src/radiusd.c radiusd-cistron-1.5.3/src/radiusd.c --- radiusd-cistron-1.5.3-original/src/radiusd.c Mon May 5 07:44:09 1997 +++ radiusd-cistron-1.5.3/src/radiusd.c Sun Jun 8 13:54:09 1997 @@ -50,6 +50,7 @@ #include <sys/wait.h> #include <malloc.h> #include <getopt.h> +#include <crypt.h> #if !defined(NOSHADOW) #include <shadow.h> -Richard Bullington <rbulling@obscure.org> http://www.obscure.org -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-07-23 10:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199707230451.VAA04475@server.livingston.com>
1997-07-23 5:37 ` RADIUS on Linux/Alpha Douglas W Babst
[not found] <Pine.LNX.3.95.970723002938.24377B-100000@tcgcs.com>
1997-07-23 9:50 ` Richard Bullington
[not found] <Pine.LNX.3.95.970723054520.446E-100000@tiamat.obscure.org>
1997-07-23 10:11 ` Richard Bullington
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox