Hi, 
I am new in Linux, and I have to install nist net for emulation of UMTS. I tried
to compile nist net but I got some errors when I run "make". 
I have done all the steps that you have posted in the list.  I patch the
knistnet.c.   I have SUSE Linux 10.1 with kernel 2.6.16.13-4 i686. The version
of the nist net is 2.0.12c.

The error that I got is:

In file included from
/lib/modules/2.6.16.13-4-default/build/include/linux/rwsem.h:27,
                 from
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h:42,
                 from
/lib/modules/2.6.16.13-4-default/build/include/linux/sched.h:20,
                 from 
/lib/modules/2.6.16.13-4-default/build/include/asm/irq.h:14,
                 from
/utilerias/nistnet/nistnet-3.0a/kernel/../include/kincludes.h:126,
                 from 
/utilerias/nistnet/nistnet-3.0a/kernel/../math/tabledist.c:10:
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h: In function
‘__down_read’:
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h:106: error: expected
‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h: In function
‘__down_write’:
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h:158: error: expected
‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h: In function 
‘__up_read’:
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h:195: error: expected
‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h:189: warning: unused
variable ‘tmp’
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h: In function
‘__up_write’:
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h:221: error: expected
‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h: In function
‘__downgrade_write’:
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h:246: error: expected
‘:’ or ‘)’ before ‘KBUILD_BASENAME’
In file included from
/lib/modules/2.6.16.13-4-default/build/include/linux/sched.h:20,
                 from 
/lib/modules/2.6.16.13-4-default/build/include/asm/irq.h:14,
                 from
/utilerias/nistnet/nistnet-3.0a/kernel/../include/kincludes.h:126,
                 from 
/utilerias/nistnet/nistnet-3.0a/kernel/../math/tabledist.c:10:
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h: In function 
‘down’:
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h:105: error:
expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h: In function
‘down_interruptible’:
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h:130: error:
expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h: In function
‘down_trylock’:
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h:155: error:
expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h: In function 
‘up’:
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h:179: error:
expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
make[3]: *** [/utilerias/nistnet/nistnet-3.0a/kernel/tabledist.o] Error 1
make[2]: *** [_module_/utilerias/nistnet/nistnet-3.0a/kernel] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16.13-4'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/utilerias/nistnet/nistnet-3.0a/kernel'
make: *** [sub_dirs] Error 2


 Thank you

Antonio Guerrero





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



_______________________________________________
nistnet mailing list
nistnet@antd.nist.gov
http://www-x.antd.nist.gov/mailman/listinfo/nistnet

Reply via email to