[Click] click-install error (unresolved symbols during insmod proclikefs.o)

Eddie Kohler kohler at cs.ucla.edu
Thu Sep 1 02:40:07 EDT 2005


Hi Juncheol,

Thanks for this message!  proclikefs.c used to #include <linux/modversions.h>; 
this line got taken out because it seemed to cause problems on Linux 2.6. 
I've added it back in.

Eddie


Juncheol Park wrote:
>  Hi,
> 
>  Fortunately, I partly solved the unresolved symbols with insmod proclikefs.o.
> 
>  I explicitly specified the file, modversions.h,
>  when compiling proclikefs.c.
> 
>  For example, I added the following option.
>  -DMODVERSIONS -include /usr/src/linux-2.4.27/include/linux/modversions.h
> 
>  Then, the module, proclikefs.o, could be successfully inserted
>  into the running linux kernel.
> 
>  I hope that this would be helpful to other people
>  who experienced similar problems.
> 
>  Thanks,
> 
>  Jun
> 
> On Wed, 10 Aug 2005, Juncheol Park wrote:
> 
> 
>>Hi,
>>
>>I'm using click-1.4.2 and most recent version of madwifi on
>>linux-2.4.27-pre5.
>>I patched the kernel source using linux-2.4.26-patch under click/etc/.
>>After rebooting with the patched kernel,
>>I could successfully compile and install click and madwifi.
>>So the userlevel click is working well.
>>
>>However, when I invoked click-install (kernel level click),
>>I got the following errors for a roofnet configuration file
>>that was generated by gen_config_roofnet.pl.
>>
>>=========================================
>>/usr/local/sbin/click-install -f ath0.click ; (my configuration file)
>>/usr/local/lib/proclikefs.o: unresolved symbol kmalloc
>>/usr/local/lib/proclikefs.o: unresolved symbol unregister_filesystem
>>/usr/local/lib/proclikefs.o: unresolved symbol dcache_lock
>>/usr/local/lib/proclikefs.o: unresolved symbol register_filesystem
>>/usr/local/lib/proclikefs.o: unresolved symbol kfree
>>/usr/local/lib/proclikefs.o: unresolved symbol vfs_follow_link
>>/usr/local/lib/proclikefs.o: unresolved symbol sb_lock
>>/usr/local/lib/proclikefs.o: unresolved symbol files_lock
>>/usr/local/lib/proclikefs.o: unresolved symbol printk
>>click-install: '/sbin/insmod /usr/local/lib/proclikefs.o' failed
>>=========================================
>>
>>Hoping this question would not be redundant.
>>
>>Any comments will be greatly appreciated.
>>Thanks,
>>
>>Jun
>>
>>
>>_______________________________________________
>>click mailing list
>>click at amsterdam.lcs.mit.edu
>>https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>
> 
> 
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list