Error log of make command in Linux

Posted by dexkid on Stack Overflow See other posts from Stack Overflow or by dexkid
Published on 2010-04-28T13:47:53Z Indexed on 2010/04/28 13:53 UTC
Read the original article Hit count: 199

Filed under:
|
|

I am compiling a kernel module and it has many compilation errors in it. After running "make", the errors thrown out are too many to fit in the screen. Scrolling up doesn't reach the first error. I tried capturing the errors by doing make &2 > log which didn't work (log file was empty and the error messages were still dumped on screen).

Can someone please tell me how to go about logging all the messages generated during compilation/make into a logfile?

© Stack Overflow or respective owner

Related posts about makefile

Related posts about compilation