* compile error: "LC_CTYPE_MASK" redefined
@ 2007-07-12 9:32 William Xu
2007-07-12 16:33 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: William Xu @ 2007-07-12 9:32 UTC (permalink / raw)
To: guile-user
After a `cvs update' on guile-core, make fails at:
,----
| ./guile-snarf -o i18n.x i18n.c -DHAVE_CONFIG_H -I.. -I.. -g -O2 -Wall -Wmissing-prototypes -Werror
| i18n.c:129:1: error: "LC_CTYPE_MASK" redefined
| In file included from i18n.c:51:
| /usr/include/locale.h:161:1: error: this is the location of the previous definition
| i18n.c:130:1: error: "LC_COLLATE_MASK" redefined
| /usr/include/locale.h:164:1: error: this is the location of the previous definition
| i18n.c:131:1: error: "LC_MESSAGES_MASK" redefined
| /usr/include/locale.h:166:1: error: this is the location of the previous definition
| i18n.c:132:1: error: "LC_MONETARY_MASK" redefined
| /usr/include/locale.h:165:1: error: this is the location of the previous definition
| i18n.c:133:1: error: "LC_NUMERIC_MASK" redefined
| /usr/include/locale.h:162:1: error: this is the location of the previous definition
| i18n.c:134:1: error: "LC_TIME_MASK" redefined
| /usr/include/locale.h:163:1: error: this is the location of the previous definition
| i18n.c:137:1: error: "LC_PAPER_MASK" redefined
| /usr/include/locale.h:167:1: error: this is the location of the previous definition
| i18n.c:142:1: error: "LC_NAME_MASK" redefined
| /usr/include/locale.h:168:1: error: this is the location of the previous definition
| i18n.c:147:1: error: "LC_ADDRESS_MASK" redefined
| /usr/include/locale.h:169:1: error: this is the location of the previous definition
| i18n.c:152:1: error: "LC_TELEPHONE_MASK" redefined
| /usr/include/locale.h:170:1: error: this is the location of the previous definition
| i18n.c:157:1: error: "LC_MEASUREMENT_MASK" redefined
| /usr/include/locale.h:171:1: error: this is the location of the previous definition
| i18n.c:162:1: error: "LC_IDENTIFICATION_MASK" redefined
| /usr/include/locale.h:172:1: error: this is the location of the previous definition
| make[2]: *** [i18n.x] Error 1
| make[2]: Leaving directory `/home/william/repo/cvs/guile/guile-core/libguile'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/william/repo/cvs/guile/guile-core'
| make: *** [all] Error 2
`----
What's wrong here?
--
William
《题大庾岭北驿》
作者:宋之问
阳月南飞雁,传闻至此回。
我行殊未已,何日复归来。
江静潮初落,林昏瘴不开,
明朝望乡处,应见陇头梅。
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile error: "LC_CTYPE_MASK" redefined
2007-07-12 9:32 compile error: "LC_CTYPE_MASK" redefined William Xu
@ 2007-07-12 16:33 ` Ludovic Courtès
2007-07-13 8:36 ` William Xu
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2007-07-12 16:33 UTC (permalink / raw)
To: William Xu; +Cc: guile-user
William Xu <william.xwl@gmail.com> writes:
> After a `cvs update' on guile-core, make fails at:
Make sure you also run `autoheader && autoreconf -i'.
Besides, what platform are you compiling on?
Thanks,
Ludovic.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile error: "LC_CTYPE_MASK" redefined
2007-07-12 16:33 ` Ludovic Courtès
@ 2007-07-13 8:36 ` William Xu
2007-07-13 11:40 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: William Xu @ 2007-07-13 8:36 UTC (permalink / raw)
To: guile-user
ludovic.courtes@laas.fr (Ludovic Courtès) writes:
> Make sure you also run `autoheader && autoreconf -i'.
Hmm, i did a fresh co again. Then ./autogen.sh, configure. Now it
doesn't complain anymore.
Do i still have to rerun ./autogen.sh, configure again after some `cvs
update' ? I thought i only need to rerun make and make install..
ps. It seems sometimes `cvs update' differs from a fresh co..
> Besides, what platform are you compiling on?
debian + powerpc
--
William
题目:《秋思》
作者:陆游(1125-1210)
利欲驱人万火牛,江湖浪迹一沙鸥。
日长似岁闲方觉,事大如山醉亦休。
衣杵相望深巷月,井桐摇落故园秋。
欲舒老眼无高处,安得元龙百尺楼。
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile error: "LC_CTYPE_MASK" redefined
2007-07-13 8:36 ` William Xu
@ 2007-07-13 11:40 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2007-07-13 11:40 UTC (permalink / raw)
To: William Xu; +Cc: guile-user
Hi,
William Xu <william.xwl@gmail.com> writes:
> Hmm, i did a fresh co again. Then ./autogen.sh, configure. Now it
> doesn't complain anymore.
The thing is new configure checks were added that `AC_DEFINE' various
new CPP variables. For some reason, when `configure' is automatically
re-created from the Makefile rules, the header template (i.e.,
`config.in') is not re-created, so we end up with missing `#define's.
It actually looks like an Autoconf/Automake bug.
> Do i still have to rerun ./autogen.sh, configure again after some `cvs
> update' ? I thought i only need to rerun make and make install..
Usually, `make' should be enough. Sometimes, `autoheader' right before
`make' can be helpful. :-)
> debian + powerpc
The new i18n code should compile and work fine on GNU/Linux (which is
what most of us use). There *could* be problems on other systems,
although we haven't had any such reports in a while.
Thanks,
Ludovic.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-07-13 11:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-12 9:32 compile error: "LC_CTYPE_MASK" redefined William Xu
2007-07-12 16:33 ` Ludovic Courtès
2007-07-13 8:36 ` William Xu
2007-07-13 11:40 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).