DD-WRT compilieren

From DD-WRT Wiki

Revision as of 09:51, 7 January 2007 by 1168162743 (Talk | contribs)
Jump to: navigation, search

Als erstes ein Debian LINUX-System installieren, wie z. B. KNOPPIX. Dann die root-Shell öffnen (oder als "root" in der standard shell mit "su" und "Das root Passwort" einloggen). Diese Scriptzeilen benutzen die Quellen von "0416-2006-snapshot.tar.bz2"):

cd /
mkdir /home/dd-wrt
mkdir /home/dd-wrt/toolchains
cd /home/dd-wrt/toolchains
wget http://www.dd-wrt.com/dd-wrtv2/downloads/sourcecode/toolchains.x86.debian.sp1.tar.bz2
tar -xjvf toolchains.x86.debian.sp1.tar.bz2
mv /home/dd-wrt/toolchains/3.4.6-uclibc-0.9.28 /home/dd-wrt/toolchains/3.4.6
mv /home/dd-wrt/toolchains/4.1.0-uclibc-0.9.28 /home/dd-wrt/toolchains/4.1.0
cd /home/dd-wrt
mkdir /home/dd-wrt/snapshot
cd /home/dd-wrt/snapshot
wget http://www.dd-wrt.com/dd-wrtv2/downloads/sourcecode/0416-2006-snapshot.tar.bz2
tar -xjvf 0416-2006-snapshot.tar.bz2
cd /home/dd-wrt/snapshot/DD-WRT/opt
rm libgcc_s.so
ln -s libgcc/libgcc_s.so.1 libgcc_s.so 
cd /home/dd-wrt
mkdir /home/dd-wrt/image
ln -s /home/dd-wrt/image /GruppenLW
cd /home/dd-wrt/snapshot/DD-WRT/opt
das Kompilieren starten mit
./install.sh
die Image-Files sollten anschliessend im folgenden Verzeichnis liegen
/home/dd-wrt/image

32bit Betriebsystem

Wie kompiliert man dd-wrt auf einem 32bit Betriebsystem?

Problem:
Compilation stops, da mksquashfs-lzma ein 64bit Datei ist. Fehlermeldung: "Can't execute file...."

Lösung:
BrainSlayer hat den Sourcecoude von mksquashfs-lzma in das momentane SVN hinzugefügt. Somit 
muss es einfach für das 32bit System compiliert werden. Dazu ist die Toolchain 3.4.6 notwendig.

Schritt 1:
mkdir /home/dd-wrt/tools
cd /home/dd-wrt/tools

Schritt 2:
svn co svn://svn.dd-wrt.com/DD-WRT/src/squashfs-tools

oder 

./DD-WRT/src/squashfs-tools (ist bei neuen Snapshots bereits enthalten)

Schritt 3:
Source Code von mksquashfs-lzma ist im Verzeichnis enthalten /home/dd-wrt/tools/squashfs-tools

Schritt 4:
cd /home/dd-wrt/tools/squashfs-tools

Schritt 5:
Erstellen eines Shell Skriptes -> vi install.sh

[code]
#!/bin/sh

export PATH=/home/dd-wrt/toolchains/3.4.6/bin:$PATH
make
[/code]

save -> ESC ; wq!

Schritt 6:
Compilierung wird mit dem Befehl "./install.sh" gestartet 

Schritt 7:
kopieren der Datei "mksquashfs-lzma" in das richtige Verzeichnis

cp mksquashfs-lzma /home/dd-wrt/snapshot/DD-WRT/src/linux/linux.v23/scripts/squashfs/














[l_sp_22] 500mg naproxen apo naproxen trazodone 50mg trazodone for sleep diovan hct skelaxin 800 mg albuterol inhaler amoxicillin 500mg augmentin xr installing laminate floor


carisoprodol dia siguiente carisoprodol durante noche carisoprodol overnight delivery tramadol durante noche tramadol dia siguiente fioricet dia siguiente fioricet durante noche zenegra fioricet installing laminate flooring installing laminate flooring dupont laminate flooring wilsonart laminate

homecoming and prom dresses