jump to navigation

Error in ‘make depend’ November 8, 2013

Posted by aghus in Linux, Ngoprek, NS-2.

I installed a program in my ubuntu 10.10, when I do ‘make depend’ then an error appears as follows :

/bin/sh: Syntax error: Bad fd number
make: *** [depend] Error 2

The error is caused by ubuntu 10.10 default setting, which uses dash instead of bash for sh command. Solution : rename the old link of /bin/sh to dash and create new link of /bin/sh to bash.

cd /bin
sudo mv sh sh_origin
sudo ln -s /bin/bash sh



No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: