undefined reference to `shm_open'
Niko Lau
niko84embedded@googlemail.com
Tue Dec 15 13:16:00 GMT 2009
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
More information about the Gcc-help
mailing list