Are you working from master?  Ansis recently fixed a build problem on 32-bit 
machines:

        http://openvswitch.org/pipermail/dev/2012-November/023274.html

Let us know if that doesn't fix your problem, and if so, what version of OVS 
you're using.

Thanks,

--Justin


On Nov 23, 2012, at 4:26 AM, Zhi Yong Wu <zwu.ker...@gmail.com> wrote:

> HI,
> 
> Just i tried to build ovs soure code on one debian machine, and it failed.
> 
> depbase=`echo lib/autopath.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
>       gcc -DHAVE_CONFIG_H -I.   -I ./include -I ./lib -I ./lib
> -Wstrict-prototypes -Wall -Wno-sign-compare -Wpointer-arith
> -Wdeclaration-after-statement -Wformat-security -Wswitch-enum
> -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align
> -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes
> -Wmissing-field-initializers -Wno-override-init  -g -O2 -MT
> lib/autopath.o -MD -MP -MF $depbase.Tpo -c -o lib/autopath.o
> lib/autopath.c &&\
>       mv -f $depbase.Tpo $depbase.Po
> In file included from lib/autopath.c:24:
> lib/flow.h:112: error: negative width in bit-field ‘build_assert_failed’
> make[2]: *** [lib/autopath.o] Error 1
> make[2]: Leaving directory `/home/zwu/openvswitch'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/zwu/openvswitch'
> make: *** [all] Error 2
> root@debian-i386:/home/zwu/openvswitch# uname -a
> Linux debian-i386 3.7.0-rc6+ #263 SMP Thu Nov 22 23:32:34 CST 2012
> x86_64 GNU/Linux
> 
> Did anyone hit the same issue before, and know to solve it?
> 
> 
> -- 
> Regards,
> 
> Zhi Yong Wu

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to