3.2.8 compil/config problem on 2.6.14 for AT91RM9200

Pavel Roskin proski at gnu.org
Tue Jun 27 15:45:36 EDT 2006


Hello, Mathieu!

On Tue, 2006-06-27 at 19:27 +0200, Mathieu Deschamps wrote:
> Hello,
> 
> I have a problem compiling 3.2.8 against 2.6.14. Priorily, coming from 3.2.7 
> and 3.2.4 unsuccessful builds :  I guess that's a bad config. 

Why would you want to use pcmcia-cs with kernels that support
pcmcia-utils?  pcmcia-cs support remains in Linux 2.6.13 and newer only
for backward compatibility.

> I have a custom AT91RM9200 based board which integrates a PCMCIA CF
> circuitry and intent to plug flash pcmcia device (ide_cs module) and wireless 
> device (orinoco_cs modules). 

... even more so on embedded systems, where you recompile userspace
anyway.  Why would you want extra backward compatibility code in the
kernel and the cardmgr process running all the time?

> make -j10 -C /usr/local/buildroot/build_arm/pcmcia-cs-3.2.8 -i all

If you want to see the error, don't use "-j10".  Otherwise, the output
from up to 10 compilers is mixed together.  All I see is warnings.

I could compile pcmcia-cs 3.2.8 against Linux 2.6.17.  I did get the
warnings you are reporting, but no fatal errors.

> usr/local/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc 
> -DPCMCIA_DEBUG=1   cardmgr.o yacc_config.o lex_config.o   -o cardmgr
> make: *** Deleting file 
> `/usr/local/buildroot/build_arm/pcmcia-cs-3.2.8/cardmgr/cardmgr'
> make[2]: *** wait: No child processes.  Stop.
> make[2]: *** Waiting for unfinished jobs....
> make[2]: *** wait: No child processes.  Stop.
> make[1]: [all] Error 2 (ignored)
> make: ***
> [/usr/local/buildroot/build_arm/pcmcia-cs-3.2.8/cardmgr/cardmgr] 
> Interruption

It would be better if you used POSIX locale when you are going to report
the messages.  Not that I cannot understand "Interruption" at all, but I
may be missing some nuances.  Can it be that the build was interrupted,
e.g. by Ctrl-C?

> #cardmgr
> cardmgr[1436]: no pcmcia driver in /proc/devices

Can it be that you didn't enable PCMCIA backward compatibility in the
kernel (CONFIG_PCMCIA_IOCTL)?

-- 
Regards,
Pavel Roskin




More information about the linux-pcmcia mailing list