You are not logged in.
Good morning, I am using arch linux on 64 bit architecture. I had a problem with uvcvideo driver. The view was upside-down, I found testing driver http://people.atrpms.net/~hdegoede/libv … est.tar.gz, which solved my problem, but only on 64 bit applications, I cannot compile it for 32 bits (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.
Offline
Are you using gcc-multilib or a chroot environment for 32bit builds on Arch64? If these are new terms for you, please read in http://wiki.archlinux.org/index.php/Arch64_FAQ the section about building 32bit apps in a 64bit environment.
Offline
thanks for quick reply.
well i dont want to make new system 32bit so i would like option first, with gcc-multilib, but here is another problem:
$ yaourt -S gcc-multilib
...
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-mateusz/aur-gcc-multilib/gcc-multilib/src/gcc-4.4.2/build'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build gcc-multilib package.
Offline