Re: Problem compiling gconf on solaris



Chris Lyttle <chris wilddev net> writes:

> Hi
> 
> I am attempting to get GNOME2 function on Solaris and have run into a
> problem compiling Gconf. I get the following error,
> 
> gconfd.c: In function `main':
> gconfd.c:484: warning: implicit declaration of function `setlocale'
> gconfd.c:484: `LC_ALL' undeclared (first use in this function)
> gconfd.c:484: (Each undeclared identifier is reported only once
> gconfd.c:484: for each function it appears in.)

This file needs a #include <locale.h>

> gconfd.c: In function `read_line':
> gconfd.c:1832: warning: implicit declaration of function `flockfile'
> gconfd.c:1836: warning: implicit declaration of function `getc_unlocked'
> gconfd.c:1860: warning: implicit declaration of function `funlockfile'
> make[2]: *** [gconfd.o] Error 1
> make[2]: Leaving directory `/home/chris/gnome/head/cvs/gconf/gconf'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/chris/gnome/head/cvs/gconf'
> make: *** [all-recursive-am] Error 

#include <stdio.h>

Thanks,
-Jonathan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]