LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linker Error while compiling gspca module for ARM processor. (https://www.linuxquestions.org/questions/linux-software-2/linker-error-while-compiling-gspca-module-for-arm-processor-654229/)

ravi_chobey 07-08-2008 12:19 AM

Linker Error while compiling gspca module for ARM processor.
 
Hi,

I am getting linker error while compiling the gspca module for ARM 9 processor.The errors are as follows:

Code:

bash-2.05b# make
/usr/local/920t_le/bin/arm_920t_le-gcc -O2 -DLINUX -I/usr/local/include/SDL -D_GNU_SOURCE=1  gspcagui.c cvrt.o encoder.o huffman.o marker.o quant.o cvrt_frame.o decoder.o font.o rot.o gui.o telecom.o display.o libv4l.o msgipc.o color.o picture.o avilib.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL  -lm  -o gspcagui
/usr/local/920t_le/bin/../lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld:
skipping incompatible /usr/local/lib/libSDL.so when searching for -lSDL
/usr/local/920t_le/bin/../lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld:
skipping incompatible /usr/local/lib/libSDL.a when searching for -lSDL
/usr/local/920t_le/bin/../lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld:
cannot find -lSDL
collect2: ld returned 1 exit status
make: *** [tgui] Error 1
bash-2.05b#

This is the application which i got with the driver itself.
As far as i know, i am getting errors due -lSDL.
But while compiling that also, i am getting errors:

Code:

bash-2.05b# make
/bin/sh ./build-scripts/mkinstalldirs build
mkdir -p -- build
/bin/sh ./libtool --mode=compile /usr/local/920t_le/bin/arm_920t_le-gcc -g -O2
-I./include -D_GNU_SOURCE=1 -DHAVE_LINUX_VERSION_H -c ./src/SDL.c  -o build/SDL.lo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [build/SDL.lo] Error 1
bash-2.05b#

This application is not giving any error while using GCC,but for ARM_gcc,
i am getting errors.

Can Anybody suggest me any other application,which i can use with my webcam.

Regards,
Ravi


All times are GMT -5. The time now is 05:29 AM.