libv4l-0.6.2-test problem with compiling on 32 bit
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
Hi,
Quoted 27 lines · Mateusz Szymański
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/libdirectory 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.sowhen searching for -lrt/usr/bin/ld: skipping incompatible/usr/lib/librt.awhen searching for -lrt/usr/bin/ld: cannot find -lrt
collect2: ld returned 1 exit status
make[1]: *** [libv4lconvert.so] Error 1In
/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 #
Quoted 7 lines
# End of file
/usr/lib/libfakeroot/opt/lib32/usr/lib/opt/lib32/libI 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