1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

pls help with compiling

Discussion in 'Tomato Firmware' started by ginasas, Dec 3, 2007.

  1. ginasas

    ginasas LI Guru Member

    Hi, I have intsalled UBUNTU. Have extracted all sources (linksys ant tomato) I don't understand how to make symbolik links? and what I need install in ubuntu for compiling?
  2. mstombs

    mstombs Network Guru Member

    Google is your friend - you need to learn about paths as well. You can copy the toolchain into /opt rather than make a link I recall.

    To first check if you have all the right tools installed I'd recommend compiling WAG200G firmware as an experiment see


    The Linksys build script does the links to the tools for you in this firmware - as you can see from the snipped output "ln -s ..." commands
  3. ginasas

    ginasas LI Guru Member

    I don't understand what tools I need to iinstall ?
  4. mstombs

    mstombs Network Guru Member

    If you start with a developers install of Linux (with ability to compile its own kernel) you may not need to install any extra tools. I know nothing about ubuntu, but basically you just find out what doesn't work, Google the error message and install whatever is missing!
  5. pfoomer

    pfoomer LI Guru Member


    Just to clarify, are you wishing to install the distributed Tomato on your router, or are you wishing to recompile the source and make your own personalised version to install on your router?
  6. mikester

    mikester Network Guru Member

  7. ginasas

    ginasas LI Guru Member

    what you mean Troll? apt-get install troll give me error :redface:
  8. ginasas

    ginasas LI Guru Member

    Yes, I wish to recompile the source and make own personalised version.
  9. pfoomer

    pfoomer LI Guru Member


    Ok, thought you may have been going down the wrong path.

    As mentioned, google will assist you, as will typing

    man ln

    in a console on unbutu to get the command's to make a symbolic link (or for most other unix commands)

    The source is on the tomato authors page. in the source file there is a README, which will answer some of your questions regarding tools etc.

    Good Luck
  10. ginasas

    ginasas LI Guru Member

    I think my PATH is ok, I have tested with echo $PATH. And I see that path is added to

    Do I need symlink I have copied tomato/tools/brcm to /opt/brcm , so I think that I don't need symbolic link?

    make command still give me error masages.
  11. MarioT

    MarioT LI Guru Member

    You need for sure the following packages installed:

    build-essential bison flex zlib1g-dev (from memory...)

    Also, this may no longer apply in Gutsy 7.10, but older releases needed to force the "bash" shell instead of the one chosen (dash) by the distribution since the "echo -e" command was not supported in the makefile.
  12. ginasas

    ginasas LI Guru Member

    Any help? what linux you are using? I have tested with opensusy 10.2 and 10.3 I have the some erorr masage gcc not found. I don't understand do I need install gcc?

Share This Page