public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: romil1@gmx.de
To: video4linux-list@redhat.com
Subject: libv4l2 link error
Date: Tue, 15 Dec 2009 14:28:33 +0100	[thread overview]
Message-ID: <20091215132832.282400@gmx.net> (raw)

Hello,

I've a usb webcam which I want to apply to my ARM platform.
The webcam just supports pjpg format therefore I want to use libv4l2.
When I try to link libv4l2 to my application I get this error:

arm-linux-uclibc-gcc -Wall -O2 -g -I../libv4l2/include -L../libv4l2/lib  -o capture capture.c -lv4l2 -lv4lconvert

../libv4l2/lib/libv4lconvert.so: undefined reference to `shm_open'
collect2: ld returned 1 exit status
make: *** [test] Fehler 1

I know this looks like a mistake with my cross compiler rather than a libv4l2 mistake but on all other appl/libs my compiler works fine.

I compiled the lib simply with:
make CC=arm-linux-uclibc-gcc PREFIX=my/path/libv4l2/ install

Anything missing?
Maybe someone can give me a hint how to solve this.

THX
Niko
-- 
Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

                 reply	other threads:[~2009-12-15 13:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20091215132832.282400@gmx.net \
    --to=romil1@gmx.de \
    --cc=video4linux-list@redhat.com \
    /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