-
March 16th, 2007, 03:48 AM
#46
Re: Problem with make in linux
Originally Posted by avinash_ramani
now everything compiles fine. but when i type the linux executable file in the command line.
it says command not found.
why is that ?
I don't know what that make file does. But isn't it obvious if you see an error like that? The command you believe is there isn't really there.
What was created? Do you see the executable file? Is it executable?
Regards,
Paul McKenzie
-
March 16th, 2007, 05:32 AM
#47
Re: Problem with make in linux
well this make file builds all the code files together into one executable.
before it was showing errors. now as per your instruction i changed many things, now it is compiling and building. Even the executable file is present in the folder but it is not working. It says command not found. what could be the reason ?
regards,
avinash
-
March 16th, 2007, 08:06 AM
#48
Re: Problem with make in linux
On linux, current directory isn't usually in the PATH, so you have to run it as './command'. Also check if the file has execute permissions.
-
March 16th, 2007, 08:08 AM
#49
Re: Problem with make in linux
Originally Posted by avinash_ramani
...It says command not found. what could be the reason ?
Type the executable filename with the explicit path information using ./
Unix does not have the current directory in the path.
You're gonna go blind staring into that box all day.
-
March 16th, 2007, 09:48 AM
#50
Re: Problem with make in linux
thanks a ton guys. it worked great. I actually figured out that i had to type ./ahosea.
but thanks a lot anyways.
I solved a big problem which i had with this project.
I should have posted my issue long back in this forum rather than trying to figure it out myself.
thanks to everyone who responded to this post.
-
March 16th, 2007, 05:35 PM
#51
Re: Problem with make in linux
Originally Posted by avinash_ramani
thanks a ton guys. it worked great.
That's what CodeGuru is all about!
And hey, you can cite us in your dissertation.
You're gonna go blind staring into that box all day.
-
March 18th, 2007, 03:41 PM
#52
Re: Problem with make in linux
I am definitely site going to site you guys in my disertation.
thanks again
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|