Closed ghost closed 14 years ago
Hmm, what OS are you on?
Ubuntu 8.04. 32bit version of Ubuntu on x86_64 processor.
Yes, I know, I'm quite out of date. Yes, I know, 64bit Ubuntu is nice and stable now ;). Everything works great on 8.04, I just haven't been bothered to upgrade yet.
Anyhow, this is probably a non-issue and I wouldn't want you to spend much time on it, I'm only worried that the compile instructions are wrong.
Well, no idea what the problem is, but I added a note on it to COMPILE.txt.
I was receiving the error: undefined reference to `shm_open'
This is because the linker wasn't including librt. The COMPILE.txt instructions state:
" edit cbuild/src/client/CMakeFiles/Intensity_CClient.dir/link.txt to add -lutil -lrt. See also more details in"
This file didn't exist and creating didn't help. I was able to successfully build after adding "rt" to CLIENT_LIBRARIES in src/client/CMakeLists.txt
I'm opening this ticket in case the COMPILE.txt instructions are wrong (although perhaps I just misunderstood).
On another note, I'm not sure why I get this linking error and nobody else does. Any insight? Is it that cmake normally links against librt automatically, but it's not doing so for my system?