A stupid compiling problem.

Doug Wayne Babst (dbabst@tcgcs.com)
Tue, 19 Sep 1995 21:05:32 -0500 (CDT)

Ok, this one make me feel like a real idiot. I'm trying to compile
radius. I'm running UnixWare 1.1.4. I followed the install instructions
and added the relevant lines to the Makefile. I've included the portion
of the Makefile, and the errors that I'm getting. Please help!!

TIA, Doug

Here's the Makefile:

# Add -DNOSHADOW to CFLAGS if you don't have Shadow Passwords
#
# aix: add -Daix to CFLAGS
# SCO: add LIBS= -lsocket
# Solaris:
# CFLAGS= -O -Dsys5
# CC= gcc -traditional
# LIBS= -lnsl -lsocket
# unixware: add -Dunixware to CFLAGS, use LIBS= -lucb -lnsl -lsocket
#
SRCDIR=.
CFLAGS= -O -DNOSHADOW -Dunixware
LDFLAGS=
CC= cc
LIBS= -lucb -lnsl -lsocket

Here's the errors I'm getting:

# make
cc -O -DNOSHADOW -Dunixware -c ./radiusd.c
UX:acomp: WARNING: "./radiusd.c", line 645: warning: argument is
incompatible with prototype: arg #2
UX:acomp: WARNING: "./radiusd.c", line 1137: warning: argument is
incompatible with prototype: arg #1
UX:acomp: WARNING: "./radiusd.c", line 1218: warning: argument is
incompatible with prototype: arg #1
UX:acomp: WARNING: "./radiusd.c", line 1268: warning: argument is
incompatible with prototype: arg #1
UX:acomp: WARNING: "./radiusd.c", line 1378: warning: argument is
incompatible with prototype: arg #1
UX:acomp: WARNING: "./radiusd.c", line 1476: warning: argument is
incompatible with prototype: arg #1
UX:acomp: WARNING: "./radiusd.c", line 1477: warning: argument is
incompatible with prototype: arg #1
UX:acomp: WARNING: "./radiusd.c", line 1483: warning: argument is
incompatible with prototype: arg #1
UX:acomp: WARNING: "./radiusd.c", line 1487: warning: argument is
incompatible with prototype: arg #1
UX:acomp: WARNING: "./radiusd.c", line 1513: warning: argument is
incompatible with prototype: arg #1
UX:acomp: WARNING: "./radiusd.c", line 1514: warning: argument is
incompatible with prototype: arg #1
UX:acomp: WARNING: "./radiusd.c", line 1514: warning: argument is
incompatible with prototype: arg #2
UX:acomp: WARNING: "./radiusd.c", line 1517: warning: argument is
incompatible with prototype: arg #1
UX:acomp: WARNING: "./radiusd.c", line 1517: warning: argument is
incompatible with prototype: arg #2
cc -O -DNOSHADOW -Dunixware -c ./dict.c
cc -O -DNOSHADOW -Dunixware -c ./users.c
cc -O -DNOSHADOW -Dunixware -c ./util.c
cc -O -DNOSHADOW -Dunixware -c ./md5.c
cc -O -DNOSHADOW -Dunixware -c ./attrprint.c
cc -O -DNOSHADOW -Dunixware -c ./acct.c
UX:acomp: WARNING: "./acct.c", line 166: warning: argument is
incompatible with prototype: arg #1
UX:acomp: WARNING: "./acct.c", line 202: warning: argument is
incompatible with prototype: arg #1
cc -O -DNOSHADOW -Dunixware -o version.o -c ./version.c
UX:cc: ERROR: -o would overwrite version.o
*** Error code 1 (bu21)

make: fatal error.
#

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