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!
--
Antoine
More information about the jpilot mailing list