On Tuesday 29 August 2006 12:28, Antoine Jacoutot wrote:
> Hi.
>
> The latest version fails to compile with the following error:
>
> if cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include
> -I/usr/local/include -I/usr/local/include/gtk-2.0
> -I/usr/local/lib/gtk-2.0/include
> -I/usr/local/include/atk-1.0 -I/usr/X11R6/include/freetype2
> -I/usr/X11R6/include -I/usr/local/include/cairo
> -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include
> -DLOCALEDIR=\"/usr/local/share/locale\"
> -DGNULOCALEDIR=\"/usr/local/share/locale\" -O2 -pipe -Wall
> -I/usr/local/include -MT jpilot.o -MD -MP -MF ".deps/jpilot.Tpo" -c -o
> jpilot.o jpilot.c; then mv -f ".deps/jpilot.Tpo" ".deps/jpilot.Po"; else
> rm -f ".deps/jpilot.Tpo"; exit 1; fi
> jpilot.c: In function `main':
> jpilot.c:2185: error: `_NL_TIME_FIRST_WEEKDAY' undeclared (first use in
> this function)
> jpilot.c:2185: error: (Each undeclared identifier is reported only once
> jpilot.c:2185: error: for each function it appears in.)
> *** Error code 1
>
> If I remove the following lines from jpilot.c, then it works.
>
> # ifdef HAVE_LANGINFO_H
> /* GTK 2.8 libraries */
> week_start = nl_langinfo (_NL_TIME_FIRST_WEEKDAY);
> pref_fdow = *((unsigned char *) week_start) - 1;
> # else
> ...
> # endif
>
> Any idea?
> Thanks!
I get the same problem on Solaris. I have logged it as bug number 1722 at
bugs.jpilot.org
Steve
--
____________________________________________________________________
Steve Evans E-mail: mailto:stevee at gorbag.com
WEB: http://www.gorbag.com
Registered Linux user #217906: http://counter.li.org
Public Encryption Key: http://www.gorbag.com/public-key.html
____________________________________________________________________
"Maybe it's good news. With luck he's feeling better. All they have
to do is to prop him up for two minutes and-- I'll call you back."
-- G'Kar in Babylon 5:"The Coming of Shadows"
More information about the jpilot mailing list