hi,
i am trying to compile netgear wgr614l sources.
i am using fedora 11 [leonidas] for compilation. system core is 2.6.29.4-167.fc11.i686.PAE
long ago i've written a thread about some problems that i've encountered earlier, but i am unable to find it
anyway i am following exact build manual:
Code:
========================================
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
when i type make dep i get following messages from error stream:
Code:
.depend:82 *** commands start before first object. Stop.
make[3]: *** [_sfdep_atm] error 2
make[2]: *** [fastdep] error 2
make[1]: *** [_sfdep_drivers] error 2
make: *** [dep-files] error 2
please advise what does those errors mean and in which places i should look to fix em?