Hi to all.

I've found these problems on the current dev code:

- RADIUSD_VERSION and HOSTINFO are not defined in radiusd.c :
----
...
gcc -Wall -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I../include -c radiusd.c
radiusd.c:110: parse error before `RADIUSD_VERSION'
make: *** [radiusd.o] Error 1
...
----


- in src/modules/rules.mak top_builddir seems not defined and so the compilation process try to make a dir like /src/modules/lib ....I've changed the static and the dynamic rules as shown

--- freeradius-0.9.0-pre1/src/modules/rules.mak.chris Wed Jul 9 21:57:48 2003
+++ freeradius-0.9.0-pre1/src/modules/rules.mak Wed Jul 9 21:39:09 2003
@@ -109,11 +109,15 @@
#######################################################################
static: $(TARGET).a $(RLM_UTILS)
@[ "x$(RLM_SUBDIRS)" = "x" ] || $(MAKE) $(MFLAGS) WHAT_TO_MAKE=static common
- @cp $< $(top_builddir)/src/modules/lib
+# @cp $< $(top_builddir)/src/modules/lib
+ @mkdir -p ../../../src/modules/lib
+ @cp $< ../../../src/modules/lib


dynamic: $(TARGET).la $(RLM_UTILS)
@[ "x$(RLM_SUBDIRS)" = "x" ] || $(MAKE) $(MFLAGS) WHAT_TO_MAKE=dynamic common
- @cp $< $(top_builddir)/src/modules/lib
+# @cp $< $(top_builddir)/src/modules/lib
+ @mkdir -p ../../../src/modules/lib
+ @cp $< ../../../src/modules/lib


 #######################################################################
 #


- to solve the problem of radpaths.h ...I've launched cd src/include ; /bin/sh build-radpaths-h



Regards,
Christian





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

Reply via email to