public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: "Mateusz Szymański" <dasiek@onet.eu>
Cc: linux-media@vger.kernel.org
Subject: Re: libv4l-0.6.2-test problem with compiling on 32 bit
Date: Sun, 22 Nov 2009 15:26:56 +0100	[thread overview]
Message-ID: <4B094A30.3010501@redhat.com> (raw)
In-Reply-To: <200911221202.36703.dasiek@onet.eu>

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

      reply	other threads:[~2009-11-22 14:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B094A30.3010501@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=dasiek@onet.eu \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox