- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I have a question about developing a module un uClinux. I have a working program under Linux, which I have to "convert" to uClinux. Theoretically, it wouldn't be much problem. The fact is, that in my previous version, I have two modules: crc nvram crc is loaded as a module first. After, nvram is loaded, and nvram uses the crc functions. Other modules also use the crc functions. So... is this possible in uClinux? When I compile my nvram module, it shows a warning:Warning: "crc16" undefined!
And when I try to load it, it shows insmod: cannot insert 'NVRAM_driver.ko': Unknown symbol in module (-1): No such file or directory
In linux, the nvram driver should find the crc symbols in ksyms, but I'm not sure in uClinux it will be able... Some sugeestions? aLeX
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I've found the way to do it work! I forgot to add:EXPORT_SYMBOL(crc16);
to the crc file. I don't know why in linux wasn't needed, but in uClinux, ot does. bye aLeX
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page