Compilation error with SVN 13637

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Compilation error with SVN 13637

Phil Longstaff-2
make[7]: Entering directory `/home/phil/gnucash2/svn/gnucash/lib/libqof/backend/file'
if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../.. -I../../../..    -I.. -I../.. -DLOCALE_DIR=\""/opt/gnucash2/share/locale"\" -I../../../../lib/libqof/qof -I../../../../lib/libqof/qof -I/usr/include/libxml2 -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include   -O0 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -MT qsf-backend.lo -MD -MP -MF ".deps/qsf-backend.Tpo" -c -o qsf-backend.lo qsf-backend.c; \
then mv -f ".deps/qsf-backend.Tpo" ".deps/qsf-backend.Plo"; else rm -f ".deps/qsf-backend.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../.. -I../../../.. -I.. -I../.. -DLOCALE_DIR=\"/opt/gnucash2/share/locale\" -I../../../../lib/libqof/qof -I../../../../lib/libqof/qof -I/usr/include/libxml2 -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -O0 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -MT qsf-backend.lo -MD -MP -MF .deps/qsf-backend.Tpo -c qsf-backend.c  -fPIC -DPIC -o .libs/qsf-backend.o
qsf-backend.c: In function `qsf_provider_init':
qsf-backend.c:1252: warning: implicit declaration of function `setlocale'
qsf-backend.c:1252: error: `LC_ALL' undeclared (first use in this function)
qsf-backend.c:1252: error: (Each undeclared identifier is reported only once
qsf-backend.c:1252: error: for each function it appears in.)
make[7]: *** [qsf-backend.lo] Error 1

Phil
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compilation error with SVN 13637

Neil Williams-2
On Wednesday 15 March 2006 4:50 pm, Phil Longstaff wrote:
> qsf-backend.c:1252: warning: implicit declaration of function `setlocale'
> qsf-backend.c:1252: error: `LC_ALL' undeclared (first use in this function)
> qsf-backend.c:1252: error: (Each undeclared identifier is reported only
> once qsf-backend.c:1252: error: for each function it appears in.)
> make[7]: *** [qsf-backend.lo] Error 1

Have you got gettext installed? If not, we need to find out why configure
didn't check because gettext is used throughout the build.

Which distro? Which platform? Can you build external QOF on the same platform?
(in case it's the configure test that is wrong for some strange reason).

--

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

attachment0 (198 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Compilation error with SVN 13637

Neil Williams-2
In reply to this post by Phil Longstaff-2
On Wednesday 15 March 2006 4:50 pm, Phil Longstaff wrote:

Ignore that, I've seen the other email from Derek.

--

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

attachment0 (198 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Compilation error with SVN 13637

Derek Atkins
In reply to this post by Neil Williams-2
Quoting Neil Williams <[hidden email]>:

> On Wednesday 15 March 2006 4:50 pm, Phil Longstaff wrote:
>> qsf-backend.c:1252: warning: implicit declaration of function `setlocale'
>> qsf-backend.c:1252: error: `LC_ALL' undeclared (first use in this function)
>> qsf-backend.c:1252: error: (Each undeclared identifier is reported only
>> once qsf-backend.c:1252: error: for each function it appears in.)
>> make[7]: *** [qsf-backend.lo] Error 1
>
> Have you got gettext installed? If not, we need to find out why configure
> didn't check because gettext is used throughout the build.

Yes, I do.

> Which distro? Which platform? Can you build external QOF on the same
> platform?

FC3.  x86.
I haven't tried.

> (in case it's the configure test that is wrong for some strange reason).

It's not a missing configure test -- it's a missing header file.

-derek

--
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [hidden email]                        PGP key available

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel