ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
========================================
WGR614v8 Build Instructions
Version: 1.0
Date : 2008 Mar 13
========================================
Note:
1. This package has been built successfully on Fedora Core 2.
Compiling this package on platforms other than Fedora Core 2
may have unexpected results.
===================
Build the toolchain
===================
1. Copy "WGR614v8_toolchain_src.tar.bz2" into a directory of your choice.
2. Change to the directory in (1) above and run:
tar jxf WGR614v8_toolchain_src.tar.bz2
3. for now, you have three files here: hnd-tools-3.2.3.tgz, TOOLSOURCE_2004_03_31.tgz
4. To build the toolchain, please copy "TOOLSOURCE_2004_03_31.tgz" to a directory which you want,
and extract the package:
tar xvfz TOOLSOURCE_2004_03_31.tgz
5. Please read the "README.TXT" files in each directory, and follow the insctructions to build the target code.
===================
Install toolchain
===================
1. Download the toolchain "hnd-tools-3.2.3.tgz"
2. Put "hnd-tools-3.2.3.tgz" into "/opt/brcm"
3. Run the following commands to extract the toolchain:
cd /opt/brcm
tar zxvf hnd-tools-3.2.3.tgz
ln -s hndtools-mipsel-uclibc-3.2.3 hndtools-mipseluclib
===================
Build code
===================
1. Edit your user profile (On Fedora Core 2, the profile is ~/.bash_profile)
to include the toolchain paths:
PATH=/opt/brcm/hndtools-mipsel-linux-3.2.3/bin:/opt/brcm/hndtools-mipsel-uclibc-3.2.3/bin:$PATH:$HOME/bin
2. Copy "WGR614v8-V1.1.24_14.0.43WW_src.tar.bz2" into a directory of your choice.
3. Change to the directory in (2) above and run:
tar jxf WGR614v8-V1.1.24_14.0.43WW_src.tar.bz2
4. copy the "trx" command to the path that user can access, you must login as "root"
cp bcm5354/tools/trx /usr/bin
5. Run the following commands to build image
cd bcm5354/src/linux/linux
make dep
make
cd ../../router
make clean
make
make install
5. The final image is "bcm5354/src/router/mipsel/kernel_image.chk".
User may upgrade to this image using the WGR614v8 GUI "Router Upgrade" page.
i am stuck in this part
Code:
5. Run the following commands to build image
cd bcm5354/src/linux/linux
make dep
make
cd ../../router
make clean
make
make install
doing click click on the file saved to desktop gives this bulk of error things: http://img153.imageshack.us/img153/3...lspicture1.png
typing "> > compat-libstdc++-33-3.2.3-66.i586.rpm" while in /usr/lib/ folder as root tells > is invalid operator, typing just compat-libstdc++-33-3.2.3-66.i586.rpm says no such command found`
please advise, i will be very grateful
i also tried to yum localinstall with result on screenshot belowhttp://img407.imageshack.us/img407/6...lspicture3.png
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,309
Rep:
# yum deplist compat-libstdc++-33
.. shows no dependencies
( except for libgcc ( + glibc ) which I'm sure you have.)
The usual install command is : 1) su
2) yum install compat-libstdc++-33
( Please always use # yum search <name>
to get the correct package name.)
But you can just do : 1) cd <dir-with-compat-libstdc++-33>/
2) su
3) rpm -Uvh compat-libstdc++-33-3.2.3-66.i586.rpm
.....
So why isn't your yum / repo working ? ?
"Cannot retrieve repository metadata (repomd.xml)...."
indicates a wrong file ? missing access to internet ?
The basic /etc/yum.repos.d/fedora.repo , should look like :
let me report report i've overcome all troubles and compilation ended full success
i owe big you all, and want to thanks who helped me here now and then in the past as well those on fedora forum site: fedoraforum.org
special credit goes to:
linuxquestions: knudfl for the help with the library
and fedoraforum.org: tashirosgt for huge help with depends
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.