When I am cross compiling the camera driver of Logitech QuickCam Pro 9000 for
BeagleBoard, I am getting the following error,
[root@localhost trunk]# make CROSS_COMPILE=arm-none-linux-gnueabi- all
Building USB Video Class driver…
make[1]: Entering directory /usr/src/kernels/2.6.18-1.2798.fc6-i686' CC [M] /opt/linux-uvc/trunk/uvc_driver.o cc1: error: unrecognized command line option "-mregparm=3" /opt/linux-uvc/trunk/uvc_driver.c:1: error: bad value (i686) for -march= switch Assembler messages: Error: unknown architecture i686’
I am using “arm-none-linux-gnueabi-” to cross compile by “arm-none-linux-gnueabi-gcc”
as by default it is taking gcc after “arm-none-linux-gnueabi-”.
Can any one help me how this problem will be solved
Thanks & Regards
Anirban Roy Choudhury
This message (including any attachment) is confidential and may be legally privileged. Access to this message by anyone other than the intended recipient(s) listed above is unauthorized. If you are not the intended recipient you are hereby notified that any disclosure, copying, or distribution of the message, or any action taken or omission of action by you in reliance upon it, is prohibited and may be unlawful. Please immediately notify the sender by reply e-mail and permanently delete all copies of the message if you have received this message in error.
When I am cross compiling the camera driver of Logitech QuickCam Pro
9000 for
BeagleBoard, I am getting the following error,
[root@localhost trunk]# make CROSS_COMPILE=arm-none-linux-gnueabi- all
You have to set ARCH=arm as well if you haven't done this already.
Building USB Video Class driver...
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'
CC [M] /opt/linux-uvc/trunk/uvc_driver.o
cc1: error: unrecognized command line option "-mregparm=3"
This pretty much looks like it uses your host compiler which of course does not
understand the ARM specific parameters.
When I am cross compiling the camera driver of Logitech QuickCam Pro
9000 for
BeagleBoard, I am getting the following error,
[root@localhost trunk]# make CROSS_COMPILE=arm-none-linux-gnueabi- all
You have to set ARCH=arm as well if you haven't done this already.
Building USB Video Class driver...
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'
CC [M] /opt/linux-uvc/trunk/uvc_driver.o
cc1: error: unrecognized command line option "-mregparm=3"
This pretty much looks like it uses your host compiler which of course does
not understand the ARM specific parameters.
No, it's the other way around. It's passing x86 flags to the ARM compiler,
probably because of the missing ARCH=arm.
I have set the command ARCH=arm but still it is failed. See the error following
[root@localhost trunk]# set ARCH=arm
[root@localhost trunk]# make CROSS_COMPILE=arm-none-linux-gnueabi- all
Building USB Video Class driver…
make[1]: Entering directory /usr/src/kernels/2.6.18-1.2798.fc6-i686' CC [M] /opt/linux-uvc/trunk/uvc_driver.o cc1: error: unrecognized command line option "-mregparm=3" /opt/linux-uvc/trunk/uvc_driver.c:1: error: bad value (i686) for -march= switch Assembler messages: Error: unknown architecture i686’