Hello. Perhaps a stupid post / question, but still .. At the university we were given tasks - to find the source codes of the utilities (in my case - df, Linux), to deal with their code and based on them to try to implement our own utility. I downloaded several different versions of the utility source, but none of them really want to compile with gcc, a billion libraries from coreutils stretch for it, and for some reason not all standard libraries (for example, system.h) are connected β they fail. A bunch of different "types" is unknown from what hiderov used in the texts of the utility .. In general - a continuous darkness. Can anybody explain to me what is wrong with these sources I am doing - why are they not compiled simply? And how could one realize the utility itself (hb part of its capabilities)? One of the versions of the source codes that I watched was http://lingrok.org/xref/coreutils/src/df.c#ncolumns
__ Concerning errors with libraries - tritely on the first lines the compiler swears at the standard library: df.c: 21: 20: fatal error: config.h: There is no such file or directory compilation is interrupted
./configure && make? - gecubemakewill execute the makefile (with a small letter). - avp./configure && makeneeds to be done in one command β itconfig.hbased on user responses and system scans for the presence of a compiler, its version and the presence and versions of libraries. Andmakestarts the process of compiling source files. Well, if it is simple. Justgcc -o df.out df.cin this situation do not go - gecube