WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] compile error Xen-4.0.0 on Debian squeeze

To: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] compile error Xen-4.0.0 on Debian squeeze
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Fri, 21 May 2010 19:28:14 +1000
Cc:
Delivery-date: Fri, 21 May 2010 02:28:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01996A0B@trantor>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D01996A0B@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acr4x0pzHrCNxAdfQFGlhYuvdpJBYAAAHsVw
Thread-topic: [Xen-devel] compile error Xen-4.0.0 on Debian squeeze
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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>