libptools_ptr.a and mt__trce

This is a discussion on libptools_ptr.a and mt__trce within the aix forums in Operating Systems category; I found in aix mt__trce can backtrce and install the libptools_ptr.a I find an example for this .but when I gcc ./backtrce.c -o ....,he told me not found the mt__trce define.but I can''not find the mt__trce define in /usr/include.where can i find the include define.If this write by myself .Howto? Thankyou for help...

Go Back   Database Forum > Operating Systems > aix

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-19-2008, 09:48 PM
Default libptools_ptr.a and mt__trce

I found in aix mt__trce can backtrce and install the libptools_ptr.a I
find an example for this .but when I gcc ./backtrce.c -o ....,he told
me not found the mt__trce define.but I can''not find the mt__trce
define in /usr/include.where can i find the include define.If this
write by myself .Howto?
Thankyou for help
Reply With Quote
  #2  
Old 10-27-2008, 09:13 AM
Default Re: libptools_ptr.a and mt__trce

On 20 Okt., 01:48, cuiwenzhu1...@163.com wrote:
> I found in aix mt__trce can backtrce and install the libptools_ptr.a I
> find an example for this .but when I gcc ./backtrce.c -o ....,he told
> me not found the mt__trce define.but I can''not find the mt__trce
> define in */usr/include.where can i find the include define.If this
> write by myself .Howto?
> Thankyou for help


The declaration is
void mt__trce( int FileDescriptor, int Signal, struct sigcontext
*Context, int Node );

There is no declaration in /usr/include. You have to declare it
yourself.

See here:
http://publib16.boulder.ibm.com/doc_...f1/mt_trce.htm
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 12:37 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.