On Fri, Mar 04, 2005 at 07:56:38PM +0100, Adrian Bunk wrote: > On Fri, Mar 04, 2005 at 09:23:17PM +1100, Rusty Russell wrote: > > On Wed, 2005-03-02 at 15:00 +0100, Adrian Bunk wrote: > > > Why doesn't an EXPORT_SYMBOL create a reference? > > > > It does: EXPORT_SYMBOL(x) drops the address of "x", including > > __attribute_used__, in the __ksymtab section. > > > > However, if CONFIG_MODULES=n, it does nothing: perhaps that is what you > > are seeing. > > That's not the problem. > > And it has nothing to do with any gcc 4.0 issues mentioned in this > thread - I saw this problem with gcc 3.3 . > > Try the attached .config in 2.6.11-rc4-mm1 (not in 2.6.11-mm1). This time with the attachment. ;-) cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed