undefined reference to `shm_open'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I use the gcc as cross compiler for a arm platform.
I have a problem with linking a lib (libv4l2) to a application.
I get the following error:
arm-linux-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.
Can someone give me a hint what the problem is. Is the lib built wrong
or is there a problem with the compiler?

THX
Niko

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux