On Mon, Dec 13, 2010 at 3:03 PM, pramod k
<address@hidden> wrote:
Dear Sir,
We are using LPC3250 ARM9 and LTIB for building the Linux 2.6.27.8
We have written some code to access GPIO and was working earlier with
opensuse 9.0
We now have fedora 11 32 bit 2.6.30.10-105.2.23.fc11.i686.PAE
When we make the program we get following errors we are using GCC3.4.5
#make -C /lib/modules/`uname -r`/build M=`pwd` modules
make -C /home/shekhar/lpc3250/ltib/rpm/BUILD/linux-2.6.27.8 M=`pwd` modules
make[1]: Entering directory
`/home/shekhar/lpc3250/ltib/rpm/BUILD/linux-2.6.27.8'
CC [M] /home/shekhar/samsung_lcd/gpio/char.o
cc1: error: invalid option `64'
cc1: error: invalid option `no-red-zone'
cc1: error: invalid option `cmodel=kernel'
cc1: error: invalid option `accumulate-outgoing-args'
make[2]: *** [/home/shekhar/samsung_lcd/gpio/char.o] Error 1
make[1]: *** [_module_/home/shekhar/samsung_lcd/gpio] Error 2
make[1]: Leaving directory `/home/shekhar/lpc3250/ltib/rpm/BUILD/linux-2.6.27.8'
make: *** [all] Error 2
What can be the problem?
Regards,
Pramod Kumthekar