Vasanth Ragavendran:
> cross compiler. however aufs2-util packages fail to compile. it fails in
> compiling the makefile of the aufs2-util. the error being
>
> ./ver: ./ver: cannot execute binary file
>
> The reason being the file is not getting generated by
>
> mips-linux-uclibc-gcc -I./libau -O -Wall -I/usr/include
> -DMOUNT_CMD_PATH=\"\"   ver.c   -o ver
>
> Why is this happening? but it's running fine when i specify it as just gcc
        :::

I see.
I understand that ver.c in aufs2-util doesn't suit for cross-compiling...
The purpose of ver.c is comparing and checking the version of installed
aufs module (actually include/linux/aufs_type.h) and with
aufs2-util's. And _run_ it before compiling other utilities.
In cross-compiling, obviously it is unuseful and unavailable.

Just for now and for you only, you can skip ./ver checking by replacing
it by simple /bin/true. Of course, you need to make sure that their
version matches.


> well with other software installations. My apologies for troubling you so
> much.

Don't worry.
I'm glad that you have succeeded.


J. R. Okajima

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure

Reply via email to