Re: [Gtranslator-devel] Compiling on FreeBSD
- From: Fatih Demir <kabalak gtranslator org>
- To: gtranslator devel <gtranslator-devel lists sourceforge net>
- Subject: Re: [Gtranslator-devel] Compiling on FreeBSD
- Date: Wed Aug 27 15:31:14 2003
On Thu, 2003-08-28 at 00:17, Dinesh Nadarajah wrote:
> OK. Here is a status update. I think you might be right. I ran gmake
> and it seems to go further than before. It did produce an error saying
> 'redeclation of GNOMELOCALEDIR' and so I went and commented that line
> out of defines.h.
Oh yes, there was this problem once before already; which gcc version is
installed thereover?! I never get a redeclaration warning here on my
system, this confuses me a bit. And what does happen if you're moving
the GNOMELOCALEDIR definition from defines.h to the GTRANSLATOR_CFLAGS
list in the Makefile?
> Then gmake started to compile even more. felt good. Then another error:
>
> cc1: warnings being treated as errors
> main.c: In function `main':
> main.c:153: warning: implicit declaration of function `setlocale'
> main.c:153: `LC_ALL' undeclared (first use in this function)
> main.c:153: (Each undeclared identifier is reported only once
> main.c:153: for each function it appears in.)
> main.c:117: warning: statement with no effect
> main.c:118: warning: statement with no effect
> main.c:160: warning: statement with no effect
> gmake[3]: *** [main.o] Error 1
> gmake[3]: Leaving directory
> `/usr/home/dinesh/downloads/gtranslator/gtranslator-1.0/src'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/home/dinesh/downloads/gtranslator/gtranslator-1.0/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/home/dinesh/downloads/gtranslator/gtranslator-1.0'
> gmake: *** [all-recursive-am] Error 2
>
> maybe I have to set something.
This could be in touch with the out-commenting of the GNOMELOCALEDIR
definition or some other problem as I can't imagine, that setlocale
isn't defined in FreeBSD std includes... hmm, what's the result of
>> grep setlocale /usr/include/*.h (or where the includes of FBSD might
be of course)?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]