Hello,

There is a circular dependency between the backends and the libelektra
directory, since in libelektra, there is 

../backends/filesys/libelektra_filesys_a-filesys.o

and in backends/daemon/, kdbd is linked with libelektra.so...

There is more than one way to solve that issue... One possibility
could be to put the backends that don't link against 
libelektra, but that libelektra_static link against in another 
directory. For example keep them in backend and move all the high level
backends in a directory named for example hlvlbackends.
And of course the SUBDIRS would be 
... backends libelektra hlvlbackends ...

Anyway I propose the attached file for src/backends/daemon/Makefile.am
to add a dependency on the libelektra from the sources.

--
Pat
Index: Makefile.am
===================================================================
--- Makefile.am (révision 837)
+++ Makefile.am (copie de travail)
@@ -12,8 +12,7 @@
 
 sbin_PROGRAMS = kdbd
 kdbd_SOURCES = main.c kdbd.h kdbd.c kdb_wrapper.h kdb_wrapper.c thread.h 
thread.c
-kdbd_LDFLAGS = -L../../libelektra/
-kdbd_LDADD = libproto.la -lelektra -lpthread
+kdbd_LDADD = libproto.la ../../libelektra/libelektra.la -lpthread
 
-INCLUDES = -I../../include -I.
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
 
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Registry-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/registry-list

Reply via email to