LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-08-2006, 12:00 PM   #1
rahulsurya
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
problem installing nistnet 3.0 on linux


when i type make command i get following error:

gcc -m32 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i486 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -D__KERNEL__ -fno-common -I. -I../include -DDEVHITBOX=\"/dev/hitbox\" -DHITMAJOR=62 -DHITMINOR=0 -DDEVNISTNET=\"/dev/nistnet\" -DNISTNETMAJOR=62 -DNISTNETMINOR=1 -DDEVMUNGEBOX=\"/dev/mungebox\" -DMUNGEMAJOR=63 -DDEVSPYBOX=\"/dev/spybox\" -DSPYMAJOR=64 -DCONFIG_ECN -DCONFIG_COS -DCONFIG_DELAYSTART -DCONFIG_RTC_AGGRESSIVE -fno-common -I. -I../include -DDEVHITBOX=\"/dev/hitbox\" -DHITMAJOR=62 -DHITMINOR=0 -DDEVNISTNET=\"/dev/nistnet\" -DNISTNETMAJOR=62 -DNISTNETMINOR=1 -DDEVMUNGEBOX=\"/dev/mungebox\" -DMUNGEMAJOR=63 -DDEVSPYBOX=\"/dev/spybox\" -DSPYMAJOR=64 -DCONFIG_ECN -DCONFIG_COS -DCONFIG_DELAYSTART -DCONFIG_RTC_AGGRESSIVE -fno-common -I/lib/modules/2.6.16.20rahul/build/include -I/home/rahul/Desktop/nistnet-3.0a/kernel -I/home/rahul/Desktop/nistnet-3.0a/kernel/../include -DDEVHITBOX=\"/dev/hitbox\" -DHITMAJOR=62 -DHITMINOR=0 -DDEVNISTNET=\"/dev/nistnet\" -DNISTNETMAJOR=62 -DNISTNETMINOR=1 -DDEVMUNGEBOX=\"/dev/mungebox\" -DMUNGEMAJOR=63 -DDEVSPYBOX=\"/dev/spybox\" -DSPYMAJOR=64 -DCONFIG_ECN -DCONFIG_COS -DCONFIG_DELAYSTART -DCONFIG_RTC_AGGRESSIVE -fno-common -DUSE_EXPERIMENTAL -DDISTRIBUTION_NAME="\"experimental\"" -c -o /home/rahul/Desktop/nistnet-3.0a/kernel/tabledist.o /home/rahul/Desktop/nistnet-3.0a/kernel/../math/tabledist.c
In file included from /lib/modules/2.6.16.20rahul/build/include/linux/rwsem.h:27,
from /lib/modules/2.6.16.20rahul/build/include/asm/semaphore.h:42,
from /lib/modules/2.6.16.20rahul/build/include/linux/sched.h:20,
from /lib/modules/2.6.16.20rahul/build/include/asm/irq.h:14,
from /home/rahul/Desktop/nistnet-3.0a/kernel/../include/kincludes.h:126,
from /home/rahul/Desktop/nistnet-3.0a/kernel/../math/tabledist.c:10:
/lib/modules/2.6.16.20rahul/build/include/asm/rwsem.h: In function ‘__down_read’:
/lib/modules/2.6.16.20rahul/build/include/asm/rwsem.h:105: error: syntax error before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.20rahul/build/include/asm/rwsem.h: In function ‘__down_write’:
/lib/modules/2.6.16.20rahul/build/include/asm/rwsem.h:157: error: syntax error before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.20rahul/build/include/asm/rwsem.h: In function ‘__up_read’:
/lib/modules/2.6.16.20rahul/build/include/asm/rwsem.h:194: error: syntax error before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.20rahul/build/include/asm/rwsem.h:188: warning: unused variable ‘tmp’
/lib/modules/2.6.16.20rahul/build/include/asm/rwsem.h: In function ‘__up_write’:/lib/modules/2.6.16.20rahul/build/include/asm/rwsem.h:220: error: syntax error before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.20rahul/build/include/asm/rwsem.h: In function ‘__downgrade_write’:
/lib/modules/2.6.16.20rahul/build/include/asm/rwsem.h:245: error: syntax error before ‘KBUILD_BASENAME’
In file included from /lib/modules/2.6.16.20rahul/build/include/linux/sched.h:20,
from /lib/modules/2.6.16.20rahul/build/include/asm/irq.h:14,
from /home/rahul/Desktop/nistnet-3.0a/kernel/../include/kincludes.h:126,
from /home/rahul/Desktop/nistnet-3.0a/kernel/../math/tabledist.c:10:
/lib/modules/2.6.16.20rahul/build/include/asm/semaphore.h: In function ‘down’:
/lib/modules/2.6.16.20rahul/build/include/asm/semaphore.h:105: error: syntax error before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.20rahul/build/include/asm/semaphore.h: In function ‘down_interruptible’:
/lib/modules/2.6.16.20rahul/build/include/asm/semaphore.h:130: error: syntax error before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.20rahul/build/include/asm/semaphore.h: In function ‘down_trylock’:
/lib/modules/2.6.16.20rahul/build/include/asm/semaphore.h:155: error: syntax error before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.20rahul/build/include/asm/semaphore.h: In function ‘up’:
/lib/modules/2.6.16.20rahul/build/include/asm/semaphore.h:179: error: syntax error before ‘KBUILD_BASENAME’
make[3]: *** [/home/rahul/Desktop/nistnet-3.0a/kernel/tabledist.o] Error 1
make[2]: *** [_module_/home/rahul/Desktop/nistnet-3.0a/kernel] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16.20'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rahul/Desktop/nistnet-3.0a/kernel'
make: *** [sub_dirs] Error 2











I'm new to linux and i dont know how to solve above problem can any1 help me soon
 
  


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
nistnet.2.0.12c installation problem ahmed_alzahrani Linux - Software 1 06-08-2006 02:45 PM
problems installing nistnet.2.0.12c ahmed_alzahrani Mandriva 3 01-05-2006 07:57 AM
nistnet kernel booting problem kiran_challa Linux - Newbie 2 08-08-2005 07:57 AM
Problem with Nistnet Installation kiran_challa Linux - Software 0 07-05-2005 03:55 AM
how to set network addresses for running NISTNET on red Hat Linux 9.0 apimple2002 Linux - Software 0 08-08-2003 09:36 AM

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

All times are GMT -5. The time now is 04:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration