By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,678 Members | 2,155 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,678 IT Pros & Developers. It's quick & easy.

using the shm_open() function for shared memory access in linux --regarding

P: n/a
Hi all,

I am using the shm_open() function declared in the <sys/mman.h>

I get linker error saying undefined reference to shm_open()
function...

Can anyone tell me where can i find the definition for the method
shm_open() ???

Thanks,

Gunasingh
Apr 5 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 5 Apr 2008 at 8:58, gunasingh wrote:
Hi all,

I am using the shm_open() function declared in the <sys/mman.h>

I get linker error saying undefined reference to shm_open()
function...

Can anyone tell me where can i find the definition for the method
shm_open() ???
You need to link with -lrt.

Apr 5 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.