lex/yacc parsing error when using SUN native CC compiler
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When using ccmake and SUN's native compiler (Forte 6 update 2), the CC invoked lex/yacc in Wrapping, and failed right away:
/User0/allen/src/VTK-4.2.2-sun7/Wrapping: building default_target Building executable /User0/allen/src/VTK-4.2.2-sun7/bin/vtkParseJava... cc: No input file specified, no output generated make[3]: *** [/User0/allen/src/VTK-4.2.2-sun7/bin/vtkParseJava] Error 1 make[2]: *** [default_target] Error 2 make[1]: *** [default_target_Wrapping] Error 2 make: *** [default_target] Error 2
The same source compilation will work ok with gcc 3.2 on the same platform.
Is there any successful story using Sun's CC compiler? Thanks.
Allen