Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-17-2011, 05:13 PM
|
#1
|
LQ Newbie
Registered: Apr 2011
Posts: 13
Rep:
|
fedora kernel 2.4
hi all
i`m searching for a link to downlaod fedora kernel 2.4 coz i tried to work with fedora kernel 2,6 but i met prblms in the compilation , so plzzzzzzzzz help!
|
|
|
05-17-2011, 05:20 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you won't find any packages for any Fedora kernels on 2.4. You need a much better reason than "compilation pslmmrbs" to want to do this, I'd bet money you really don't need to do this. You'd need to get a tarball from kernel.org and start from there, but again, don't.
|
|
|
05-18-2011, 12:59 AM
|
#3
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,647
|
the 2.4 died with rh9 ( before fedora 1 )
the 2.4 kernel will not work in the current fedora 14 ( well maybe a exceptional hacker might)
Quote:
but i met prblms in the compilation , so plzzzzzzzzz help!
|
you might want to read the instructions on the fedora wiki .
|
|
|
05-19-2011, 06:11 PM
|
#4
|
LQ Newbie
Registered: Apr 2011
Posts: 13
Original Poster
Rep:
|
Ok i understand what u say,I tried to install the DSR-UU and when i saw the Readme file, i found that it can be run easily in fedora kernel 2.4 without errors coz it support all the headers wich DSr needs.....So that`s why i was looking for kernel 2.4
Thanks for you (acid_kewpie & John VV)
|
|
|
05-20-2011, 01:18 AM
|
#5
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,647
|
this here
http://sourceforge.net/projects/dsruu/files/DSR-UU/
last modified in 2007 for ns-2 ( also the ns2 from 2007-unpatched for the current kernels )
also most of the files in "dsr-uu-0.2" ( dsr-uu-0.2.tar.gz) were last edited in 2005 )
this would be a bit hare to build in fedora 14
and have work in the ns that is in the fedora repos
did you read the README file in dsr-uu-0.2
part of it
Quote:
Installation
============
* To compile for Linux (against currently running kernel), simply do:
> make
* To compile against another kernel:
> make KERNEL_DIR=/path/to/configured/kernel/sources
* To compile against MIPS (e.g., LinkSys WRT54G routers):
> make mips KERNEL_DIR=/path/to/mips/kernel/sources
NOTE: You must have the Mips cross compiler in your PATH.
* Install the modules:
> make install
* Uninstall:
> make uninstall
* Compile for ns-2 version 2.28:
1. Symlink the dsr-uu directory into the ns-2 source tree:
> cd /path/to/ns-2/ns-2.28 && ln -s /path/to/dsr-uu dsr-uu;
2. Apply the ns-2 DSR-UU patch
> cd ns-allinone-X.XX/ns-X.XX/
> patch -p1 < /path/to/dsr-uu/patches/ns-2.patch
3. Compile ns-2
4. Use "DSRUU" to select the protocol in the ns-2 scenario file you
|
* Compile for ns-2 version 2.28:
but you might need to install the older gcc 4.1 alongside fedora's gcc 4.5 or 4.6
the current ns dose build in gcc 4.1 but this program might need gcc 3.4 ( the compact-gcc that is in the fedora repo)
have fun.
|
|
|
05-20-2011, 01:57 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Yet another ns2 related question... what is it this year that is making ns2 so popular or hard to use??
|
|
|
05-22-2011, 06:27 AM
|
#7
|
LQ Newbie
Registered: Apr 2011
Posts: 13
Original Poster
Rep:
|
As i have Ubuntu 10.10 with kernel 2.6 and gcc 4.4, i tried to compile (dsr-UU) with the 2nd cmd (* To compile against another kernel:
> make KERNEL_DIR=/path/to/configured/kernel/sources)
and it reply 2 errors
ima@ima-HP-Pavilion-dv4-Notebook-PC:~/Bureau/dsr-uu$ make KERNEL_DIR=/path/to/configured/kernel/sources
grep: /path/to/configured/kernel/sources/Makefile: No such file or directory
grep: /path/to/configured/kernel/sources/Makefile: No such file or directory
Compiling for /home/ima/Bureau/dsr-uu
gcc -Wall -fno-strict-aliasing -O2 -D__KERNEL__ -DMODULE -DDEBUG -DEXPORT_SYMTAB -DCONFIG_MODVERSIONS -DMODVERSIONS -include /path/to/configured/kernel/sources/include/linux/modversions.h -nostdinc -I /usr/lib/gcc/i686-linux-gnu/4.4.5/include -I/path/to/configured/kernel/sources/include -c -o dsr-module.o dsr-module.c
cc1: fatal error: /path/to/configured/kernel/sources/include/linux/modversions.h: No such file or directory
compilation terminated.
make: *** [dsr-module.o] Error 1
......So, what i should do now!! ((i`m beginner in linux))
|
|
|
05-22-2011, 06:48 AM
|
#8
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
You should replace the /path/to/configured/kernel/sources with a path to your configured kernel sources.
|
|
|
05-22-2011, 03:16 PM
|
#9
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,647
|
you can not build a 2.4 version of the kernel on fedora 14
where did you get that idea ?
use yum to install the CURRENT kernel you are running
" yum install kernel-devel "
then for this VERY VERY OLD program install the 3.4 version of gcc ( 4.4 is WAY WAY TO NEW !!!!!)
it is in the yum repos as the compact gcc
did you NOT LISTEN
even this I DO NOT THINK I COULD BUILD THIS ON FEDORA 14 !!!
NOW
now you say you have ubuntu 10 and not fedora
what is it !!!!!!!!
if you do have Ubuntu then WHY is FEDORA in the thread title !!!
why do you think you need this unsupported program
it has NOT been worked on since 2005
Last edited by John VV; 05-22-2011 at 03:17 PM.
|
|
|
05-23-2011, 03:24 PM
|
#10
|
LQ Newbie
Registered: Apr 2011
Posts: 13
Original Poster
Rep:
|
1st thanks for ur reply johnVV, well, i have both of fedora and Ubuntu coz i had already install Ubuntu as a second OS when fedora`s run in the virtual box, so i tried to install DSR-UU in both of theme...
I must build this version of Protocol (i mean DSR-UU) coz i need this in my thesis , i have no choice there`s no implementation except this one....i wish u understand me!!
I appreciate
|
|
|
05-24-2011, 04:29 PM
|
#12
|
LQ Newbie
Registered: Apr 2011
Posts: 13
Original Poster
Rep:
|
Thnkx a lot for the link and i will try to build it in Ubuntu first, then i`ll see...
"I tried before to contact the creator of this Program Mr.erik but he didn`t respond maybe the @ was so OLD, i `ll try another time"
|
|
|
05-24-2011, 07:46 PM
|
#13
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,647
|
If you need this then why did you NOT get the program creator on board FIRST
i am betting your thesis adviser informed you to that .
if your thesis depends on this I would have been in contact with the program author BEFORE i submitted paperwork
|
|
|
05-25-2011, 02:55 PM
|
#14
|
LQ Newbie
Registered: Apr 2011
Posts: 13
Original Poster
Rep:
|
same errors !!!!!!!!!!!!!!!!!!!!!
|
|
|
05-25-2011, 05:15 PM
|
#15
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,647
|
pleas post them
is this the kernel module or the ns2 mod ?
Quote:
DSR-UU is an implementation of the Dynamic Source Routing protocol that runs in the Linux kernel or in the ns-2 network simulator.
|
from: http://sourceforge.net/projects/dsruu/
if ns2 ? what version
for the kernel -- WHAT version is listen in the program docs
- i bet it is NOT the same as is in fedora 14 ( but an older version )
for the very very old dsr-uu-0.2.tar.gz
i would try on rhel4.9
for the svn pull rhel6
you might have to hack this program to use the current version of OS's
from the readme in dsr-uu-0.2.tar.gz
* Compile for ns-2 version 2.28:
this is NOT the version that can build on fedora 14 - will not build
2.34 is
search the forum
the FULL setp by step instructions for the CURRENT 2.34 ns2 are posted
then hack dsr-uu to use the current version of ns2
|
|
|
All times are GMT -5. The time now is 06:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|