Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)

Install MDK3 on Ubuntu

By: nhutdm on Jul 22nd, 2011  |  syntax: Bash  |  size: 0.64 KB  |  hits: 2,957  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Make sure that gcc is installed. In older Ubuntu, you need to install gcc-4.4.3. But in Ubuntu 10.04 LTS, gcc-4.4.3 is installed. To do this, you can type this command on terminal.
  2. sudo apt-get install gcc-4.4.3
  3. # Download the lastest version of MDK3.
  4. http://homepages.tu-darmstadt.de/~p_larbig/wlan/
  5. # Extract the archive in folder name MDK3 and open up terminal and follow the given steps. Edit file common.mak.
  6. cd mdk3/osdep
  7. sudo gedit common.mak
  8. You must find this line:
  9. CC = $(TOOL_PREFIX)gcc
  10. And replace it with:
  11. CC = $(TOOL_PREFIX)gcc-4.4.3
  12. # Save common.mak, now you can install MDK3 into your system.
  13. sudo make
  14. sudo make install