All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] conntrack tool: Fix loading of protocol helpers
@ 2007-03-16 16:51 Thomas Jarosch
  2007-03-16 16:59 ` Patrick McHardy
  2007-03-16 17:06 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Jarosch @ 2007-03-16 16:51 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

Hello,

the pkgconfig changes from August 2006 broke the loading of the protocol 
helpers as dlopen() doesn't search for symbols in the main executable.
As a result the protocol helpers can't find register_proto().

Attached patch fixes the problem.

Does anyone have a short example how to use the -G functionality of the tool?

Have a nice weekend,
Thomas

[-- Attachment #2: conntrack-dlopen-fix.patch --]
[-- Type: text/x-diff, Size: 391 bytes --]

diff -u -r -p conntrack-20070315/src/Makefile.am conntrack.fixed/src/Makefile.am
--- conntrack-20070315/src/Makefile.am	Thu Aug  3 12:37:00 2006
+++ conntrack.fixed/src/Makefile.am	Fri Mar 16 17:39:46 2007
@@ -3,5 +3,5 @@ LIBS = @CONNTRACK_LIBS@
 
 sbin_PROGRAMS = conntrack
 conntrack_SOURCES = conntrack.c
-#conntrack_LDFLAGS = $(all_libraries) -rdynamic
+conntrack_LDFLAGS = -rdynamic
  

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-03-27 23:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 16:51 [patch] conntrack tool: Fix loading of protocol helpers Thomas Jarosch
2007-03-16 16:59 ` Patrick McHardy
2007-03-16 17:06 ` Pablo Neira Ayuso
2007-03-16 19:15   ` Thomas Jarosch
2007-03-19 10:14     ` Pablo Neira Ayuso
2007-03-26 14:46       ` Thomas Jarosch
2007-03-27 23:24         ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.