Hey Anil,

This file you are looking for is a part of the SUNWgnome-base-libs-devel 
package. You can find it in /usr/lib/glib-2.0/include/glibconfig.h

Cheers,
Ananth

Anil Gulecha wrote:
> Hi all,
>
> I was trying to get a skeletal Glade generated gtk+ gui to run.
>
> First, I created a new project in SS 12, and imported the contents of
> 'src' folder. then added a makefile.
>
> this didnt run , cribbing about missing hearder files, and looking
> through the source, I found which ones and added the following to the
> makefil
>
> CPPFLAGS_MA = \
>       -Isrc \
>       -I/usr/include/ \
>       -I/usr/include/cairo \
>       -I/usr/include/pango-1.0/ \
>       -I/usr/include/glib-2.0/ \
>       -I/usr/include/gtk-2.0/
>
> that seemed to get most of the errors out, but it looks like one of
> the internally included files in gtypes.h is glibconfig.h
>
> I looked around and tried 'find', but couldnt find it anywhere. Is
> this file not included?
>
> the actual errors are
> ---------------Output--------
> ::(all)
> cc -g -xCC  -c  -Isrc  -I/usr/include/  -I/usr/include/cairo
> -I/usr/include/pango-1.0/  -I/usr/include/glib-2.0/
> -I/usr/include/gtk-2.0/ -o Sun-x86-Solaris/callbacks.o src/callbacks.c
> (/export/home/anil/SunStudioProjects/MA)src/callbacks.c:
> "/usr/include/glib-2.0/glib/gtypes.h", line 30: cannot find include
> file: <glibconfig.h>
> "/usr/include/glib-2.0/glib/gtypes.h", line 41: syntax error before or
> at: typedef
> "/usr/include/glib-2.0/glib/gtypes.h", line 385: #error: unknown ENDIAN type
> cc: acomp failed for src/callbacks.c
> *** Error code 2
> -------------------------------
> _______________________________________________
> ug-bosug mailing list
> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
> List-Owner: mailto:ug-bosug-owner at opensolaris.org
> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
>   


Reply via email to