All of lore.kernel.org
 help / color / mirror / Atom feed
* libv4l-0.6.2-test problem with compiling on 32 bit
@ 2009-11-22 11:02 Mateusz Szymański
  2009-11-22 14:26 ` Hans de Goede
  0 siblings, 1 reply; 2+ messages in thread
From: Mateusz Szymański @ 2009-11-22 11:02 UTC (permalink / raw)
  To: linux-media

Good morning, I am using arch linux on 64 bit architecture, this version v4l 
helped me to rotate view from my webcam, but only in 64 bit apps, like  
mplayer, I have a problem with compiling it to 32 bits (for skype), I have 32 
bit libs, but they are in /opt/lib32/usr/lib directory and during the 
compiling i am receiving an error: 

[libv4l-0.6.2-test]$ make PREFIX=/usr CFLAGS=-m32 LDFLAGS=-m32 
LIBDIR=/opt/lib32/usr
...
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-
gnu/4.4.2/../../../librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-
gnu/4.4.2/../../../librt.a when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/librt.a when searching for -lrt
/usr/bin/ld: cannot find -lrt
collect2: ld returned 1 exit status
make[1]: *** [libv4lconvert.so] Error 1

In /opt/lib32/usr/lib, there are files librt.so and librt.a, but ld doesn't 
seem to find them.

$ cat /etc/ld.so.conf
#
# /etc/ld.so.conf
#

# End of file
/usr/lib/libfakeroot
/opt/lib32/usr/lib
/opt/lib32/lib

I would be grateful if You could help me with this problem.

Best regards,
Mateusz Szymański

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libv4l-0.6.2-test problem with compiling on 32 bit
  2009-11-22 11:02 libv4l-0.6.2-test problem with compiling on 32 bit Mateusz Szymański
@ 2009-11-22 14:26 ` Hans de Goede
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2009-11-22 14:26 UTC (permalink / raw)
  To: Mateusz Szymański; +Cc: linux-media

Hi,

On 11/22/2009 12:02 PM, Mateusz Szymański wrote:
> Good morning, I am using arch linux on 64 bit architecture, this version v4l
> helped me to rotate view from my webcam, but only in 64 bit apps, like
> mplayer, I have a problem with compiling it to 32 bits (for skype), I have 32
> bit libs, but they are in /opt/lib32/usr/lib directory and during the
> compiling i am receiving an error:
>
> [libv4l-0.6.2-test]$ make PREFIX=/usr CFLAGS=-m32 LDFLAGS=-m32
> LIBDIR=/opt/lib32/usr
> ...
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-
> gnu/4.4.2/../../../librt.so when searching for -lrt
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-
> gnu/4.4.2/../../../librt.a when searching for -lrt
> /usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
> /usr/bin/ld: skipping incompatible /usr/lib/librt.a when searching for -lrt
> /usr/bin/ld: cannot find -lrt
> collect2: ld returned 1 exit status
> make[1]: *** [libv4lconvert.so] Error 1
>
> In /opt/lib32/usr/lib, there are files librt.so and librt.a, but ld doesn't
> seem to find them.
>
> $ cat /etc/ld.so.conf
> #
> # /etc/ld.so.conf
> #
>
> # End of file
> /usr/lib/libfakeroot
> /opt/lib32/usr/lib
> /opt/lib32/lib
>
> I would be grateful if You could help me with this problem.
>

This is a problem specific to the way things are set up in your distro,
please ask for help in one of the fora / mailinglists of your distro.

Regards,

hans

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-22 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-22 11:02 libv4l-0.6.2-test problem with compiling on 32 bit Mateusz Szymański
2009-11-22 14:26 ` Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.