xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* compile error Xen-4.0.0 on Debian squeeze
@ 2010-05-21  9:23 James Harper
  2010-05-21  9:28 ` James Harper
  0 siblings, 1 reply; 2+ messages in thread
From: James Harper @ 2010-05-21  9:23 UTC (permalink / raw)
  To: xen-devel

ebtables.c: In function âlist_emâ:
ebtables.c:325: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 2 has type âuint64_tâ
ebtables.c:325: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ
ebtables-standalone.c:5: warning: function declaration isnât a prototype
ebtables-standalone.c: In function âpseudomainâ:
ebtables-standalone.c:11: error: âreplaceâ undeclared (first use in this function)
ebtables-standalone.c:11: error: (Each undeclared identifier is reported only once
ebtables-standalone.c:11: error: for each function it appears in.)
ebtables-standalone.c: At top level:
ebtables-standalone.c:16: error: redefinition of âpseudomainâ
ebtables-standalone.c:7: note: previous definition of âpseudomainâ was here

when I do 'hg diff' after recompiling lots of times I get strange things like:

+
+int pseudomain(int argc, char *argv[])
+{
+       _standard_init();
+       _imq_init();
+       _t_filter_init();
+
+       pseudomain(argc, argv);
+       return 0;
+}
+
+int pseudomain(int argc, char *argv[])
+{
+       _standard_init();
+       _imq_init();
+       _t_filter_init();
+
+       pseudomain(argc, argv);
+       return 0;
+}
(repeated about 10 times)

-void _init(void)
+void _imq_imq_imq_imq_imq_imq_imq_imq_imq_init(void)

-void _init(void)
+void _standard_standard_standard_standard_standard_standard_standard_standard_standard_init(void)

+extern void _standard_init(void);
+extern void _imq_init(void);
+extern void _t_filter_init(void);
+extern void _standard_init(void);
+extern void _imq_init(void);
+extern void _t_filter_init(void);
+extern void _standard_init(void);
+extern void _imq_init(void);
+extern void _t_filter_init(void);
+extern void _standard_init(void);

And so on. This is a brand new system and I suspect that I'm missing a dependency but I can't see any related warnings or messages.

James

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: compile error Xen-4.0.0 on Debian squeeze
  2010-05-21  9:23 compile error Xen-4.0.0 on Debian squeeze James Harper
@ 2010-05-21  9:28 ` James Harper
  0 siblings, 0 replies; 2+ messages in thread
From: James Harper @ 2010-05-21  9:28 UTC (permalink / raw)
  To: James Harper, xen-devel

A 'hg update -C RELEASE-4.0.0' gets it working again... must have been some strange corner case caused by a compile with a missing dependency.

James

> 
> ebtables.c: In function âlist_emâ:
> ebtables.c:325: warning: format â%lluâ expects type âlong long unsigned intâ,
> but argument 2 has type âuint64_tâ
> ebtables.c:325: warning: format â%lluâ expects type âlong long unsigned intâ,
> but argument 3 has type âuint64_tâ
> ebtables-standalone.c:5: warning: function declaration isnât a prototype
> ebtables-standalone.c: In function âpseudomainâ:
> ebtables-standalone.c:11: error: âreplaceâ undeclared (first use in this
> function)
> ebtables-standalone.c:11: error: (Each undeclared identifier is reported only
> once
> ebtables-standalone.c:11: error: for each function it appears in.)
> ebtables-standalone.c: At top level:
> ebtables-standalone.c:16: error: redefinition of âpseudomainâ
> ebtables-standalone.c:7: note: previous definition of âpseudomainâ was here
> 
> when I do 'hg diff' after recompiling lots of times I get strange things like:
> 
> +
> +int pseudomain(int argc, char *argv[])
> +{
> +       _standard_init();
> +       _imq_init();
> +       _t_filter_init();
> +
> +       pseudomain(argc, argv);
> +       return 0;
> +}
> +
> +int pseudomain(int argc, char *argv[])
> +{
> +       _standard_init();
> +       _imq_init();
> +       _t_filter_init();
> +
> +       pseudomain(argc, argv);
> +       return 0;
> +}
> (repeated about 10 times)
> 
> -void _init(void)
> +void _imq_imq_imq_imq_imq_imq_imq_imq_imq_init(void)
> 
> -void _init(void)
> +void
> _standard_standard_standard_standard_standard_standard_standard_standard_stand
> ard_init(void)
> 
> +extern void _standard_init(void);
> +extern void _imq_init(void);
> +extern void _t_filter_init(void);
> +extern void _standard_init(void);
> +extern void _imq_init(void);
> +extern void _t_filter_init(void);
> +extern void _standard_init(void);
> +extern void _imq_init(void);
> +extern void _t_filter_init(void);
> +extern void _standard_init(void);
> 
> And so on. This is a brand new system and I suspect that I'm missing a
> dependency but I can't see any related warnings or messages.
> 
> James
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-21  9:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-21  9:23 compile error Xen-4.0.0 on Debian squeeze James Harper
2010-05-21  9:28 ` James Harper

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 NNTP newsgroup(s).