gwhere-discussion
[Top][All Lists]
Advanced

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

[GWhere-discussion] Compiling problem with LC_ALL error: LC_ALL undeclar


From: Christian Rößler (Roessler)
Subject: [GWhere-discussion] Compiling problem with LC_ALL error: LC_ALL undeclared (first use in this function)
Date: Tue, 6 May 2008 15:06:20 +0200
User-agent: Dustellstaberfragen

Dear list,

I am trying to compile gwhere, version 0.2.3. The system here is a Suse 
10.3 on an AMD64.

First I got a make error
| *** Warning: Linking the shared library
| libgwplugindescriptiondescript_ion.la against the 
| *** static library ../../../src/tools/libgwtools.a is not portable! 
as asked in 
<http://www.mail-archive.com/address@hidden/msg00003.html>, 
but the tip in 
<http://www.mail-archive.com/address@hidden/msg00005.html> 
to set
| export CFLAGS="-Wall -fPIC"
| export CXXFLAGS="-Wall -fPIC"
along with a
| make distclean
seemed to help.

But now it hangs with:

| make[3]: Entering directory `/home/chr/downloads/gwhere-0.2.3/src'
| 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I../src/res    -I../src/tools  
-I../src/db
| -I../src/data   -I../src/gui        -I/usr/include -I/usr/include/gtk-1.2 
-I/usr/include/glib
| -1.2 -I/usr/lib64/glib/include         -DOS_LINUX    -Wall -fPIC 
-fno-strict-aliasing -c
| main.c    [Line broken for convenience in email]
| main.c: In function ‘main’: 
| main.c:54: warning: implicit declaration of function ‘setlocale’ 
| main.c:54: error: ‘LC_ALL’ undeclared (first use in this function) 
| main.c:54: error: (Each undeclared identifier is reported only once 
| main.c:54: error: for each function it appears in.) 
| make[3]: *** [main.o] Fehler 1 
| make[3]: Leaving directory `/home/chr/downloads/gwhere-0.2.3/src' 
| make[2]: *** [all-recursive] Fehler 1 
| make[2]: Leaving directory `/home/chr/downloads/gwhere-0.2.3/src' 
| make[1]: *** [all-recursive] Fehler 1 
| make[1]: Leaving directory `/home/chr/downloads/gwhere-0.2.3' 
| make: *** [all-recursive-am] Fehler 2 

So, is there perhaps in inclusion to locale.h (or such) missing? I am a 
bit reluctant to set LC_ALL by shell, as this would override a lot. Or 
will I have to set LC_ALL globally to my locale?

I would be grateful for some help...

Best greetings from germany,
Christian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]