Search Linux Wireless

Re: Building of compat-wireless-old in 2.6.25 BSP kernel for PowerPC architecture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2010-01-27 at 18:48 +0800, PAN Sunny S K wrote:

> So what I did to build the driver is to provide the KLIB and KLIB_BUILD
> with the path of 2.6.25 source and modified the CROSS_COMPILE variable in
> the .config of the kernel to make sure it uses the MPC8377 toolchain to
> compile the source. However, the following error occurred (With my latest
> trial of the bleeding edge compat-wireless-2.6):
> 
> make -C /MyProject/ltib-mpc8377ewlan-20090922/rpm/BUILD/linux-2.6.25
> M=/root/Desktop/compat-wireless-2009-12-11 modules
> make[1]: Entering directory
> `/MyProject/ltib-mpc8377ewlan-20090922/rpm/BUILD/linux-2.6.25'
>   CC [M] 
> /root/Desktop/compat-wireless-2009-12-11/drivers/misc/eeprom/eeprom_93cx6.o
> cc1: error: unrecognized command line option "-mno-red-zone"
> cc1: error: unrecognized command line option "-mcmodel=kernel"
> cc1: error: unrecognized command line option "-maccumulate-outgoing-args"
> /root/Desktop/compat-wireless-2009-12-11/drivers/misc/eeprom/eeprom_93cx6.c:1:
> error: -m64 not supported in this configuration

It looks like the compiler just cannot compile the kernel code.
-maccumulate-outgoing-args is only used on the x86 architecture, so I
assume the build system is picking up x86 makefiles while using a
PowerPC compiler.

I think ARCH should be specified on the make command line in addition to
other arguments:

make ARCH=powerpc

-- 
Regards,
Pavel Roskin
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux