LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2011, 12:51 PM   #1
netbaby
LQ Newbie
 
Registered: Sep 2011
Posts: 11

Rep: Reputation: Disabled
Please help me with NIST Net installation


Dear all,

I installed Scientific Linux v5.0 (kernel 2.6.18-8.1.3.el5) on my server. And I tried to install NIST Net (http://snad.ncsl.nist.gov/nistnet/). First of all, I downloaded NIST Net package and kernel source, used "rpmbuild" and "make oldconfig" to appy the old kernel configuration. These tasks are OK.

According to the link http://www.aimvalley.com/opensource/...load_coolmenus, I downloaded nistnet-3.0a_aimsys.patch file and run it by using command:
patch -Np1 -i ../nistnet-3.0a_aimsys.patch

After that, I entered the NIST Net source folder, type. ./configure and make. But the result when I ran the command "make" had some errors althrough I used the patch file.


Quote:
[root@localhost nistnet-3.0a]# make
...
/root/NISTNet/nistnet-3.0a/kernel/knistnet.c:1246: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_NOVERS’
/root/NISTNet/nistnet-3.0a/kernel/knistnet.c:1246: warning: parameter names (without types) in function declaration
In file included from /root/NISTNet/nistnet-3.0a/kernel/../include/kincludes.h:15,
from /root/NISTNet/nistnet-3.0a/kernel/../math/tabledist.c:10:
/lib/modules/2.6.18-8.1.3.el5/build/include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
In file included from /lib/modules/2.6.18-8.1.3.el5/build/include/linux/rwsem.h:24,
from /lib/modules/2.6.18-8.1.3.el5/build/include/asm/semaphore.h:42,
from /lib/modules/2.6.18-8.1.3.el5/build/include/linux/sched.h:57,
from /lib/modules/2.6.18-8.1.3.el5/build/include/asm/irq.h:13,
from /root/NISTNet/nistnet-3.0a/kernel/../include/kincludes.h:126,
from /root/NISTNet/nistnet-3.0a/kernel/../math/tabledist.c:10:
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/rwsem.h: In function ‘__down_read’:
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/rwsem.h:104: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/rwsem.h: In function ‘__down_write_nested’:
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/rwsem.h:156: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/rwsem.h: In function ‘__up_read’:
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/rwsem.h:198: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/rwsem.h:192: warning: unused variable ‘tmp’
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/rwsem.h: In function ‘__up_write’:
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/rwsem.h:224: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/rwsem.h: In function ‘__downgrade_write’:
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/rwsem.h:249: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
In file included from /lib/modules/2.6.18-8.1.3.el5/build/include/linux/sched.h:57,
from /lib/modules/2.6.18-8.1.3.el5/build/include/asm/irq.h:13,
from /root/NISTNet/nistnet-3.0a/kernel/../include/kincludes.h:126,
from /root/NISTNet/nistnet-3.0a/kernel/../math/tabledist.c:10:
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/semaphore.h: In function ‘down’:
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/semaphore.h:105: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/semaphore.h: In function ‘down_interruptible’:
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/semaphore.h:130: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/semaphore.h: In function ‘down_trylock’:
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/semaphore.h:155: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/semaphore.h: In function ‘up’:
/lib/modules/2.6.18-8.1.3.el5/build/include/asm/semaphore.h:179: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
make[3]: *** [/root/NISTNet/nistnet-3.0a/kernel/tabledist.o] Error 1
make[2]: *** [_module_/root/NISTNet/nistnet-3.0a/kernel] Error 2
make[1]: *** [all] Error 2
make: *** [sub_dirs] Error 2
[root@localhost nistnet-3.0a]#

Have you ever experienced this problem? Do I need recompile linux kernel in order to resolve this?

Thank you very much.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
About NIST Net installation netbaby Linux - Networking 3 09-21-2011 08:23 AM
NIST Net Installation on Fedora gebronmc Fedora 6 04-21-2010 02:09 PM
Probelm while " make " Nist Net p_test Linux - Software 1 08-11-2006 01:33 PM
HELP!NIST Net install problem ttsuess Linux - Software 0 08-01-2006 08:05 AM
Setting clock from NIST ionmich SUSE / openSUSE 3 05-23-2005 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration