Greetings.

   “sudo make install” for aufs-utils is failing with the message “strip:
   Unable    to    recognise    the    format    of    the   input   file
   `/s/src/aufs/stage/usr/lib/libau.so.2.7'”.


   The output of “file /s/src/aufs/stage/usr/lib/libau.so.2.7” is “regular
   file”, not “shared object” like I would expect.


   I am cross-compiling.



   Here is the whole story:


   I’m trying to build aufs for my embedded ARM system. I’m using a kernel 
from
   TI which is linux-3.12.10-ti2013.12.01. I retrieved the standalone git repo
   and checked out origin/aufs3.12.x, patched my kernel, built it (not as a
   module), and booted it up without issue.


   Now I’m trying to build the utils, which I was able to build without error.
   I used branch origin/aufs3.9. Here is the top portion of the Makefile I
   used:


   HOSTCC ?= cc

   CC =
   /home/steve/ti-sdk-am335x-evm-07.00.00.00/linux-devkit/sysroots/i686-arago-l
   inux/usr/bin/arm-linux-gnueabihf-gcc

   CFLAGS += -I./libau

   CFLAGS += -O -Wall

   CPPFLAGS  +=  -I /s/src/aufs/linux-3.12.10-ti2013.12.01/usr/include -I
   /s/src/aufs/aufs3-standalone.git/usr/include

   CFLAGS  +=  -I  /s/src/aufs/linux-3.12.10-ti2013.12.01/usr/include  -I
   /s/src/aufs/aufs3-standalone.git/usr/include

   DESTDIR = /s/src/aufs/stage


   I noticed the documentation at [1]http://aufs.sourceforge.net/ talked about
   adding those include directories to CPPFLAGS, but it looks like the source
   is C so I added them to CFLAGS as well (shouldn’t hurt).


   I ran “sudo make install” and got the error above. Help?


   Thanks,

   Steve

References

   1. http://aufs.sourceforge.net/
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds

Reply via email to