[Click] /etc/samplepackage in 2.6.11.6
Eddie Kohler
kohler at cs.ucla.edu
Sun Jun 5 14:28:07 EDT 2005
Hi Christian,
Ugh, this is a bug. The packages system has not been updated for Linux 2.6 yet.
I would love some help to make this work...
However, your bug with user-level sample.uo is due to two problems.
(1) There was a bug in click-buildtool.in. Update your anonymous CVS and try again.
(2) You should not run "click sample.uo"; sample.uo is a dynamic object, not a
Click script. Try "click test.click". It should say
test.click:3: While initializing 'test :: SamplePackageElement':
Successfully linked with package!
Eddie
Christian Dörr wrote:
>
> Hi,
>
> I've tried to use the click packaging starting from the example in
> /etc/samplepackage.
>
> Unfortunately as building the unchanged example, I'm getting some errors
> from make in respect to the files
> /lib/modules/2.6.11.6/build/include/asm/mpspec.h
> /lib/modules/2.6.11.6/build/include/asm/mach_mpspec.h
> /lib/modules/2.6.11.6/build/include/asm/smp.h
> /lib/modules/2.6.11.6/build/include/asm/io_apic.h
> /lib/modules/2.6.11.6/build/include/asm/mach_apicdef.h
> /lib/modules/2.6.11.6/build/include/asm/hw_irq.h
>
> saying that elements like irq_vector, NR_IRQS, MAC_IRQ_SOURCES etc. are
> undeclared. Nevertheless, I got a sample.uo, but when I start it in
> userlevel mode, click reports a couple of syntax errors and an undeclared
> element "ELF".
>
> I'm using Mandrake 10.1 with the click-patched 2.6.11.6 kernel from
> kernel.org. Has anyone experienced the same or can give me some advice how
> to solve the issue?
>
> Thank you very much in advance,
> Christian
>
>
More information about the click
mailing list