[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] LPC3250 Linux
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] LPC3250 Linux |
Date: |
Mon, 13 Dec 2010 21:21:49 +0000 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080707) |
Hi Pramod,
I'm not sure what's wrong, but if you edit
dist/lfs-5.1/kernel/kernel-common.tmpl and find the line:
make ARCH=$LINTARCH HOSTCC="$BUILDCC" modules
Which is around line 165, change it to
make ARCH=$LINTARCH HOSTCC="$BUILDCC" modules V=1
Then re-run:
./ltib -p kernel
You should see a bit more output that may give a clue as to the problem.
Regards, Stuart
pramod k 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
>