Hi Team

Thanks

I solved it by disabling the 'mgeneral-regs-only' flag in the kernel
makefile.

On Thu, Dec 3, 2015 at 9:13 PM, abhishek jain <[email protected]>
wrote:

> Hi Team
>
> I'm trying to build vrouter.ko on arm ubuntu 14.04 and I'm getting
> following error while compiling it..
>
>
>  make    SANDESH_HEADER_PATH=/root/vvdn/build/debug/vrouter
> SANDESH_SRC_ROOT=../build/kbuild/
> SANDESH_EXTRA_HEADER_PATH=/root/vvdn/tools
> make -C /lib/modules/3.19.3-Layerscape2-SDK+g9f41bb6/build
> M=/root/vvdn/vrouter modules
> make[1]: Entering directory
> `/lib/modules/3.19.3-Layerscape2-SDK+g9f41bb6/build'
>   CC [M]
> /root/vvdn/vrouter/../build/kbuild/sandesh/library/c/protocol/thrift_protocol.o
> /root/vvdn/vrouter/../build/kbuild/sandesh/library/c/protocol/thrift_protocol.c:
> In function ‘thrift_protocol_write_double’:
> /root/vvdn/vrouter/../build/kbuild/sandesh/library/c/protocol/thrift_protocol.c:219:1:
> sorry, unimplemented: ‘-mgeneral-regs-only’ and floating point code
>  thrift_protocol_write_double (ThriftProtocol *protocol,
>  ^
> /root/vvdn/vrouter/../build/kbuild/sandesh/library/c/protocol/thrift_protocol.c:222:3:
> sorry, unimplemented: ‘-mgeneral-regs-only’ and floating point code
>    return protocol->write_double (protocol, value, error);
>    ^
> make[2]: ***
> [/root/vvdn/vrouter/../build/kbuild/sandesh/library/c/protocol/thrift_protocol.o]
> Error 1
> make[1]: *** [_module_/root/vvdn/vrouter] Error 2
> make[1]: Leaving directory
> `/lib/modules/3.19.3-Layerscape2-SDK+g9f41bb6/build'
> make: *** [default] Error 2
>
> Please help me regarding this.
>
> Thanks
> Abhishek Jain
>
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to