GNOME 2.0 Desktop for the Solaris Operating Environment Troubleshooting Guide

Chapter 1 Build Problems

This section provides information about problems that developers might encounter when building the desktop environment.

1.1 Compilation Fails for glib Programs

Problem  

Bug ID 4808098. 

I am using the cc 5.5 compiler to compile glib programs. The compilation fails.

Solution  

The cc 5.5 compiler does not include C99 features, which are required to compile programs using glib.

You must use a compiler that has C99 features enabled.