LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   looks like assignment questions, but really need of answers ? (https://www.linuxquestions.org/questions/linux-newbie-8/looks-like-assignment-questions-but-really-need-of-answers-941843/)

rpittala 04-26-2012 07:40 AM

looks like assignment questions, but really need of answers ?
 
Hi Folks,
Please answer me the below questions. These questions are not the assignment questions and the below questions may be help full for my interview. These are the questions which I have written in a paper when ever I get the doubt.

Note: Please answer me what ever you know

1.how to include the headers&libraries in makefile?
2.write step by step command to create dynamic library?how to add it in make file
3.what are the version control you know? commands of git
4. Suppose 10 programmers are working on source and commiting the source to git, how to source comite with out loosing other people changes
5. why do we require additional person for build and integration , while developers can commit in git
6.what is the difference between static and dynamic libraries?
7.Commands to build the dynamic libraries?
8.what is kernel panic?how do you resolve them?

jschiwal 04-26-2012 07:54 AM

You should try them yourself to actually learn how to do what you claim.
1,2,6,7 & 8 are very basic and covered in any introductory Linux C programming book.
3 is asking what you know so only you can answer it.

pan64 04-26-2012 07:55 AM

1. in makefile there is an include possibility, but not for headers and libraries, but other makefiles. So I'm a bit confused what do you really want
2. to create a dynamic library you need to use a compiler and linker, usually there is a flag -G to generate those files
3. I know clearcase
4. you need to know how to merge different versions
5. because build management and integration is another job (that is not software developement)
6. try google, you will surely find an answer
7. see 2
8. kernel panic means an unexpected event for the kernel. In this case the kernel will not be able to work, so the host is halted. As usual you need to know the reason to resolve.

In general please learn makefiles and the make commands, especially read the manual and some simple examples about how to create this or that.

grail 04-26-2012 10:34 AM

Have you tried searching anywhere? As pointed out, most of the questions are trivial and I would imagine in your notes somewhere, but at worse, search for each of the commands
and I am sure you will find a plethora of information.

This should get you started for the make file questions: http://www.gnu.org/software/make/manual/make.html


All times are GMT -5. The time now is 04:39 AM.