Next-in-Thread Next Message

None Bad CFLAGS during compilation 

Forum: PCMCIA Installation and Configuration Issues
Re: Question Unresolved symbols (Joseph Turian)
Date: 1999, Nov 01
From: David Hinds <dhinds@pcmcia.sourceforge.org>

On Sun, Oct 31, 1999 at 11:56:44PM -0800, Joseph Turian wrote:
> 
> I installed the PCMCIA modules from 3.1.3, but when I start my
> computer they fail to load. When I run /etc/init.d/pcmcia start, I get
> the following error messages: 
> 
> Starting PCMCIA services: modules
> /lib/modules/2.2.13/pcmcia/pcmcia_core.o: unresolved symbol strcat
> /lib/modules/2.2.13/pcmcia/pcmcia_core.o: unresolved symbol inb
> /lib/modules/2.2.13/pcmcia/pcmcia_core.o: unresolved symbol ioremap

This most likely means that you've set CFLAGS in your environment,
which is overriding the setting in the PCMCIA Makefile... and your
CFLAGS does not specify optimization.  These missing symbols are all
inline functions, that only get inlined properly if compiled with
optimization.

So, the quick workaround is to unset the CFLAGS variable before
building PCMCIA.  I'm fixing the Makefiles for 3.1.4 to not allow
CFLAGS overrides from the environment.  It was meant to be a feature,
but I've never really used it, and it confuses people.

-- Dave

Next-in-Thread Next Message

Add Message to: "Bad CFLAGS during compilation"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10