EXPORT_SYMBOL in suse
Hi, I'm writing a kernel driver that needs to export some functions to another, I only had a Fedora machine available, so I try it out on Fedora when I load the second module, the one using the exported function won't load (bummer), sure enough I check and I had a typo in my EXPORT_SYMBOL statement, I fixed it and cool everything loads!
O.K. so now I take the working code and build it on the suse 11.3 (2.6.34-12 kernel) the Linux flavor we need to support and bummer I get the second module won't load because it can't find the symbol from the first module (which loaded fine). I checked to make sure I had the corrected file and yep the same source that built and loaded under Fedora, built but didn't load under suse, any ideas? This is my first real foray into Linux kernel, I've developed in the windows kernel, and many many moons ago in other flavors of unix. I was really pleased how simple and intuitive things have been, but now I'm at a loss. I don't even know how to list the current kernel symbols (I googled it and saw something about nm, but when I dumbly typed in nm I got a complaint about a.out. As a first step I would love to be able to see a list of kernel symbols.
|