Re: 2.4.32: unresolved symbol unregister_qdisc
From: George P Nychis
Date: Sun Apr 09 2006 - 13:37:39 EST
Thanks for the help.
Here is the makefile:
http://rafb.net/paste/results/auchPH75.html
And here is the full errors I receive:
http://rafb.net/paste/results/Qplpqw74.html
Greatly appreciate it
- George
> On Sat, 8 Apr 2006 19:18:47 -0400 (EDT) George P Nychis wrote:
>
>> Yeah, this module is unfortunately not under the GPL, it was made for
>> research and i am not the author, I was only given the code for my own
>> research.
>>
>> I enabled that support in the kernel, and then tried to recompile and
>> get tons of errors/warnings... so maybe I am missing something else to
>> be enabled in the kernel... here are a few examples of errors:
>> /usr/include/linux/skbuff.h:30:26: net/checksum.h: No such file or
>> directory /usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or
>> directory /usr/include/linux/irq.h:72: error: `NR_IRQS' undeclared here
>> (not in a function) /usr/include/asm/hw_irq.h:28: error:
>> `NR_IRQ_VECTORS' undeclared here (not in a function)
>>
>> I think those are the top most errors, so if i can fix those hopefully
>> the rest shall vanish!
>
> Looks like a Makefile problem then. Can you post the Makefile? Hopefully
> it is using a Makefile and not just an elaborate gcc command line.
>
> [and please don't top-post]
>
>> - George
>>
>>
>>> From: "George P Nychis" <gnychis@xxxxxxx> Date: Sat, 8 Apr 2006
>>> 18:47:34 -0400 (EDT)
>>>
>>>> Hey,
>>>>
>>>> I have a kernel module that uses unregister_qdisc and
>>>> register_qdisc, whenever i try to insert the module I get:
>>>> /lib/modules/2.4.32/kernel/net/sched/sch_xcp.o:
>>>> /lib/modules/2.4.32/kernel/net/sched/sch_xcp.o: unresolved symbol
>>>> unregister_qdisc /lib/modules/2.4.32/kernel/net/sched/sch_xcp.o:
>>>> /lib/modules/2.4.32/kernel/net/sched/sch_xcp.o: unresolved symbol
>>>> register_qdisc
>>>>
>>>> Am i missing some sort of support in the kernel?
>>>
>>> Make sure CONFIG_NET_SCHED is enabled and that you compiled your
>>> module against that kernel.
>>>
>>> Where does this sch_xcp come from? It's not in the vanilla sources.
>>>
>>> Also, please direct networking questions to the
>>> netdev@xxxxxxxxxxxxxxx mailing list which I have added to the CC:.
>
> --- ~Randy
>
>
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/