|
From: Murali N V. <vil...@cs...> - 2004-02-21 22:19:56
|
Hello everyone, I have been writing a skin with valgrind in C++. After playing around with the build system, I was able to get it to compile/build successfully, but I am not able to run any programs because at runtime I get relocation errors for some of the C++ symbols (cin, cout, cerr to name a few) as is to be expected. First of all, is it a bad idea to implement skins in C++? If not, then how do I get this skin to work? Do I have to preload any std. c++ libraries to get this to work? I would appreciate any help/suggestions/pointers... Thanks, Murali |
|
From: Dirk M. <dm...@gm...> - 2004-02-21 22:49:11
|
On Saturday 21 February 2004 23:12, Murali N Vilayannur wrote: > I have been writing a skin with valgrind in C++. After playing around > with the build system, I was able to get it to > compile/build successfully It seems you don't. It has to be linked with "g++", not with "gcc", otherwise you get the undefined symbols as you explained here. Dirk |
|
From: Murali V. N <vil...@cs...> - 2004-02-21 22:57:57
|
Hi, Oops. Sorry for the noise. I realized that right after I sent the email. Thanks again, Murali On Sat, Feb 21, 2004 at 11:42:06PM +0100, Dirk Mueller wrote: > On Saturday 21 February 2004 23:12, Murali N Vilayannur wrote: > > > I have been writing a skin with valgrind in C++. After playing around > > with the build system, I was able to get it to > > compile/build successfully > > It seems you don't. It has to be linked with "g++", not with "gcc", otherwise > you get the undefined symbols as you explained here. > > > Dirk > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |