savannah-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-users] compilation error when libunwind used with PIN


From: Sandeep Budanur
Subject: [Savannah-users] compilation error when libunwind used with PIN
Date: Sun, 28 Mar 2010 19:32:53 -0400
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

Hi David,

I am Sandeep, a Graduate Student at NC State University, trying to use libunwind
with PIN binary instrumentation tool. When integrated, there are some compilation errors
due to multiple/ambiguous definitions of enums.


memtrace.cpp:790: error: reference to âREG_RBPâ is ambiguous
/usr/include/sys/ucontext.h:65: error: candidates are: <anonymous enum> REG_RBP
../../../source/include/gen/reg_ia32.PH:64: error:                 LEVEL_BASE::REG LEVEL_BASE::REG_RBP

memtrace.cpp:807: error: reference to âREG_RBPâ is ambiguous
/usr/include/sys/ucontext.h:65: error: candidates are: <anonymous enum> REG_RBP
../../../source/include/gen/reg_ia32.PH:64: error:                 LEVEL_BASE::REG LEVEL_BASE::REG_RBP

Please let me know if there is any way to fix this. Your help will be greatly appreciated.

regards,
Sandeep


reply via email to

[Prev in Thread] Current Thread [Next in Thread]