[Click] Linking problems in linuxmodule

Eddie Kohler kohler at cs.ucla.edu
Tue Jun 23 18:37:43 EDT 2009


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