The file jasper/src/libjasper/jpc/jpc_qmfb.c contains CRLF line breaks. Sun Studio Compiler does not accept the file in this format. Converting the file (with dos2unix or similar) results in a successful build.
*boggle* Hopefully you mean the preprocessor, at least? Anyway, restored in r9481, and hopefully future mutations prevented by r9482. Thanks for the report. Let me know if you find more.
The precise error was this: /bin/sh ../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../../src/libjasper/include/jasper -I../../../src/libjasper/include -g -c -o jpc_qmfb.lo jpc_qmfb.c cc -DHAVE_CONFIG_H -I. -I../../../src/libjasper/include/jasper -I../../../src/libjasper/include -g -c jpc_qmfb.c -o jpc_qmfb.o "jpc_qmfb.c", line 76: warning: invalid white space character in directive "jpc_qmfb.c", line 78: warning: invalid white space character in directive "jpc_qmfb.c", line 79: warning: invalid white space character in directive "jpc_qmfb.c", line 80: warning: invalid white space character in directive "jpc_qmfb.c", line 81: warning: invalid white space character in directive "jpc_qmfb.c", line 83: warning: invalid white space character in directive "jpc_qmfb.c", line 84: warning: invalid white space character in directive "jpc_qmfb.c", line 85: warning: invalid white space character in directive "jpc_qmfb.c", line 87: warning: invalid white space character in directive "jpc_qmfb.c", line 88: warning: invalid white space character in directive "jpc_qmfb.c", line 90: warning: invalid white space character in directive "jpc_qmfb.c", line 91: warning: invalid white space character in directive I think this is the compiler, not the preprocessor, but I can't say for sure. Thanks for the fix!
Those are all #include or #if/#endif lines, so it's preprocessor directive parsing that's failing. It manages to count the lines correctly though. :) Have you reported this against the Sun Studio Compiler as well?
*** Bug 690311 has been marked as a duplicate of this bug. ***