iptables static binary

radislav

Aktives Mitglied
Mitglied seit
15 Mrz 2008
Beiträge
950
Punkte für Reaktionen
0
Punkte
16
Hallo Leute,

hätte jemand das statisch kompilierte iptables-binary für mich (für 7270)? die kernel-module dazu habe ich schon kompiliert und eingebunden? das iptables-binary in freetz wird aber dynamisch erstellt:
Code:
$ file ./build/modified/filesystem/usr/sbin/iptables-multi 
./build/modified/filesystem/usr/sbin/iptables-multi: ELF 32-bit LSB executable, MIPS, MIPS32 version 1 (SYSV), [B]dynamically linked[/B] (uses shared libs), with unknown capability 0xf41 = 0x756e6700, with unknown capability 0x70100 = 0x3040000, stripped
kann man vielleicht beim kompilieren irgendwie angeben, dass es statisches binary erstellt werden soll?

viele grüße
R@d
 
Ja, kann man. Beim "händischen" Compiler-/Linker-Aufruf ein "-static", hier wird libtool genutzt, da ist es meist ein "-all-static".
Hier mal jeweils ein statisches xtables-multi für mips und mipsel.
 

Anhänge

Hallo und frohes neues!

Vielen Dank für Deine Hilfe. Binarys funktionieren einwandfrei.

viele Grüße
R@d
 
Kostenlos!

Statistik des Forums

Themen
248,867
Beiträge
2,303,250
Mitglieder
378,524
Neuestes Mitglied
MarcinK