I realize this is slightly off topic, but it's for a gnome app, and it seems that people here would know what to do. Here's my setup: src/, src/dialogs/, src/ops/ Code in src/dialogs/ needs to use functions in src/ops/ and functions+structures in src/. Everything makes fine, and seems to have no probs with anything in src/, but I get undefined reference in src/dialogs/seahorse-delete.c to "seahorse_ops_key_delete" that is in src/ops/seahorse-ops-key. How can I fix this? Here's relevant Makefile.am excerpts: *src/Makefile.am: SUBDIRS = ops dialogs INCLUDES = \ -I$(top_srcdir) \ -I$(top_builddir) \ -I$(top_srcdir)/ops \ -I$(top_srcdir)/dialogs \ $(SEAHORSE_CFLAGS) \ -DDATA_DIR=\""$(datadir)"\" \ seahorse_LDADD = -lgpgme \ ops/libops.a \ dialogs/libdialogs.a \ $(SEAHORSE_LIBS) *src/dialogs/Makefile.am: INCLUDES = -I$(top_srcdir)/src \ -I$(top_srcdir)/src/ops \ $(SEAHORSE_CFLAGS) \ noinst_LIBRARIES = libdialogs.a libdialogs_a_SOURCES = \ seahorse-delete.c seahorse-delete.h *src/ops/Makefile.am: INCLUDES = \ -I$(top_srcdir)/src \ $(SEAHORSE_CFLAGS) noinst_LIBRARIES = libops.a libops_a_SOURCES = \ seahorse-ops-data.c seahorse-ops-data.h \ seahorse-ops-text.c seahorse-ops-text.h \ seahorse-ops-file.c seahorse-ops-file.h \ seahorse-ops-key.c seahorse-ops-key.h Thanks for any help.
Attachment:
signature.asc
Description: This is a digitally signed message part