[Click] Linking problems in linuxmodule

Manel.Bourguiba at lip6.fr Manel.Bourguiba at lip6.fr
Fri Jul 17 10:15:38 EDT 2009


Sorry, I was checking the archives and have just noticed that this
question was for me :)
Yes Eddie, I fixed the problem but I do not remember how. I think i had
done some stupid mistake before which was responsible for that problem.

Manel

> Manel,
>
> Were you ever able to fix this problem?  I haven't heard anyone else
> report it.
>
> Eddie
>
>
> Manel.Bourguiba at lip6.fr wrote:
>>> Hi all,
>>>
>>> When I tried to build the linux module driver on a patched linux
>>> kernel(2.6.28.8), I had a link error looking like this:
>>> .text._ZN9HashTableI6StringiE3setERKSO_RKi'referenced in section
>>> '.smp_locks' of /root/click/linuxmodule/ipwpatterns.o: defined in
>>> discarded section '.text._ZN9HashTableI6StringiE3setERKSO_RKi...
>>>
>>> In the changelog file, it is mentioned that this is a problem reported
>>> by
>>> Adam Greenhalgh and others, and to avoid it, we should redefine
>>> LOCK_PREFIX to "lock ; "
>>>
>>> But where to redefine it? it seems that the file
>>> include/click/fixconfig.h
>>> already does it, (it avoids linking problems ins linuxmodule)
>>>
>>> So what should i do?
>>>
>>> Thank you!
>>>
>>
>>
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
>




More information about the click mailing list