compile error

Werner Raetscher werner.raetscher at mchp.siemens.de
Wed Jul 18 18:50:36 EDT 2001


Hi Eddie,

I have patched a kernel 2.4.4 (on RedHat 6.2) with the preliminary patch
from the 1.2.1 distribution and when after running the configure script
I "make install" I got a compiler error (see attachment).

1. Do you know why this error occurs?

2. Does the kernel-2.4.4-patch support meanwhile the PollDevice element?

Regards,
Werner
-------------- next part --------------
g++ -Wp,-w -W -Wall -w -Wall -D__SMP__ -DHAVE_CONFIG_H  -I../include -I../include -I. -I.. -I/usr/src/linux/include -MD -DCLICK_LINUXMODULE -fno-exceptions -fno-rtti -fvtable-thunks  -O2 -c ../lib/bitvector.cc
g++ -Wp,-w -W -Wall -w -Wall -D__SMP__ -DHAVE_CONFIG_H  -I../include -I../include -I. -I.. -I/usr/src/linux/include -MD -DCLICK_LINUXMODULE -fno-exceptions -fno-rtti -fvtable-thunks  -O2 -c ../lib/vectorv.cc
g++ -Wp,-w -W -Wall -w -Wall -D__SMP__ -DHAVE_CONFIG_H  -I../include -I../include -I. -I.. -I/usr/src/linux/include -MD -DCLICK_LINUXMODULE -fno-exceptions -fno-rtti -fvtable-thunks  -O2 -c ../lib/templatei.cc
../include/click/atomic.hh: In method `uint32_t u_atomic32_t::read_and_add(int)':
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:41: output number 1 not directly addressable
../include/click/atomic.hh: In method `uint32_t u_atomic32_t::compare_and_swap(uint32_t, unsigned int)':
../include/click/atomic.hh:57: output number 0 not directly addressable
make[1]: *** [templatei.o] Error 1
make[1]: Leaving directory `/home/wtr/src/click/click-1.2.1/linuxmodule'
make: *** [install] Error 1



More information about the click mailing list