Make errors - can the gcc compiler warnings prevent a C file from being compiled into an object file

Posted by Xolstice on Stack Overflow See other posts from Stack Overflow or by Xolstice
Published on 2010-05-11T20:38:27Z Indexed on 2010/05/11 20:44 UTC
Read the original article Hit count: 240

Filed under:
|
|
|
|

I'm trying to compile a wireless network card driver for my Linux box and I ran into a problem with the Make command. During the compilation process I normally see warnings on some of the C files that being are compiled; despite the warnings these files were still able to be compiled to an object file.

When the Make process comes to a file called rtmp_wext.c however, the compiler generates a large number of warnings and then the whole Make process stops and returns an exit status of error 1, i.e. make: *** [rtmp_wext.o] Error 1. Usually I see an error with the C file for compilation to halt. This is the first time where it seems compiler warnings are preventing the file from being turned into an object file; is this possible or is something else the cause for the unsuccessful compilation?

© Stack Overflow or respective owner

Related posts about make

    Related posts about makefile