Closed ghost closed 10 years ago
reason for those links to x86_64 (or i686) are convenience and speed related hacks,
if you have any issue with some specific tool it is expected to relink package to arm counterpart and avoid issues. but i just tested building libaacs-0.7.0 and it compiled correctly so i'm confused what is going on.
Please run make distclean
before running ./configure --xxx
this is my session and what it is built on the end
root@nb0015:~/src/libaacs-0.7.0# ls -la src/.libs/
total 1288
drwxr-xr-x 2 root root 4096 Apr 9 07:54 .
drwxrwxr-x 8 1000 1000 4096 Apr 9 07:54 ..
-rw-r--r-- 1 root root 108400 Apr 9 07:54 aacs.o
-rwxr-xr-x 1 root root 16902 Apr 9 07:54 aacs_info
-rw-r--r-- 1 root root 81460 Apr 9 07:54 crypto.o
-rw-r--r-- 1 root root 10092 Apr 9 07:54 dirs_xdg.o
-rw-r--r-- 1 root root 10332 Apr 9 07:54 file_posix.o
-rw-r--r-- 1 root root 51776 Apr 9 07:54 keydbcfg-lexer.o
-rw-r--r-- 1 root root 34512 Apr 9 07:54 keydbcfg-parser.o
-rw-r--r-- 1 root root 47044 Apr 9 07:54 keydbcfg.o
-rw-r--r-- 1 root root 463732 Apr 9 07:54 libaacs.a
lrwxrwxrwx 1 root root 13 Apr 9 07:54 libaacs.la -> ../libaacs.la
-rw-r--r-- 1 root root 1023 Apr 9 07:54 libaacs.lai
lrwxrwxrwx 1 root root 16 Apr 9 07:54 libaacs.so -> libaacs.so.0.4.0
lrwxrwxrwx 1 root root 16 Apr 9 07:54 libaacs.so.0 -> libaacs.so.0.4.0
-rwxr-xr-x 1 root root 333751 Apr 9 07:54 libaacs.so.0.4.0
-rw-r--r-- 1 root root 8436 Apr 9 07:54 logging.o
-rw-r--r-- 1 root root 24632 Apr 9 07:54 mkb.o
-rw-r--r-- 1 root root 60872 Apr 9 07:54 mmc.o
-rw-r--r-- 1 root root 5396 Apr 9 07:54 path.o
-rw-r--r-- 1 root root 14124 Apr 9 07:54 strutl.o
root@nb0015:~/src/libaacs-0.7.0# file src/.libs/libaacs.so.0.4.0
src/.libs/libaacs.so.0.4.0: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, BuildID[sha1]=0x276daf6a24cb5d9c8ebe7b1acb676e89e3bc38fd, not stripped
root@nb0015:~/src/libaacs-0.7.0#
root@nb0015:~/src/libaacs-0.7.0# env|grep gcc
CC=arm-linux-gnueabihf-gcc
PATH=/usr/cross/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:/usr/lib64/mpi/gcc/openmpi/bin:/home/steki/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games
MANPATH=/usr/lib64/mpi/gcc/openmpi/share/man:/usr/local/man:/usr/share/man
root@nb0015:~/src/libaacs-0.7.0#
and bellow is output from ./configure
task
root@nb0015:~/src/libaacs-0.7.0# ./bootstrap
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
root@nb0015:~/src/libaacs-0.7.0# ./configure --libdir=/usr/local/lib --with-gnu-ld
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking target system type... armv6l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... arm-linux-gnueabihf-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gnueabihf-gcc accepts -g... yes
checking for arm-linux-gnueabihf-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-linux-gnueabihf-gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-linux-gnueabihf-gcc... /tools-master/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/bin/ld
checking if the linker (/tools-master/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/cross/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/nm -B
checking the name lister (/usr/cross/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv6l-unknown-linux-gnueabihf file names to armv6l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv6l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /tools-master/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/cross/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/nm -B output from arm-linux-gnueabihf-gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... arm-linux-gnueabihf-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-linux-gnueabihf-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-linux-gnueabihf-gcc option to produce PIC... -fPIC -DPIC
checking if arm-linux-gnueabihf-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-linux-gnueabihf-gcc static flag -static works... yes
checking if arm-linux-gnueabihf-gcc supports -c -o file.o... yes
checking if arm-linux-gnueabihf-gcc supports -c -o file.o... (cached) yes
checking whether the arm-linux-gnueabihf-gcc linker (/tools-master/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking return type of signal handlers... void
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for sys/types.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking for inttypes.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for struct dirent.d_type... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for snprintf... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for library containing pthread_create... -lpthread
checking for libgcrypt-config... /usr/bin/libgcrypt-config
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for gpg-error-config... /usr/bin/gpg-error-config
checking if arm-linux-gnueabihf-gcc supports -Wall flag... yes
checking if arm-linux-gnueabihf-gcc supports -Wdisabled-optimization flag... yes
checking if arm-linux-gnueabihf-gcc supports -Wpointer-arith flag... yes
checking if arm-linux-gnueabihf-gcc supports -Wredundant-decls flag... yes
checking if arm-linux-gnueabihf-gcc supports -Wcast-qual flag... yes
checking if arm-linux-gnueabihf-gcc supports -Wwrite-strings flag... yes
checking if arm-linux-gnueabihf-gcc supports -Wtype-limits flag... yes
checking if arm-linux-gnueabihf-gcc supports -Wundef flag... yes
checking if arm-linux-gnueabihf-gcc supports -Wmissing-prototypes flag... yes
checking if arm-linux-gnueabihf-gcc supports -Wshadow flag... yes
checking if arm-linux-gnueabihf-gcc supports -Werror=implicit-function-declaration flag... yes
checking for arm-linux-gnueabihf-gcc way to treat warnings as errors... -Werror
checking if arm-linux-gnueabihf-gcc supports -Wextra flag... yes
checking if arm-linux-gnueabihf-gcc supports -Winline flag... yes
checking if arm-linux-gnueabihf-gcc supports -O3 flag... yes
checking if arm-linux-gnueabihf-gcc supports -fomit-frame-pointer flag... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/libaacs.pc
config.status: creating src/libaacs/aacs-version.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
root@nb0015:~/src/libaacs-0.7.0#
can you show the output of your make
?
root@nb0015:~/src/libaacs-0.7.0# make
make all-recursive
make[1]: Entering directory `/root/src/libaacs-0.7.0'
Making all in src
make[2]: Entering directory `/root/src/libaacs-0.7.0/src'
\
test -f keydbcfg-parser.c || \
/bin/sh ../build-aux/ylwrap `test -f 'file/keydbcfg-parser.y' || echo './'`file/keydbcfg-parser.y y.tab.c keydbcfg-parser.c y.tab.h keydbcfg-parser.h y.output keydbcfg-parser.output -- bison -y -d -p libaacs_yy
updating keydbcfg-parser.h
\
test -f keydbcfg-lexer.c || \
/bin/sh ../build-aux/ylwrap `test -f 'file/keydbcfg-lexer.l' || echo './'`file/keydbcfg-lexer.l lex.yy.c keydbcfg-lexer.c -- flex
make all-am
make[3]: Entering directory `/root/src/libaacs-0.7.0/src'
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT aacs.lo -MD -MP -MF .deps/aacs.Tpo -c -o aacs.lo `test -f 'libaacs/aacs.c' || echo './'`libaacs/aacs.c
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT aacs.lo -MD -MP -MF .deps/aacs.Tpo -c libaacs/aacs.c -fPIC -DPIC -o .libs/aacs.o
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT aacs.lo -MD -MP -MF .deps/aacs.Tpo -c libaacs/aacs.c -o aacs.o >/dev/null 2>&1
mv -f .deps/aacs.Tpo .deps/aacs.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT mmc.lo -MD -MP -MF .deps/mmc.Tpo -c -o mmc.lo `test -f 'libaacs/mmc.c' || echo './'`libaacs/mmc.c
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT mmc.lo -MD -MP -MF .deps/mmc.Tpo -c libaacs/mmc.c -fPIC -DPIC -o .libs/mmc.o
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT mmc.lo -MD -MP -MF .deps/mmc.Tpo -c libaacs/mmc.c -o mmc.o >/dev/null 2>&1
mv -f .deps/mmc.Tpo .deps/mmc.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT crypto.lo -MD -MP -MF .deps/crypto.Tpo -c -o crypto.lo `test -f 'libaacs/crypto.c' || echo './'`libaacs/crypto.c
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT crypto.lo -MD -MP -MF .deps/crypto.Tpo -c libaacs/crypto.c -fPIC -DPIC -o .libs/crypto.o
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT crypto.lo -MD -MP -MF .deps/crypto.Tpo -c libaacs/crypto.c -o crypto.o >/dev/null 2>&1
mv -f .deps/crypto.Tpo .deps/crypto.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT mkb.lo -MD -MP -MF .deps/mkb.Tpo -c -o mkb.lo `test -f 'libaacs/mkb.c' || echo './'`libaacs/mkb.c
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT mkb.lo -MD -MP -MF .deps/mkb.Tpo -c libaacs/mkb.c -fPIC -DPIC -o .libs/mkb.o
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT mkb.lo -MD -MP -MF .deps/mkb.Tpo -c libaacs/mkb.c -o mkb.o >/dev/null 2>&1
mv -f .deps/mkb.Tpo .deps/mkb.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT file_posix.lo -MD -MP -MF .deps/file_posix.Tpo -c -o file_posix.lo `test -f 'file/file_posix.c' || echo './'`file/file_posix.c
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT file_posix.lo -MD -MP -MF .deps/file_posix.Tpo -c file/file_posix.c -fPIC -DPIC -o .libs/file_posix.o
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT file_posix.lo -MD -MP -MF .deps/file_posix.Tpo -c file/file_posix.c -o file_posix.o >/dev/null 2>&1
mv -f .deps/file_posix.Tpo .deps/file_posix.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT keydbcfg.lo -MD -MP -MF .deps/keydbcfg.Tpo -c -o keydbcfg.lo `test -f 'file/keydbcfg.c' || echo './'`file/keydbcfg.c
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT keydbcfg.lo -MD -MP -MF .deps/keydbcfg.Tpo -c file/keydbcfg.c -fPIC -DPIC -o .libs/keydbcfg.o
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT keydbcfg.lo -MD -MP -MF .deps/keydbcfg.Tpo -c file/keydbcfg.c -o keydbcfg.o >/dev/null 2>&1
mv -f .deps/keydbcfg.Tpo .deps/keydbcfg.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT keydbcfg-parser.lo -MD -MP -MF .deps/keydbcfg-parser.Tpo -c -o keydbcfg-parser.lo keydbcfg-parser.c
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT keydbcfg-parser.lo -MD -MP -MF .deps/keydbcfg-parser.Tpo -c keydbcfg-parser.c -fPIC -DPIC -o .libs/keydbcfg-parser.o
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT keydbcfg-parser.lo -MD -MP -MF .deps/keydbcfg-parser.Tpo -c keydbcfg-parser.c -o keydbcfg-parser.o >/dev/null 2>&1
mv -f .deps/keydbcfg-parser.Tpo .deps/keydbcfg-parser.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT keydbcfg-lexer.lo -MD -MP -MF .deps/keydbcfg-lexer.Tpo -c -o keydbcfg-lexer.lo keydbcfg-lexer.c
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT keydbcfg-lexer.lo -MD -MP -MF .deps/keydbcfg-lexer.Tpo -c keydbcfg-lexer.c -fPIC -DPIC -o .libs/keydbcfg-lexer.o
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT keydbcfg-lexer.lo -MD -MP -MF .deps/keydbcfg-lexer.Tpo -c keydbcfg-lexer.c -o keydbcfg-lexer.o >/dev/null 2>&1
mv -f .deps/keydbcfg-lexer.Tpo .deps/keydbcfg-lexer.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c -o logging.lo `test -f 'util/logging.c' || echo './'`util/logging.c
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c util/logging.c -fPIC -DPIC -o .libs/logging.o
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c util/logging.c -o logging.o >/dev/null 2>&1
mv -f .deps/logging.Tpo .deps/logging.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT strutl.lo -MD -MP -MF .deps/strutl.Tpo -c -o strutl.lo `test -f 'util/strutl.c' || echo './'`util/strutl.c
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT strutl.lo -MD -MP -MF .deps/strutl.Tpo -c util/strutl.c -fPIC -DPIC -o .libs/strutl.o
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT strutl.lo -MD -MP -MF .deps/strutl.Tpo -c util/strutl.c -o strutl.o >/dev/null 2>&1
mv -f .deps/strutl.Tpo .deps/strutl.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT dirs_xdg.lo -MD -MP -MF .deps/dirs_xdg.Tpo -c -o dirs_xdg.lo `test -f 'file/dirs_xdg.c' || echo './'`file/dirs_xdg.c
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT dirs_xdg.lo -MD -MP -MF .deps/dirs_xdg.Tpo -c file/dirs_xdg.c -fPIC -DPIC -o .libs/dirs_xdg.o
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT dirs_xdg.lo -MD -MP -MF .deps/dirs_xdg.Tpo -c file/dirs_xdg.c -o dirs_xdg.o >/dev/null 2>&1
mv -f .deps/dirs_xdg.Tpo .deps/dirs_xdg.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT path.lo -MD -MP -MF .deps/path.Tpo -c -o path.lo `test -f 'file/path.c' || echo './'`file/path.c
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT path.lo -MD -MP -MF .deps/path.Tpo -c file/path.c -fPIC -DPIC -o .libs/path.o
libtool: compile: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT path.lo -MD -MP -MF .deps/path.Tpo -c file/path.c -o path.o >/dev/null 2>&1
mv -f .deps/path.Tpo .deps/path.Plo
/bin/sh ../libtool --tag=CC --mode=link arm-linux-gnueabihf-gcc -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -no-undefined -version-info 4:0:4 -o libaacs.la -rpath /usr/local/lib aacs.lo mmc.lo crypto.lo mkb.lo file_posix.lo keydbcfg.lo keydbcfg-parser.lo keydbcfg-lexer.lo logging.lo strutl.lo dirs_xdg.lo path.lo -L/lib/arm-linux-gnueabihf -lgcrypt -L/usr/lib/arm-linux-gnueabihf -lgpg-error -lpthread
libtool: link: arm-linux-gnueabihf-gcc -shared -fPIC -DPIC .libs/aacs.o .libs/mmc.o .libs/crypto.o .libs/mkb.o .libs/file_posix.o .libs/keydbcfg.o .libs/keydbcfg-parser.o .libs/keydbcfg-lexer.o .libs/logging.o .libs/strutl.o .libs/dirs_xdg.o .libs/path.o -L/lib/arm-linux-gnueabihf -lgcrypt -L/usr/lib/arm-linux-gnueabihf -lgpg-error -lpthread -O2 -O3 -Wl,-soname -Wl,libaacs.so.0 -o .libs/libaacs.so.0.4.0
libtool: link: (cd ".libs" && rm -f "libaacs.so.0" && ln -s "libaacs.so.0.4.0" "libaacs.so.0")
libtool: link: (cd ".libs" && rm -f "libaacs.so" && ln -s "libaacs.so.0.4.0" "libaacs.so")
libtool: link: ar cru .libs/libaacs.a aacs.o mmc.o crypto.o mkb.o file_posix.o keydbcfg.o keydbcfg-parser.o keydbcfg-lexer.o logging.o strutl.o dirs_xdg.o path.o
libtool: link: ranlib .libs/libaacs.a
libtool: link: ( cd ".libs" && rm -f "libaacs.la" && ln -s "../libaacs.la" "libaacs.la" )
arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT aacs_info-aacs_info.o -MD -MP -MF .deps/aacs_info-aacs_info.Tpo -c -o aacs_info-aacs_info.o `test -f 'examples/aacs_info.c' || echo './'`examples/aacs_info.c
mv -f .deps/aacs_info-aacs_info.Tpo .deps/aacs_info-aacs_info.Po
/bin/sh ../libtool --tag=CC --mode=link arm-linux-gnueabihf-gcc -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -o aacs_info aacs_info-aacs_info.o libaacs.la -lpthread
libtool: link: arm-linux-gnueabihf-gcc -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -o .libs/aacs_info aacs_info-aacs_info.o ./.libs/libaacs.so -lpthread
arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT parser_test-parser_test.o -MD -MP -MF .deps/parser_test-parser_test.Tpo -c -o parser_test-parser_test.o `test -f 'examples/parser_test.c' || echo './'`examples/parser_test.c
mv -f .deps/parser_test-parser_test.Tpo .deps/parser_test-parser_test.Po
arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT parser_test-keydbcfg-parser.o -MD -MP -MF .deps/parser_test-keydbcfg-parser.Tpo -c -o parser_test-keydbcfg-parser.o `test -f 'keydbcfg-parser.c' || echo './'`keydbcfg-parser.c
mv -f .deps/parser_test-keydbcfg-parser.Tpo .deps/parser_test-keydbcfg-parser.Po
arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT parser_test-keydbcfg-lexer.o -MD -MP -MF .deps/parser_test-keydbcfg-lexer.Tpo -c -o parser_test-keydbcfg-lexer.o `test -f 'keydbcfg-lexer.c' || echo './'`keydbcfg-lexer.c
mv -f .deps/parser_test-keydbcfg-lexer.Tpo .deps/parser_test-keydbcfg-lexer.Po
arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT parser_test-strutl.o -MD -MP -MF .deps/parser_test-strutl.Tpo -c -o parser_test-strutl.o `test -f 'util/strutl.c' || echo './'`util/strutl.c
mv -f .deps/parser_test-strutl.Tpo .deps/parser_test-strutl.Po
arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT parser_test-logging.o -MD -MP -MF .deps/parser_test-logging.Tpo -c -o parser_test-logging.o `test -f 'util/logging.c' || echo './'`util/logging.c
mv -f .deps/parser_test-logging.Tpo .deps/parser_test-logging.Po
/bin/sh ../libtool --tag=CC --mode=link arm-linux-gnueabihf-gcc -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -o parser_test parser_test-parser_test.o parser_test-keydbcfg-parser.o parser_test-keydbcfg-lexer.o parser_test-strutl.o parser_test-logging.o -lpthread
libtool: link: arm-linux-gnueabihf-gcc -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -o parser_test parser_test-parser_test.o parser_test-keydbcfg-parser.o parser_test-keydbcfg-lexer.o parser_test-strutl.o parser_test-logging.o -lpthread
make[3]: Leaving directory `/root/src/libaacs-0.7.0/src'
make[2]: Leaving directory `/root/src/libaacs-0.7.0/src'
make[2]: Entering directory `/root/src/libaacs-0.7.0'
make[2]: Leaving directory `/root/src/libaacs-0.7.0'
make[1]: Leaving directory `/root/src/libaacs-0.7.0'
root@nb0015:~/src/libaacs-0.7.0#
ok, reverting to the original
/bin/sh <- /bin/bash-x86_64
so
sh --version
GNU bash, version 4.2.45(1)-release (x86_64-suse-linux-gnu)
then exec of
make distclean
rather than just
make clean
seems to fix the issue
ls -al /usr/local/lib/libaacs.so.0.4.0
-rwxr-xr-x 1 root staff 328559 Apr 9 06:08 /usr/local/lib/libaacs.so.0.4.0
file /usr/local/lib/libaacs.so.0.4.0
/usr/local/lib/libaacs.so.0.4.0: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, BuildID[sha1]=0x02ed881c82379e8f347d3311fd10206583afc12a, not stripped
thanks!
reason for those links to x86_64 (or i686) are convenience and speed related hacks,
I'm not clear on this. Why would you ever need/want x86_64 bins inside the chroot?
Speed and cost of creating arm process in chroot is very high, it maybe looks small in numbers bellow, but just run plain old ./configure script and you will see very big difference.
nb0015:/opt # time chroot db_raspbian/ bash-x86_64 -c "for i in 0 1 2 3 4 5 6 7 8 9 ;do true-x86_64;done"
real 0m0.013s
user 0m0.003s
sys 0m0.002s
nb0015:/opt # time chroot db_raspbian/ bash-armv6l -c "for i in 0 1 2 3 4 5 6 7 8 9 ;do true-armv6l;done"
real 0m0.308s
user 0m0.274s
sys 0m0.032s
nb0015:/opt #
Hope that explains it :)
on the way to building XBMC inside the chroot,
fails
note the "./configure ..." line. It's for my Opensuse DESKTOP env -- NOT the chroot'd arm env.
checking
and here's the problem
looking more closely,
why are there x86_64 bins in the arm chroot?
changing
then retrying
now works
not clear why ANY of those x86_64 bins are there/linked, but the base bins should be correctly relinked to their arm counterparts, no?