Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860
Toolchain new - t-hack.com - Hack X300T / X301T

Toolchain new

From t-hack.com - Hack X300T / X301T
Jump to: navigation, search
Line 1: Line 1:
*Grab [[Media:Smp86xx_toolchain_2.8.0.1.tar.gz]], unpack, then:<br>
+
*Make sure you have gcc3.4 installed (it doesn't matter if you also have gcc4.x, as long as you have 3.4), then run:<br>
 +
<pre>export CC=gcc-3.4</pre>
 +
 
 +
*Grab [[Media:Smp86xx_toolchain_2.8.0.1.tar.gz]], unpack, then run:<br>
 
<pre>make menuconfig && make</pre>
 
<pre>make menuconfig && make</pre>
You'll get the Buildroot configuration page, don't change anything, just exit, then wait...
+
You'll get the Buildroot configuration page, don't change anything, just exit. When it asks if you want to save choose yes, then wait...
 
+
Once it's done (the last line should be 'creating toolchain-path.env...') run:
If you get this error:
+
<pre>In function ‘open’,
+
    inlined from ‘collect_execute’ at /path/to/smp86xx_toolchain_2.8.0.1/toolchain_build_mipsel_nofpu/gcc-3.4.2/gcc/collect2.c:1535:
+
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments</pre>
+
 
+
Just go to that line in collect2.c and change it from:
+
<pre>redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT);</pre>
+
to:
+
<pre>redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, 0666);</pre>
+
 
+
Then run make clean and start the make process again.
+
 
+
 
+
Once it's completed making the toolchain:
+
 
<pre>source /path/to/smp86xx_toolchain_2.8.0.1/toolchain-path.env</pre>
 
<pre>source /path/to/smp86xx_toolchain_2.8.0.1/toolchain-path.env</pre>
 
*Grab [[Media:Rootfs-2.7.127.0.tar.bz2]], unpack, make, wait...<br>
 
*Grab [[Media:Rootfs-2.7.127.0.tar.bz2]], unpack, make, wait...<br>

Revision as of 16:45, 30 July 2009

Personal tools