LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   fedora kernel 2.4 (https://www.linuxquestions.org/questions/linux-server-73/fedora-kernel-2-4-a-881277/)

ima11 05-17-2011 04:13 PM

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!

acid_kewpie 05-17-2011 04:20 PM

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.

John VV 05-17-2011 11:59 PM

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 .

ima11 05-19-2011 05:11 PM

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)

John VV 05-20-2011 12:18 AM

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.

acid_kewpie 05-20-2011 12:57 AM

Yet another ns2 related question... what is it this year that is making ns2 so popular or hard to use??

ima11 05-22-2011 05:27 AM

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))

TobiSGD 05-22-2011 05:48 AM

You should replace the /path/to/configured/kernel/sources with a path to your configured kernel sources.

John VV 05-22-2011 02:16 PM

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

ima11 05-23-2011 02:24 PM

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

John VV 05-23-2011 02:39 PM

you might get it to build on rhel4.9
It is from the same era as this program

you might want to try to get hold of the programs creator
http://sourceforge.net/project/membe...roup_id=212044

the svn did have an update 11 months ago
http://sourceforge.net/scm/?type=svn&group_id=212044
http://dsruu.svn.sourceforge.net/viewvc/dsruu/trunk/
it might build on fedora14 or ubuntu 10 ???
seeing as the tar is very old
dsr-uu-0.2.tar.gz 2007-12-08

ima11 05-24-2011 03:29 PM

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"

John VV 05-24-2011 06:46 PM

Quote:

i need this in my thesis
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

ima11 05-25-2011 01:55 PM

same errors !!!!!!!!!!!!!!!!!!!!!

John VV 05-25-2011 04:15 PM

Quote:

same errors
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 12:19 PM.