LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-13-2009, 07:27 AM   #1
kaktus9
LQ Newbie
 
Registered: Sep 2009
Posts: 16

Rep: Reputation: 0
Exclamation WGR614L source compilation trouble


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?

Last edited by kaktus9; 12-13-2009 at 07:30 AM.
 
Old 12-13-2009, 07:02 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Moved to networking
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WGR614L compilation trouble-edition 2 after permissions fix kaktus9 Programming 11 10-05-2009 06:57 AM
linux open source netgear WGR614L compilation under Fedora 11 [as root] problem kaktus9 Programming 4 09-13-2009 11:41 AM
LXer: NETGEAR Launches Open Source WGR614L Wireless-G Router LXer Syndicated Linux News 0 06-29-2008 06:30 PM
GCC Compilation Trouble Permaximus Linux - Software 3 11-03-2004 02:17 AM
Kernel Compilation Trouble Half_Elf Linux - Software 8 02-20-2002 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration