* Compiling xtacacs-4.0 on Linux/AXP 2.0.24
@ 1996-11-15 19:49 Rob Allen
0 siblings, 0 replies; only message in thread
From: Rob Allen @ 1996-11-15 19:49 UTC (permalink / raw)
I have been tring to compile xtacacsd on this platform and I am getting an
error message related to casting. These are the errors that I am getting:
--------
[root@afterburn xtacacsd-4.0]# make
This is xtacacsd revision 4.0
Making for OS Linux 2.0.24
OS_CFLAGS= -DLINUX -DHAVEGIDTYPE and OS_LIBS=
make[1]: Entering directory `/home/ajindani/xtacacsd-4.0'
cc -c -g -DDEBUG -DXTACUTMP -DUSE_NDBM -DLOG_FACILITY="LOG_LOCAL6"
-DPIDFILE=\"/etc/xtacacsd.pid\" -DLINUX -DHAVEGIDTYPE -DCHAP_SUPPORT
xtacacsd.c
In file included from xtacacsd.c:235:
common.h:169: conflicting types for `sys_errlist'
/usr/include/stdio.h:201: previous declaration of `sys_errlist'
xtacacsd.c: In function `main':
xtacacsd.c:556: warning: passing arg 6 of `recvfrom' from incompatible
pointer type
xtacacsd.c:579: warning: cast to pointer from integer of different size
xtacacsd.c:579: warning: passing arg 2 of `strncpy' from incompatible
pointer type
xtacacsd.c:584: warning: cast to pointer from integer of different size
xtacacsd.c: In function `old_process':
xtacacsd.c:656: warning: cast to pointer from integer of different size
xtacacsd.c:658: warning: cast to pointer from integer of different size
xtacacsd.c: In function `xauth':
xtacacsd.c:865: warning: cast to pointer from integer of different size
xtacacsd.c:867: warning: cast to pointer from integer of different size
xtacacsd.c: In function `xconnect':
xtacacsd.c:1064: warning: cast to pointer from integer of different size
xtacacsd.c:1069: warning: cast to pointer from integer of different size
xtacacsd.c: In function `xslipon':
xtacacsd.c:1244: warning: cast to pointer from integer of different size
xtacacsd.c: In function `xslipoff':
xtacacsd.c:1304: warning: cast to pointer from integer of different size
xtacacsd.c: In function `xdump_pkt':
xtacacsd.c:1375: warning: cast to pointer from integer of different size
make[1]: *** [xtacacsd.o] Error 1
make[1]: Leaving directory `/home/ajindani/xtacacsd-4.0'
make: *** [os-targs] Error 2
[root@afterburn xtacacsd-4.0]#
--------
According the the AXP FAQ
(http://www.azstarnet.com/~axplinux/FAQ-1.html#ss1.3) the integer size in
AXP is defined to be 32 bits long. Here is the quote from the FAQ
"...you cannot cast a pointer to an integer without loosing bits. In fact,
Alpha binaries by default are purposely arranged in such a way that if you
try to do this, they'll dump core---it is much better to learn about such
program errors via a core dump than through some subtle errors."
Does anyone have any hints on what I can change to get xtacacsd compiled.
(For the AXP group: If you are interested in looking at the source please
let me know.)
I'm not much of a C guy, so thanks for any help!
-Rob
+--------------------------------------------------------------------+
| _/ _/ _/_/_/_/_/ _/_/_/_/ Rob Allen |
| _/_/ _/ _/ _/ Internet Administrator |
| _/ _/ _/ _/ _/_/_/ NTS Communications, Inc. |
| _/ _/_/ _/ _/ (806) 762-4565 ext. 4110 |
| _/ _/ _/ _/_/_/_/ E-Mail: roba@ntscom.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] only message in thread
only message in thread, other threads:[~1996-11-15 19:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-15 19:49 Compiling xtacacs-4.0 on Linux/AXP 2.0.24 Rob Allen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox