LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-08-2008, 12:19 AM   #1
ravi_chobey
Member
 
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 180

Rep: Reputation: 30
Question 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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gspca module and webcam with 2.6.21.5 kernel justwantin Slackware 23 06-15-2009 07:21 PM
Invalid module error after compiling Acronis module cryogenica Linux - General 2 03-17-2008 04:23 PM
error: -1 Invalid module format when using insmod with module cross-compiled for arm AndrewShanks Linux - Embedded & Single-board computer 4 10-15-2007 03:50 AM
linker error compiling superkaramba seth_m Linux - General 1 10-15-2003 07:07 PM
Compiling KDE apps, linker error julienp Programming 1 08-07-2003 07:25 AM


All times are GMT -5. The time now is 03:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration