Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2001 03:09:38 -0500
From:      "Howard Leadmon" <howardl@abs.net>
To:        <Freebsd-alpha@freebsd.org>
Subject:   Tac_plus4 (tacacs) and DEC Alpha, anyone have it working??
Message-ID:  <007101c1719a$b2da2e70$f60aa8c0@leadmon.net>

next in thread | raw e-mail | index | archive | help

   I am curious to see if anyone has the tacacs port working with the
Alpha??  I can get it to compile and link, but with a few errors.  Where
things fall apart is when you try and use encryption with tac and set
keys on the routers/switches.  If you do this on an Intel FBSD box all
is great, but if you do it on an Alpha, then it just fails.  If I run
without keys, then the alpha port runs OK, but not really the smart way
to run your auth daemons.

I get the following errors/warnings when I build on an Alpha, that don't
show up if I build on an Intel:

cc -O -pipe -mcpu=ev56 -DTAC_IOS_VERSION=11 -mcpu=ev56  -DSKEY
-DFREEBSD -DTAC_PLUS_PIDFILE=\"/var/run/tac_plus.pid\" -DMAXSESS -c
md5.c
md5.c: In function `MD5Update':
md5.c:173: warning: type mismatch in implicit declaration for built-in
function `memcpy'
md5.c: In function `MD5Final':
md5.c:215: warning: type mismatch in implicit declaration for built-in
function `memset'

cc -O -pipe -mcpu=ev56 -DTAC_IOS_VERSION=11 -mcpu=ev56  -DSKEY
-DFREEBSD -DTAC_PLUS_PIDFILE=\"/var/run/tac_plus.pid\" -DMAXSESS -c
tac_plus.c
tac_plus.c: In function `main':
tac_plus.c:318: warning: cast to pointer from integer of different size
tac_plus.c:477: warning: cast to pointer from integer of different size

cc -O -pipe -mcpu=ev56 -DTAC_IOS_VERSION=11 -mcpu=ev56  -DSKEY
-DFREEBSD -DTAC_PLUS_PIDFILE=\"/var/run/tac_plus.pid\" -DMAXSESS -c
regexp.c
regexp.c: In function `regcomp':
regexp.c:276: warning: type mismatch in implicit declaration for
built-in function `strlen'

cc -O -pipe -mcpu=ev56 -DTAC_IOS_VERSION=11 -mcpu=ev56  -DSKEY
-DFREEBSD -DTAC_PLUS_PIDFILE=\"/var/run/tac_plus.pid\" -DMAXSESS -o
generate_passwd generate_passwd.c -lcrypt
generate_passwd.c: In function `main':
generate_passwd.c:44: warning: type mismatch in implicit declaration for
built-in function `strlen'



Any ideas on how I can get this working, would be most appreicated...

-Howard Leadmon




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007101c1719a$b2da2e70$f60aa8c0>