Results 1 to 5 of 5

Thread: HOW TO COMPILE TO TARGET OLEG

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Talking HOW TO COMPILE TO TARGET OLEG

    HOW-TO learn how to setup a target oleg compile enviroment Compile your own or others sourcecode for the WL500(G/p) with OLEG? In need of compiling some tools for your router? Well I am doing this how-to because its a bit hit and miss to figure it out.

    1. Ubuntu I have suceeded with Ubuntu 9.10 'Karmic Koala' - running under a virtual machine and running on a PC partition so I can just boot into it. I recommend creating a seperate partition on your PC hardisk and installing it there because it is faster to compile and use. You should be able to use debian or other linux releases, its just that ubuntu was easy to setup.

    2. First Install developer tools
    You want to SuperUserDO the following
    sudo apt-get install gcc cvs subversion flex bison make pkg-config rsync gettext libglib2.0-dev autoconf libtool automake1.9 sudo patch bzip2 gzip wget sed

    to make sure you have the tools needed for compling and linking, running scripts and obtaining files from the internet. "apt-get is the command-line tool for handling packages, and may be considered the user's "back-end" to other tools using the APT library."
    http://linux.die.net/man/8/apt-get

    3. SVN checkout the Optware Area

    cd /opt
    svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware
    cd optware


    4. Make oleg-target : creates the oleg directory and make ipkg-utils
    dirs


    Here I change a line in the opt/optware/Makefile from 'OPTWARE_TARGET?=?xxx? to 'OPTWARE_TARGET=oleg'
    then
    make toolchain
    make oleg-target
    cd oleg
    make directories ipkg-utils
    make ipkg-utils

    5. Test if you like * WARNING - THIS WILL TAKE A LONG TIME TO COMPLETE*
    cd /opt/optware/oleg
    make
    Packetname
    (eg; make esniper)

    this will make a existing binary oleg package from the source.

    Example of downloading and compiling source
    *again Warning - this will take a long time*

    For this example I am going to take the sourceforge package 'esniper' a ebay sniper util and compile it for the WL500 router.

    We have now setup the target oleg compile enviroment - Get the sourcecode from http://sourceforge.net/projects/esni...0.tgz/download

    1. unzip it into a subdirectory in oleg
    2. locate the esniper.mk file and change it to the current version
    3. >Make esniper.ipkg
    4. move the ipkg file to the router
    5. > ipkg install eniper-2-21-0.ipk

    references:
    Doing this sucessfully based on
    QMax posts,
    FastJacks howto in German : http://wl500g.info/showthread.php?t=...apt-get&page=3
    Last edited by trampjuice; 04-01-2010 at 17:10.

Similar Threads

  1. [Prob] Mediatomb UPnP Media Server auf dem Asus Wl-500 gP (Oleg)? Wie?
    By edelknecht in forum German Discussion - Deutsch (DE)
    Replies: 15
    Last Post: 16-04-2010, 12:54
  2. Compile a driver how to?
    By parper in forum WL-500gP Q&A
    Replies: 2
    Last Post: 17-03-2008, 12:49
  3. Compile Ralink Wifi minipci driver as module
    By Flying in forum WL-500gP Q&A
    Replies: 1
    Last Post: 27-02-2008, 12:30
  4. Compile Oleg problem...
    By kpw in forum WL-500g Custom Development
    Replies: 3
    Last Post: 14-09-2006, 09:19

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •