Problems compiling click-1.2.2 with kernel 2.4.9
Eddie Kohler
kohler at aciri.org
Tue Sep 25 00:11:01 EDT 2001
Hi Juan Luis, sorry for the delay in responding.
> I'm trying to compile the kernel module, but I'm geting this error:
>
> In file included from ../include/click/sync.hh:4,
> from ../include/click/timer.hh:3,
> from ../include/click/router.hh:4,
> from ../lib/templatei.cc:21:
> ../include/click/atomic.hh: In method `bool
> u_atomic32_t::inc_and_test_greater_zero ()':
> ../include/click/atomic.hh:24: `atomic_inc_and_test_greater_zero'
> undeclared (first use this function)
> ../include/click/atomic.hh:24: (Each undeclared identifier is reported
> only once for each function it appears in.)
> ../include/click/atomic.hh: In method `uint32_t
> u_atomic32_t::read_and_add (int)':
> ../include/click/atomic.hh:40: `__atomic_fool_gcc' undeclared (first
> use this function)
> gmake: *** [templatei.o] Error 1
It looks like Click on Linux 2.4 does not work if SMP is defined. Can you
try compiling without CONFIG_SMP?
Kolya -- Is this right?
love,
ed
More information about the click
mailing list