When compiling latest WebKit2 under Ubuntu 11.10 I was facing some errors with SharedMemoryUnix.o. /home/luck/work/webkit/WebKitBuild/Release/Source/WebKit2/release/libWebKit2.a(SharedMemoryUnix.o): In function `WebKit::SharedMemory::create(unsigned long)': SharedMemoryUnix.cpp:(.text._ZN6WebKit12SharedMemory6createEm+0x1fb): undefined reference to `shm_open' SharedMemoryUnix.cpp:(.text._ZN6WebKit12SharedMemory6createEm+0x30e): undefined reference to `shm_unlink' SharedMemoryUnix.cpp:(.text._ZN6WebKit12SharedMemory6createEm+0x459): undefined reference to `shm_unlink' collect2: ld returned 1 exit status After some investigation we find out that the problem was related to linker parameter's order. -lrt should come after -lWebKit2. I'm attaching a patch that ensures the right order of these parameters.
Created attachment 122918 [details] Patch
Created attachment 122921 [details] Patch
Comment on attachment 122921 [details] Patch lgtm
Comment on attachment 122921 [details] Patch Clearing flags on attachment: 122921 Committed r105305: <http://trac.webkit.org/changeset/105305>
All reviewed patches have been landed. Closing bug.