compile click on 2.4.19_smp_p4

Hyoung-Kee Choi hkchoi at lancope.com
Tue Feb 18 17:28:58 EST 2003


Hi,

	Click obtained from the CVS repository is compiled on the two 2.4 GHZ zeon
processor PC. The version of the kernel is 2.4.19 with Pentium 4 and SMP
options. The 2.4.18 patch has applied against the current kernel. The
compilation is OK until compiling the kernel module click.o.

The error messages are as follows.

****************************************************
In file included from ../include/click/timer.hh:4,
                 from ../include/click/router.hh:5,
                 from ../lib/templatei.cc:21:
../include/click/sync.hh: In method `void Spinlock::acquire ()':
../include/click/sync.hh:57: `struct task_struct' has no member named
`processor'
../include/click/sync.hh:75: `struct task_struct' has no member named
`processor'
../include/click/sync.hh: In method `bool Spinlock::attempt ()':
../include/click/sync.hh:82: `struct task_struct' has no member named
`processor'
../include/click/sync.hh:97: `struct task_struct' has no member named
`processor'
../include/click/sync.hh: In method `void Spinlock::release ()':
../include/click/sync.hh:106: `struct task_struct' has no member named
`processor'
../include/click/sync.hh: In method `void ReadWriteLock::acquire_read
()':
../include/click/sync.hh:184: `struct task_struct' has no member named
`processor'
../include/click/sync.hh: In method `bool ReadWriteLock::attempt_read
()':
../include/click/sync.hh:191: `struct task_struct' has no member named
`processor'
../include/click/sync.hh: In method `void ReadWriteLock::release_read
()':
../include/click/sync.hh:198: `struct task_struct' has no member named
`processor'
gmake[1]: *** [templatei.o] Error 1
gmake: *** [linuxmodule] Error 2

*******************************************************

Any ideas how to make it work?




More information about the click mailing list