473,769 Members | 5,374 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Gprof problem with dynamic library

Hello:
I am using g++, on linux, and i am trying profile out my program but I
have problems with the calls to the symbols that are in shared library,
does not leave anything these symbols. Everything is compiled with -pg
-g. Where is the problem? Gprof works with the dynamic librarys ???
Thanks

Oct 18 '05 #1
2 3200

"AlvaroMako " <al********@gma il.com> schrieb im Newsbeitrag
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
Hello:
I am using g++, on linux, and i am trying profile out my program but I
have problems with the calls to the symbols that are in shared library,
does not leave anything these symbols. Everything is compiled with -pg
-g. Where is the problem? Gprof works with the dynamic librarys ???


You need to ask in a newsgroup dealing with g++
This newsgroup deals with the language C++ only and
your question is clearly a question about how to
operate your development environment.

--
Karl Heinz Buchegger
Oct 18 '05 #2
Karl Heinz Buchegger wrote:
"AlvaroMako " <al********@gma il.com> schrieb im Newsbeitrag
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
Hello:
I am using g++, on linux, and i am trying profile out my program but I
have problems with the calls to the symbols that are in shared library,
does not leave anything these symbols. Everything is compiled with -pg
-g. Where is the problem? Gprof works with the dynamic librarys ???

You need to ask in a newsgroup dealing with g++
This newsgroup deals with the language C++ only and
your question is clearly a question about how to
operate your development environment.


Posted over to gnu.g++.help. Followups set to gnu.g++.help.
Oct 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1909
by: Michael Own | last post by:
Hi. I've upgraded my RH 8.0 with some packages from rawhide : httpd-2.0.47-4.i386.rpm httpd-devel-2.0.47-4.i386.rpm php-4.3.2-7.i386.rpm php-devel-4.3.2-7.i386.rpm It works fine, but i cannot load any PHP dynamic library. I get errors
19
13291
by: Nancy | last post by:
Hi, When I start my PC(winXP Pro), it always says: Unknown(): Unable toload dynamic library './php_msql.dll' - The specified module could not be found. Then my Apache servre starts, load php module and works well. I copied php_msql.dll to my system32 directory. Who knows what's wrong? Thanks a lot?
1
2005
by: Paras Sharma | last post by:
Hi One question regarding CPP w.r.t dynamic libary . I can understand w.r.t C where get the handle and call the function using function ptr. How to use CPP virtual funcitons when we are using dynamic library. Bacically . 1 How to organise two drived classes in dynamic library . where to
1
6967
by: Eduardo Suárez | last post by:
Hi, i have tried to understand how static variables work on a dynamic library, but there's a point i can't see. * Is the data segment (where static variables live, please confirm) copied for every binary that is running linked to the library? This is what it seems from my own experiments. That is, there is a copy of every static variable for every binary linked. Then, is it really useful the library?
5
1886
by: meendar | last post by:
can anyone tell me what the static and dynamic library? thnkx in advance.
2
1434
by: marikanti | last post by:
Hi, I wonder how can we override the dynamic library loaded by ld on start up.(dynamic linked application). so that linker uses the new library to find symbols. Is it possible to do.
4
1977
by: sealo | last post by:
Hello, I have a test in VS2005 that static library A.lib use the dynamic library C.dll. Then a application App use the A.lib. App-->A.lib-->C.dll It works. But if I remove the C.dll, the app tell me can not find the C.dll. I think because A.lib is a static library, so it should contain the
6
5621
by: Even | last post by:
Hi all, As far as I know, relative address will be assigned by program at link time.Right? Ok, here we go. So if we use a static library, it will give the program an relative address(i mean the function address) at link time. Also the code of the library will load into the program. Go on. Now if we use a dynamic library, what it will give the program?
3
3231
by: S S | last post by:
Hi Are there some known issues using STL with shared library. Recently I got some crash for which the reason I dont see any, and searching on goolge shown some such issues with shared library. If somebody can help ? Thanks in advance. S
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3963
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.