LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-15-2007, 11:24 PM   #1
krishna_karne
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
Thumbs up Error while patching RTLinux 2.6.9 kernel using kernel linux-2.6.9


I am getting the following Erros




/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:133: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:135: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpus_xor':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:136: error: `dstp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:136: error: `src1p' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:136: error: `src2p' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:136: error: `nbits' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:141: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:143: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpus_andnot':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:144: error: `dstp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:144: error: `src1p' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:144: error: `src2p' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:144: error: `nbits' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:148: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:150: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpus_complement':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:151: error: `dstp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:151: error: `srcp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:151: error: `nbits' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:155: warning: type defaults to `int' in declaration of `cpumask_t'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:155: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:157: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpus_equal':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:158: error: `src1p' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:158: error: `src2p' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:158: error: `nbits' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:162: warning: type defaults to `int' in declaration of `cpumask_t'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:162: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:164: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpus_intersects':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:165: error: `src1p' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:165: error: `src2p' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:165: error: `nbits' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:169: warning: type defaults to `int' in declaration of `cpumask_t'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:169: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:171: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpus_subset':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:172: error: `src1p' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:172: error: `src2p' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:172: error: `nbits' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:176: warning: type defaults to `int' in declaration of `cpumask_t'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:176: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:177: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpus_empty':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:178: error: `srcp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:178: error: `nbits' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:182: warning: type defaults to `int' in declaration of `cpumask_t'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:182: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:183: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpus_full':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:184: error: `srcp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:184: error: `nbits' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:188: warning: type defaults to `int' in declaration of `cpumask_t'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:188: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:189: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpus_weight':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:190: error: `srcp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:190: error: `nbits' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:195: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:197: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpus_shift_right':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:198: error: `dstp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:198: error: `srcp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:198: error: `n' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:198: error: `nbits' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:203: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:205: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpus_shift_left':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:206: error: `dstp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:206: error: `srcp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:206: error: `n' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:206: error: `nbits' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:210: warning: type defaults to `int' in declaration of `cpumask_t'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:210: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:211: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__first_cpu':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:212: warning: implicit declaration of function `min_t'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:212: error: syntax error before "int"
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:213: warning: no return statement in function returning non-void
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:216: warning: type defaults to `int' in declaration of `cpumask_t'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:216: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:217: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__next_cpu':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:218: error: syntax error before "int"
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:219: warning: no return statement in function returning non-void
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:267: warning: type defaults to `int' in declaration of `cpumask_t'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:267: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:268: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpumask_scnprintf':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:269: error: `buf' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:269: error: `len' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:269: error: `srcp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:269: error: `nbits' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:275: error: syntax error before "cpumask_t"
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:276: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpumask_parse':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:277: error: `buf' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:277: error: `len' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:277: error: `dstp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:277: error: `nbits' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:348: error: syntax error before "cpu_possible_map"
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:348: warning: type defaults to `int' in declaration of `cpu_possible_map'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:348: warning: data definition has no type or storage class
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:349: error: syntax error before "cpu_online_map"
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:349: warning: type defaults to `int' in declaration of `cpu_online_map'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:349: warning: data definition has no type or storage class
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:350: error: syntax error before "cpu_present_map"
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:350: warning: type defaults to `int' in declaration of `cpu_present_map'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:350: warning: data definition has no type or storage class
In file included from /usr/src/rtlinux-3.2-wr/linux/include/asm/timex.h:10,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/timex.h:157,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/sched.h:11,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:10,
from periodic_test.c:12:
/usr/src/rtlinux-3.2-wr/linux/include/asm/processor.h: In function `load_esp0':
/usr/src/rtlinux-3.2-wr/linux/include/asm/processor.h:465: warning: implicit declaration of function `unlikely'
In file included from /usr/src/rtlinux-3.2-wr/linux/include/linux/jiffies.h:6,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/sched.h:12,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:10,
from periodic_test.c:12:
/usr/src/rtlinux-3.2-wr/linux/include/linux/spinlock.h: In function `bit_spin_unlock':
/usr/src/rtlinux-3.2-wr/linux/include/linux/spinlock.h:514: warning: implicit declaration of function `barrier'
In file included from /usr/src/rtlinux-3.2-wr/linux/include/linux/jiffies.h:7,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/sched.h:12,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:10,
from periodic_test.c:12:
/usr/src/rtlinux-3.2-wr/linux/include/linux/seqlock.h: In function `write_seqlock':
/usr/src/rtlinux-3.2-wr/linux/include/linux/seqlock.h:52: warning: implicit declaration of function `printk'
/usr/src/rtlinux-3.2-wr/linux/include/linux/seqlock.h:52: error: `KERN_ERR' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/seqlock.h:52: error: syntax error before string constant
/usr/src/rtlinux-3.2-wr/linux/include/linux/seqlock.h: In function `write_sequnlock':
/usr/src/rtlinux-3.2-wr/linux/include/linux/seqlock.h:61: error: `KERN_ERR' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/seqlock.h:61: error: syntax error before string constant
/usr/src/rtlinux-3.2-wr/linux/include/linux/seqlock.h: In function `write_tryseqlock':
/usr/src/rtlinux-3.2-wr/linux/include/linux/seqlock.h:66: error: `KERN_ERR' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/seqlock.h:66: error: syntax error before string constant
In file included from /usr/src/rtlinux-3.2-wr/linux/include/linux/sched.h:12,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:10,
from periodic_test.c:12:
/usr/src/rtlinux-3.2-wr/linux/include/linux/jiffies.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/jiffies.h:16: error: syntax error before "jiffies_64"
/usr/src/rtlinux-3.2-wr/linux/include/linux/jiffies.h:16: warning: type defaults to `int' in declaration of `jiffies_64'
/usr/src/rtlinux-3.2-wr/linux/include/linux/jiffies.h:16: warning: data definition has no type or storage class
/usr/src/rtlinux-3.2-wr/linux/include/linux/jiffies.h:20: error: syntax error before "get_jiffies_64"
/usr/src/rtlinux-3.2-wr/linux/include/linux/jiffies.h:20: warning: type defaults to `int' in declaration of `get_jiffies_64'
/usr/src/rtlinux-3.2-wr/linux/include/linux/jiffies.h:20: warning: data definition has no type or storage class
In file included from /usr/src/rtlinux-3.2-wr/linux/include/linux/sched.h:21,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:10,
from periodic_test.c:12:
/usr/src/rtlinux-3.2-wr/linux/include/asm/mmu.h:13: error: field `sem' has incomplete type
In file included from /usr/src/rtlinux-3.2-wr/linux/include/linux/signal.h:4,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/sched.h:25,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:10,
from periodic_test.c:12:
/usr/src/rtlinux-3.2-wr/linux/include/linux/list.h:715:2: warning: #warning "don't include kernel headers in userspace"
In file included from /usr/src/rtlinux-3.2-wr/linux/include/asm/siginfo.h:4,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/signal.h:7,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/sched.h:25,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:10,
from periodic_test.c:12:
/usr/src/rtlinux-3.2-wr/linux/include/asm-generic/siginfo.h:59: error: size of array `_pad' is too large
In file included from /usr/src/rtlinux-3.2-wr/linux/include/linux/sched.h:29,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:10,
from periodic_test.c:12:
/usr/src/rtlinux-3.2-wr/linux/include/linux/completion.h:15: error: syntax error before "wait_queue_head_t"
/usr/src/rtlinux-3.2-wr/linux/include/linux/completion.h:15: warning: no semicolon at end of struct or union
/usr/src/rtlinux-3.2-wr/linux/include/linux/completion.h: In function `init_completion':
/usr/src/rtlinux-3.2-wr/linux/include/linux/completion.h:26: error: dereferencing pointer to incomplete type
/usr/src/rtlinux-3.2-wr/linux/include/linux/completion.h:27: warning: implicit declaration of function `init_waitqueue_head'
/usr/src/rtlinux-3.2-wr/linux/include/linux/completion.h:27: error: dereferencing pointer to incomplete type
In file included from /usr/src/rtlinux-3.2-wr/linux/include/linux/sched.h:30,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:10,
from periodic_test.c:12:
/usr/src/rtlinux-3.2-wr/linux/include/linux/pid.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/pid.h:17: error: field `pid_chain' has incomplete type
/usr/src/rtlinux-3.2-wr/linux/include/linux/pid.h:19: error: field `pid_list' has incomplete type
In file included from /usr/src/rtlinux-3.2-wr/linux/include/linux/sched.h:31,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:10,
from periodic_test.c:12:
/usr/src/rtlinux-3.2-wr/linux/include/linux/percpu.h: In function `__alloc_percpu':
/usr/src/rtlinux-3.2-wr/linux/include/linux/percpu.h:45: warning: implicit declaration of function `kmalloc'
/usr/src/rtlinux-3.2-wr/linux/include/linux/percpu.h:45: error: `GFP_KERNEL' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/percpu.h:45: warning: initialization makes pointer from integer without a cast
/usr/src/rtlinux-3.2-wr/linux/include/linux/percpu.h: In function `free_percpu':
/usr/src/rtlinux-3.2-wr/linux/include/linux/percpu.h:52: warning: implicit declaration of function `kfree'
In file included from /usr/src/rtlinux-3.2-wr/linux/include/linux/sched.h:101,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:10,
from periodic_test.c:12:
/usr/src/rtlinux-3.2-wr/linux/include/linux/timer.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/timer.h:12: error: field `entry' has incomplete type
In file included from periodic_test.c:12:
/usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:214: error: field `attr' has incomplete type
/usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:221: error: field `kobj' has incomplete type
/usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:232: error: field `attr' has incomplete type
/usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:239: error: field `kobj' has incomplete type
/usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:249: error: field `list' has incomplete type
/usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:300: error: field `modules_which_use_me' has incomplete type
/usr/src/rtlinux-3.2-wr/linux/include/linux/module.h: In function `try_module_get':
/usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:382: warning: implicit declaration of function `likely'
/usr/src/rtlinux-3.2-wr/linux/include/linux/module.h: In function `module_put':
/usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:398: warning: implicit declaration of function `wake_up_process'
/usr/src/rtlinux-3.2-wr/linux/include/linux/module.h: In function `MOD_INC_USE_COUNT':
/usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:557: error: `KERN_WARNING' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/module.h:557: error: syntax error before string constant
In file included from /usr/src/rtlinux-3.2-wr/include/rtl_core.h:24,
from periodic_test.c:15:
/usr/src/rtlinux-3.2-wr/linux/include/asm/current.h: In function `get_current':
/usr/src/rtlinux-3.2-wr/linux/include/asm/current.h:10: warning: implicit declaration of function `current_thread_info'
/usr/src/rtlinux-3.2-wr/linux/include/asm/current.h:10: error: invalid type argument of `->'
periodic_test.c: At top level:
periodic_test.c:27: error: syntax error before "clock"
periodic_test.c:27: warning: type defaults to `int' in declaration of `clock'
periodic_test.c:27: warning: data definition has no type or storage class
periodic_test.c: In function `handler':
periodic_test.c:57: warning: implicit declaration of function `rtf_put'periodic_test.c: In function `init_module':
periodic_test.c:76: warning: implicit declaration of function `rtf_destroy'
periodic_test.c:77: warning: implicit declaration of function `rtf_create'
periodic_test.c:84: warning: implicit declaration of function `rtl_getbestclock'
periodic_test.c:85: warning: implicit declaration of function `rtl_setclockhandler'
periodic_test.c:92: error: invalid type argument of `->'
periodic_test.c:93: error: invalid type argument of `->'
periodic_test.c:93: error: `RTL_CLOCK_MODE_PERIODIC' undeclared (first use in this function)
periodic_test.c:94: error: invalid type argument of `->'
periodic_test.c: In function `shutdown':
periodic_test.c:103: error: invalid type argument of `->'
make[1]: *** [periodic_test.o] Error 1
make[1]: Leaving directory `/usr/src/rtlinux-3.2-wr/regression'
make: *** [modules] Error 2
[root@localhost rtlinux-3.2-wr]#


plz help me any body how can avoid this erros
 
Old 11-16-2007, 10:36 PM   #2
krishna_karne
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up RTLinux compilation Error

While compilling RTLInux patch kernel_patch-2.6.9-rtl3.2-rc1 patch on linux-2.6.9 kernel, i am getting error messages like this plz any body help me to solve this.




[root@localhost ~]# cd /usr/src/rtlinux-3.2-wr
[root@localhost rtlinux-3.2-wr]# make
make[1]: Entering directory `/usr/src/rtlinux-3.2-wr/main'
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -g -Wdeclaration-after-statement -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -mregparm=3 -DMODULE -g -D__RTL__ -D_LOOSE_KERNEL_NAMES -O2 -I/usr/src/rtlinux-3.2-wr/linux/include -I/usr/src/rtlinux-3.2-wr/include -I/usr/src/rtlinux-3.2-wr/include/compat -I/usr/src/rtlinux-3.2-wr/drivers/comedi/include -I/usr/src/rtlinux-3.2-wr/include/posix -c -o rtl_core.o rtl_core.c
In file included from /usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:78,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/rtlinux.h:12,
from /usr/src/rtlinux-3.2-wr/linux/include/asm/system.h:464,
from /usr/src/rtlinux-3.2-wr/linux/include/asm/processor.h:18,
from /usr/src/rtlinux-3.2-wr/linux/include/asm/timex.h:10,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/timex.h:157,
from rtl_core.c:31:
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_zero':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:113: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:113: error: (Each undeclared identifier is reported only once
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:113: error: for each function it appears in.)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:116: warning: implicit declaration of function `BITS_TO_LONGS'
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:117: warning: implicit declaration of function `memset'
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_fill':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:128: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_copy':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:134: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:138: warning: implicit declaration of function `memcpy'
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_and':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:145: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_or':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:154: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_xor':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:163: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_andnot':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:172: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_complement':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:181: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_equal':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:190: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_intersects':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:199: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_subset':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:208: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_empty':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:216: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_full':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:224: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_shift_right':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:238: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h: In function `bitmap_shift_left':
/usr/src/rtlinux-3.2-wr/linux/include/linux/bitmap.h:247: error: `BITS_PER_LONG' undeclared (first use in this function)
In file included from /usr/src/rtlinux-3.2-wr/linux/include/linux/rtlinux.h:12,
from /usr/src/rtlinux-3.2-wr/linux/include/asm/system.h:464,
from /usr/src/rtlinux-3.2-wr/linux/include/asm/processor.h:18,
from /usr/src/rtlinux-3.2-wr/linux/include/asm/timex.h:10,
from /usr/src/rtlinux-3.2-wr/linux/include/linux/timex.h:157,
from rtl_core.c:31:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:83: error: syntax error before "DECLARE_BITMAP"
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:83: warning: no semicolon at end of struct or union
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:83: warning: type defaults to `int' in declaration of `cpumask_t'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:83: warning: data definition has no type or storage class
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:84: error: syntax error before "_unused_cpumask_arg_"
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:84: warning: type defaults to `int' in declaration of `_unused_cpumask_arg_'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:84: warning: data definition has no type or storage class
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:87: warning: type defaults to `int' in declaration of `cpumask_t'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:87: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:88: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpu_set':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:89: error: `cpu' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:89: error: `dstp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:93: warning: type defaults to `int' in declaration of `cpumask_t'
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:93: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:94: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpu_clear':
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:95: error: `cpu' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:95: error: `dstp' undeclared (first use in this function)
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: At top level:
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:99: error: syntax error before '*' token
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:100: warning: function declaration isn't a prototype
/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h: In function `__cpus_setall':/usr/src/rtlinux-3.2-wr/linux/include/linux/cpumask.h:101: error: `dstp' undeclared (first use in this function)
/usr/src/rtli
 
  


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
Debian etch rtLinux kernel 2.6.9: error in make Maria_Teruel Debian 0 12-11-2006 11:17 AM
error while patching Rtlinux 3.1 kernel using kernel linux-2.4.29 dolreich_c Linux - General 0 08-10-2006 03:33 AM
Kernel patching error jacobselvin Linux - Newbie 5 06-03-2005 10:16 PM


All times are GMT -5. The time now is 01:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration