LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Make error (https://www.linuxquestions.org/questions/linux-newbie-8/make-error-689078/)

shin2011 12-08-2008 06:00 AM

Make error
 
When i did make some files, error occured about unknown architecutrue.
I think this error because of mismatch architecture between toolchain(i586) and kernel(i686). Is right? I don't sure that.
If anybody know that, plz answer me.

If mismathing is problem, how can i fix it?

I attached my error log.

Have a good day.

Marcus.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
:! make
make -C /lib/modules/2.6.23.1-42.fc8/build SUBDIRS=/home/marcus/marvell/GSPI-8686-LINUX26-BULVERDE-9.70.3.p20-26409.P42/src_gspi8686 modules
make[1]: Entering directory `/usr/src/kernels/2.6.23.1-42.fc8-i686'
CC [M] /home/marcus/marvell/GSPI-8686-LINUX26-BULVERDE-9.70.3.p20-26409.P42/src_gspi8686/io/gspi/pxa270/gspi_io.o
cc1: error: unrecognized command line option "-mregparm=3"
cc1: error: unrecognized command line option "-mpreferred-stack-boundary=2"
cc1: error: unrecognized command line option "-maccumulate-outgoing-args"
/home/marcus/marvell/GSPI-8686-LINUX26-BULVERDE-9.70.3.p20-26409.P42/src_gspi8686/io/gspi/pxa270/gspi_io.c:1: error: bad value (generic) for -mtune= switch
/home/marcus/marvell/GSPI-8686-LINUX26-BULVERDE-9.70.3.p20-26409.P42/src_gspi8686/io/gspi/pxa270/gspi_io.c:1: error: bad value (i586) for -march= switch
Assembler messages:
Error: unknown architecture `i586'

Error: unrecognized option -march=i586
make[2]: *** [/home/marcus/marvell/GSPI-8686-LINUX26-BULVERDE-9.70.3.p20-26409.P42/src_gspi8686/io/gspi/pxa270/gspi_io.o] 오류 1
make[1]: *** [_module_/home/marcus/marvell/GSPI-8686-LINUX26-BULVERDE-9.70.3.p20-26409.P42/src_gspi8686] 오류 2
make[1]: Leaving directory `/usr/src/kernels/2.6.23.1-42.fc8-i686'
make: *** [default] 오류 2

ehawk 12-08-2008 08:47 AM

What software are you trying to install, and what linux distribution are you using?

shin2011 12-08-2008 06:37 PM

Quote:

Originally Posted by ehawk (Post 3368099)
What software are you trying to install, and what linux distribution are you using?

Tried install software is device driver and i use Fedora8.

When i compile device driver, i use kernel of Fedora8.
And i use toolchain with arm Arch.

ehawk 12-08-2008 07:22 PM

According to this website (scan for gspi) the libertas driver should work:

http://wiki.openezx.org/Glofiish_X800


All times are GMT -5. The time now is 02:01 AM.