Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
There is a problem in your Makefile. make has a number of suffix rules. The rules tell it how to handle different types of files such as C source code or an object file. Somewhere in your Makefile is a line with a target of apps/sctp_app1.o. That means you'll see apps/sctp_app1.cc to the right of a colon. Something like this...
There may be more than one entry to the right. Notice that this entry has .cc on the end of it. That's no good because make does have a rule for that type of file. It should most likely be .c. make does not have any rules for a .cc filetype. Change it to .c and it will probably run to completion.
thank you for your reply..I have checked into Makefile and there is no such line of 'apps/sctp_appl1.o: apps/sctp_app1.cc' or even 'sctp_app1.cc'..it returned an error message; 'pattern not found: sctp_app1.cc'. what i have found is that a line containing a suffixes like this:
My apologies, I was wrong about the .cc. That is a C++ program and if things are laid out properly in the makefile this error should not be happening. In makefiles there are typically a lot of macros that substitute names of files, commands, all kinds of parameters, etc. It is difficult for me to understand what is going on without being able to go through the makefile. If you want me to try and take a look, you can email it to me. Click on my name on the left side of the post and choose the send email option. I will forewarn you though, if it is a large package makefiles typically pass other macro information from higher level makefiles. I may not be able to solve this one without seeing the big picture.
True, but newbie06 already told us he reconfigured. Also, it says he is adding files to his subdirectory. The beauty of make is it will only recompile anything that has changed. This error leads me to believe that something is wrong with the makefile, not the steps taken to perform a standard install.
Thank you again for your response and effort to understand my problem..I really appreciate it. The good news is I have already solve the problem by downloaded the original ns2.26, and install it again, set the environment path, validate,..bla..bla.. (although it takes me the whole day to do it), re-download the files I've mentioned before, put them in their respected directories, and try to re-configure and re-make ns..and it works!!!..I think may be I have accidently deleted some files before, that's why I got the error. Sorry..for my mistake..By the way, thank you so much for your help Bill, hope you can help me again in the future...Thanks..