Search the web
Sign In
New User? Sign Up
mpatrol · mpatrol library discussion group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
redefinition of struct meminfo on solaris   Message List  
Reply | Forward Message #1093 of 1198 |
I'm trying to install mpatrol on Sun Solaris 5.10 and am getting the
following error when I do gmake:

g++ -I../../src -I../../tools -O3 -fno-inline-functions -c
../../src/memory.c
In file included from ../../src/memory.c:55:
/usr/include/sys/mman.h:289: error: redefinition of `struct meminfo'
../../src/memory.h:64: error: previous definition of `struct meminfo'
../../src/memory.c: In function `memaccess __mp_memquery(meminfo*,
void*)':
../../src/memory.c:769: error: ISO C++ forbids cast to non-reference
type used as lvalue

I'll appreciate some help.
Regards,
Asra




Thu Mar 6, 2008 2:57 pm

asra_baig
Offline Offline
Send Email Send Email

Forward
Message #1093 of 1198 |
Expand Messages Author Sort by Date

I'm trying to install mpatrol on Sun Solaris 5.10 and am getting the following error when I do gmake: g++ -I../../src -I../../tools -O3 -fno-inline-functions...
asra_baig
Offline Send Email
Mar 7, 2008
9:26 am

Sorry for the delay in replying. The latest versions of Solaris define a meminfo structure which conflicts with mpatrol's definition. Your best bet would be...
Graeme Roy
graemeroy
Offline Send Email
Mar 14, 2008
9:31 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help