Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - mmap_peer and mmap64_peer - Undefined reference error: (5 Items)
   
mmap_peer and mmap64_peer - Undefined reference error  
I am trying to use mmap64_peer() in my resource manager.
I get "Undefined reference to mmap64_peer()" error. 
Same with mmap_peer().
Including "sys/mman.h" does not help.

What header file/library do I need to include to get mmap64_peer() to work...?

Thank you.
RE: mmap_peer and mmap64_peer - Undefined reference error  
I may be mistaken, but I believe they aren't part of libc any more in 6.5.

Regards,
Thomas

-----Original Message-----
From: Nikshep Patil [mailto:community-noreply@qnx.com] 
Sent: Donnerstag, 20. Oktober 2011 16:27
To: advanced-graphics
Subject: mmap_peer and mmap64_peer - Undefined reference error

I am trying to use mmap64_peer() in my resource manager.
I get "Undefined reference to mmap64_peer()" error. 
Same with mmap_peer().
Including "sys/mman.h" does not help.

What header file/library do I need to include to get mmap64_peer() to work...?

Thank you.




_______________________________________________

Advanced Graphics
http://community.qnx.com/sf/go/post89488
Re: RE: mmap_peer and mmap64_peer - Undefined reference error  
Thanks Thomas.

Does that mean I cannot use the mmap_peer()/mmap64_peer() anymore...?
Is there an alternative to these functions in 6.5...?

I see this documentation on mmap_peer functions -
http://www.qnx.com/developers/docs/6.4.1/neutrino/technotes/mmap_and_munmap_peer.html
Re: RE: mmap_peer and mmap64_peer - Undefined reference error  
Any update on this...?
RE: RE: mmap_peer and mmap64_peer - Undefined reference error  
Those functions were written for some custom work and were never included in a general product release. The technote was
 erroneously included in the documentation, but has since been removed.

Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems

-----Original Message-----
From: Nikshep Patil [mailto:community-noreply@qnx.com] 
Sent: Wednesday, October 26, 2011 10:29 AM
To: advanced-graphics
Subject: Re: RE: mmap_peer and mmap64_peer - Undefined reference error

Any update on this...?



_______________________________________________

Advanced Graphics
http://community.qnx.com/sf/go/post89648