[Frage] ZRTP Kompilieren auf FB

sherifomran

Neuer User
Mitglied seit
27 Okt 2007
Beiträge
127
Punkte für Reaktionen
0
Punkte
0
Hallo Zusammen,

Ich will gern Zfone auf dem Fritzbox kompilieren, kann jemand mir dabei helfen? dazu brauchen wir IP_module IP_queue, weiss jemand ob es in Freetz zu erhalten ist?

Ich warte auf eure Rückmeldung

Danke
Sherif
 
ich bin noch am Anfang, das Problem ist:
1- Ich weiss nicht wie ich die Umgebung einrichten kann um das Code kompilieren zu können
2- Ich will Zfone kompilieren und dazu brauchen wir IP_queue module und mussen den Kernel neu Kompilieren.
 
nein, Ich habe die nicht gefunden, hast du Bitte einen Link? Danke
 
Schritt 2

I created the required zfone.mk file as illustrated in this link

Except, I did not put the dependencies line: $(PKG)_DEPENDS_ON = ?????

According to this links,
http://www.757.org/~joat/wiki/index.php?n=Main.InstallingZFone
http://wiki.freeswitch.org/wiki/ZRTP

we need libipq and probably this is depending on module ip_queue

does any body know the name of these packages to be added in the dependencies?

Bitte den Anhang anschauen. Archive.zip


Thank you
P.S feel free to write in German if you prefer to
 

Anhänge

  • Archive.zip
    1.3 MB · Aufrufe: 3
How?

I searched for libipq but does not exist. The scripts use (lib conntrack in the menu options) but i don't see libnetfilter_queue. :(

Note: http://freetz.org/wiki/packages/iptables

says: not listed modules (e.g. ULOG target) can be added after reconfiguring and replacing the kernel replace kernel / make kernelconfig (for experienced developers only!)
the availability of the modules depends on the kernel version and configured kernel options.



when i give:
make kernelconfig

result: *** keine Regeln, um Kernel Config zu erstellen *** schluss

I gave as a try make kernel-menuconfig
 
Zuletzt bearbeitet:
1-step finished

Ok found the libipq in the menu unstable packages in iptable
now i have the following folder

/freetz-trunk/source/target-mipsel_uClibc-0.9.31.1/iptables-1.4.11/libipq

with its files inside it

Still i don't know how to do the following: -
1- I don't want to download the file from the internet but put it local. where to put it?
2-Zfone has a script called install.sh and i want to call this script from the make file but dont know how. could any body tell me?

Thank you
 
You will have to fix your "zfone.mk" in the fist place ;-)

Code:
$(call PKG_INIT_BIN, 0.1.1)
$(PKG)_SOURCE:=[B]empty[/B]-$($(PKG)_VERSION).tar.gz
$(PKG)_SITE:=@SF/http://www.pcfone.com/software/zfone
is probably not what you want.
It will look for "empty-0.1.1.tar.gz" (fist in "dl" folder, so this is where to put your source to answer your first question). If its not found there, it will try to download it from souceforge with a "strange" packet name (@SF/ is an makro to download a packet from an souceforge mirror).
So, you might try
Code:
$(call PKG_INIT_BIN, 0.1.1)
$(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.gz
$(PKG)_SITE:=http://www.pcfone.com/software/zfone
If sourcefile "zfone-0.1.1.tar.gz" can be downloaded from "http://www.pcfone.com/software/zfone" (or this file is in "dl"-folder).
You should be able to change this according to your needs, I think.

You might also call some script from .mk-File eg like this (not tested):
Code:
$($(PKG)_BINARY): $($(PKG)_DIR)/.configured
	$($(PKG)_DIR)/install.sh ; \
	$(SUBMAKE) -C $(ZFONE_DIR) \
 ....
But make sure, it works as expected, even when cross-compiling and if called from outside the directory.
I would suggest to do the extracting of tar files on your own (untar it in zfone.mk by calling "tar ..." instead of calling "install.sh").

Joerg
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.