Re: linux-next build error (PNP/IXJ)

From: Randy Dunlap
Date: Tue Jul 22 2008 - 16:33:20 EST


On Tue, 22 Jul 2008 23:19:30 +0300 Adrian Bunk wrote:

> On Tue, Jul 22, 2008 at 12:41:52PM -0700, Randy Dunlap wrote:
> > On Tue, 22 Jul 2008 20:39:57 +0300 Adrian Bunk wrote:
> >
> > > On Tue, Jul 22, 2008 at 10:27:39AM -0700, Randy Dunlap wrote:
> > > > Hi,
> > > >
> > > > I'm seeing several build errors in linux-next-20080722 that I haven't
> > > > seen previously, although I don't know what changed to cause this.
> > > >
> > > > They are all basically the same, in ixj (drivers/telephony/ixj*), when
> > > > CONFIG_PNP=n, and CONFIG_PHONE_IXJ=y or =m (so the actual error message
> > > > varies depending on IXJ=y or =m):
> > > >
> > > > IXJ=y:
> > > > ixj.c:(.text+0x329d98): undefined reference to `pnp_get_resource'
> > > > or IXJ=m:
> > > > ERROR: "pnp_get_resource" [drivers/telephony/ixj.ko] undefined!
> > > >
> > > >
> > > > Suggestions?
> > >
> > > Please send a .config
> >
> > attached. (IXJ=m)
>
> Works for me with gcc 4.3.1.
> Which gcc version are you using?

gcc (GCC) 4.2.1 (SUSE Linux)

> Does disabling CONFIG_OPTIMIZE_INLINING fix it for you?

Hmpf. Yes, it sure does.

---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/