[Click] 2.6.11.6 kernel level compile error

Tomas Mahoney tomasmahoney at yahoo.com
Sat Apr 2 18:32:50 EST 2005


hi eddie, 

i am able to install userlevel fine on 2.6.11.6 but
when i do a gmake install to get kernel level also, it
crashes with the error.

/home/click/linuxmodule/../include/click/sync.hh:285:
error: `smp_num_cpus' undeclared (first use this
function)

i just got latest code from cvs. any ideas?
thanks




-----------------------------------------------------

gmake[2]: Entering directory `/usr/src/linux-2.6.11.6'
  CC [M] crc32.o
  CC [M] in_cksum.o
  CXX [M] string.o
  CXX [M] straccum.o
  CXX [M] nameinfo.o
In file included from
/home/click/linuxmodule/../include/click/timer.hh:4,
                 from
/home/click/linuxmodule/../include/click/router.hh:5,
                 from
/home/click/linuxmodule/../lib/nameinfo.cc:23:
/home/click/linuxmodule/../include/click/sync.hh: In
constructor `ReadWriteLock::ReadWriteLock()':
/home/click/linuxmodule/../include/click/sync.hh:229:
error: `smp_num_cpus' undeclared (first use this
function)
/home/click/linuxmodule/../include/click/sync.hh:229:
error: (Each undeclared identifier is reported only
once for each function it appears in.)
/home/click/linuxmodule/../include/click/sync.hh: In
member function `void ReadWriteLock::acquire_write()':
/home/click/linuxmodule/../include/click/sync.hh:262:
error: `smp_num_cpus' undeclared (first use this
function)
/home/click/linuxmodule/../include/click/sync.hh: In
member function `bool ReadWriteLock::attempt_write()':
/home/click/linuxmodule/../include/click/sync.hh:271:
error: `smp_num_cpus' undeclared (first use this
function)
/home/click/linuxmodule/../include/click/sync.hh: In
member function `void ReadWriteLock::release_write()':
/home/click/linuxmodule/../include/click/sync.hh:285:
error: `smp_num_cpus' undeclared (first use this
function)
gmake[3]: *** [/home/click/linuxmodule/nameinfo.o]
Error 1
gmake[2]: *** [_module_/home/click/linuxmodule] Error
2
gmake[2]: Leaving directory `/usr/src/linux-2.6.11.6'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/click/linuxmodule'
gmake: *** [install] Error 1

------------------------------------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the click mailing list