the following error arises with gcc 3.4 compress42.c:175: error: conflicting types for 'open' compress42.c:175: note: a parameter list with an ellipsis can't match an empty parameter name list declaration /usr/include/fcntl.h:72: error: previous declaration of 'open' was here compress42.c:175: error: conflicting types for 'open' compress42.c:175: note: a parameter list with an ellipsis can't match an empty parameter name list declaration /usr/include/fcntl.h:72: error: previous declaration of 'open' was here compress42.c:187: warning: conflicting types for built-in function 'strlen' compress42.c: In function `main': compress42.c:698: warning: return type of 'main' is not `int' make: *** [compress] Error 1 The attached patch fixes this error. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 29240 [details, diff] Stops the program from redeclaring some stuff already in the libraries.
Not amd64 related, changed Hardware
*** Bug 48615 has been marked as a duplicate of this bug. ***
This problem also occurs with 2.4 kernel headers using gcc-3.4.0. The line 187 warning does not show up with 2.4 headers, however.
lv fixed this but didnt close the bug ;)