Message ID | alpine.LSU.2.01.1008032001430.1519@obet.zrqbmnf.qr |
---|---|
State | Not Applicable, archived |
Delegated to: | David Miller |
Headers | show |
* Jan Engelhardt <jengelh@medozas.de>: | (BTW, with --disable-shared you remove the possibility to use any .so | files whatsoever. You can use --enable-static --enable-shared to get | both "all in one binary" and ".so support".) And how to force linking the binaries against the static libs? | The following changes since commit 371cea299f0b2eb100b9fc9fb99089640d2d606f: | xtables: remove unnecessary cast (2010-08-03 19:56:11 +0200) | are available in the git repository at: | git://dev.medozas.de/iptables master Fixed, compiled fine. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tuesday 2010-08-03 20:09, Gabor Z. Papp wrote: >* Jan Engelhardt <jengelh@medozas.de>: > >| (BTW, with --disable-shared you remove the possibility to use any .so >| files whatsoever. You can use --enable-static --enable-shared to get >| both "all in one binary" and ".so support".) > >And how to force linking the binaries against the static libs? What libs? -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Am 03.08.2010 20:09, schrieb Gabor Z. Papp: > * Jan Engelhardt <jengelh@medozas.de>: > > | (BTW, with --disable-shared you remove the possibility to use any .so > | files whatsoever. You can use --enable-static --enable-shared to get > | both "all in one binary" and ".so support".) > > And how to force linking the binaries against the static libs? > > | The following changes since commit 371cea299f0b2eb100b9fc9fb99089640d2d606f: > > | xtables: remove unnecessary cast (2010-08-03 19:56:11 +0200) > > | are available in the git repository at: > | git://dev.medozas.de/iptables master > > Fixed, compiled fine. Thanks, I'll release a .1 with this patch tommorrow. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wednesday 2010-08-04 18:16, Patrick McHardy wrote: >Am 03.08.2010 20:09, schrieb Gabor Z. Papp: >> * Jan Engelhardt <jengelh@medozas.de>: >> >> | (BTW, with --disable-shared you remove the possibility to use any .so >> | files whatsoever. You can use --enable-static --enable-shared to get >> | both "all in one binary" and ".so support".) >> >> And how to force linking the binaries against the static libs? >> >> | The following changes since commit 371cea299f0b2eb100b9fc9fb99089640d2d606f: >> >> | xtables: remove unnecessary cast (2010-08-03 19:56:11 +0200) >> >> | are available in the git repository at: >> | git://dev.medozas.de/iptables master >> >> Fixed, compiled fine. > >Thanks, I'll release a .1 with this patch tommorrow. You probably want to add to your personal release script section one that testcompiles all configurations before possibly creating a tarball. I do so too with Xtables-addons (all kernels from 2.6.17 onwards, quite a disk eater). ./configure --enable-static --enable-shared && make -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
* Jan Engelhardt <jengelh@medozas.de>: | >| (BTW, with --disable-shared you remove the possibility to use any .so | >| files whatsoever. You can use --enable-static --enable-shared to get | >| both "all in one binary" and ".so support".) | > | >And how to force linking the binaries against the static libs? | What libs? Link iptables-multi against static versions of libip6tc and libxtables. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Am 03.08.2010 20:04, schrieb Jan Engelhardt: > The following changes since commit 371cea299f0b2eb100b9fc9fb99089640d2d606f: > > xtables: remove unnecessary cast (2010-08-03 19:56:11 +0200) > > are available in the git repository at: > git://dev.medozas.de/iptables master > > Jan Engelhardt (1): > build: fix static linking > > extensions/libxt_IDLETIMER.c | 2 +- > extensions/libxt_TEE.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > [Actually there's also the "remove unnecessary cast" patch that is not > included in this listing, but merging that should be ok.] Pulled, thanks Jan. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/extensions/libxt_IDLETIMER.c b/extensions/libxt_IDLETIMER.c index 12573a4..1562e02 100644 --- a/extensions/libxt_IDLETIMER.c +++ b/extensions/libxt_IDLETIMER.c @@ -132,7 +132,7 @@ static struct xtables_target idletimer_tg_reg = { .extra_opts = idletimer_tg_opts, }; -static __attribute__((constructor)) void idletimer_tg_ldr(void) +void _init(void) { xtables_register_target(&idletimer_tg_reg); } diff --git a/extensions/libxt_TEE.c b/extensions/libxt_TEE.c index f8e7fd1..e4c0607 100644 --- a/extensions/libxt_TEE.c +++ b/extensions/libxt_TEE.c @@ -195,7 +195,7 @@ static struct xtables_target tee_tg6_reg = { .extra_opts = tee_tg_opts, }; -static __attribute__((constructor)) void tee_tg_ldr(void) +void _init(void) { xtables_register_target(&tee_tg_reg); xtables_register_target(&tee_tg6_reg);