Link problem in v2.1.1
John Center
john.center at villanova.edu
Wed Oct 8 18:52:16 CEST 2008
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
More information about the Freeradius-Users
mailing list