Hi,

I think I found a problem when compiling v2.1.1:

gmake[4]: *** No rule to make target `-lreadline', needed by `radmin'. Stop.

In src/main/Makefile:

radmin: radmin.lo $(LIBREADLINE) $(LIBRADIUS) util.lo log.lo conffile.lo
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LINK_MODE) -o $@ $^ $(LIBS)

I think it should be:

radmin: radmin.lo $(LIBRADIUS) util.lo log.lo conffile.lo
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LINK_MODE) -o $@ $^ $(LIBS)

"-lreadline -ltermcap" are already in LIBS in Make.inc, so I don't think LIBREADLINE is needed here.

        -John

--
John Center
Villanova University
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to