undefined reference to `shm_open'

Niko Lau niko84embedded at googlemail.com
Tue Dec 15 16:16:05 UTC 2009


Hello,

I want to use the libv4l2 for my arm platform with uclibc cross compiler.
When I link a appl with that lib I get the following 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

The lib is built with the same compiler without any error.
Can someone give me a hint what the problem is. Since it works with a
glibc compiler i think the problem is the uclibc.

THX
Niko


More information about the uClibc mailing list