$ xlc repfmt.h
xlc: 1501-218 file repfmt.h contains an incorrect file suffix
ld: 0711-715 ERROR: File repfmt.h cannot be processed.
The file must be an object file, an import file, or an archive..
.h is the suffix for a header file. You should be compiling the source (.c) file. Header files are not normally compiled: only sources (.c) files are compiled.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.