Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Error while trying to run callgraph
Error while trying to run callgraph [message #1699322] Tue, 23 June 2015 11:39 Go to next message
Pavel Yermolenko is currently offline Pavel YermolenkoFriend
Messages: 26
Registered: June 2015
Junior Member
Hello,

I've met problem while trying to build function call diagram. After launching "callgraph" plugin, the following error message appears in Console window:

tmp/org.eclipse.linuxtools.profiling.launch143505848773938884393715768260.sh: 2: /tmp/org.eclipse.linuxtools.profiling.launch143505848773938884393715768260.sh: Syntax error: Bad fd number


Help, please.

Regards

Pavel
Re: Error while trying to run callgraph [message #1699352 is a reply to message #1699322] Tue, 23 June 2015 14:08 Go to previous message
Pavel Yermolenko is currently offline Pavel YermolenkoFriend
Messages: 26
Registered: June 2015
Junior Member
This is because the default Ubuntu setting uses dash instead of bash for sh command. Thus, rename the old link of /bin/sh to dash and create new link of /bin/sh to bash.
cd /bin
sudo mv sh sh_orig
sudo ln -s /bin/bash sh

So, problem with "Bad fd number" is resolved.
But other appears instead when I run Profile tool (small green triangle on toolbar), please see the image in attachment
Previous Topic:Eclipse CDT ignore my include setting
Next Topic:Include Directories and Build Configurations
Goto Forum:
  


Current Time: Fri Apr 26 19:41:55 GMT 2024

Powered by FUDForum. Page generated in 0.02931 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top