opensc.mk
hat jemand ne Idee ?
Code:
$(call PKG_INIT_BIN, 0.12.2)
$(PKG)_SOURCE:=opensc-$($(PKG)_VERSION).tar.gz
$(PKG)_SITE:=http://www.opensc-project.org/files/opensc/
$(PKG)_SOURCE_MD5:=5116adea5f2f9f22fb9896965789144b
$(PKG)_BINARY:=$($(PKG)_DIR)/src
$(PKG)_TARGET_BINARY:=$($(PKG)_DEST_DIR)/usr/bin/opensc
$(PKG)_CONFIGURE_PRE_CMDS += $(call PKG_PREVENT_RPATH_HARDCODING,./configure)
$(PKG_SOURCE_DOWNLOAD)
$(PKG_UNPACKED)
$(PKG_CONFIGURED_CONFIGURE)
$($(PKG)_BINARY): $($(PKG)_DIR)/.configured
$(SUBMAKE) -C $(OPENSC_DIR) \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)"
$($(PKG)_TARGET_BINARY): $($(PKG)_BINARY)
$(INSTALL_BINARY_STRIP)
$(pkg):
$(pkg)-precompiled: $($(PKG)_TARGET_BINARY)
$(pkg)-clean:
-$(SUBMAKE) -C $(OPENSC_DIR) clean
$(RM) $(OPENSC_DIR)/.configured
$(pkg)-uninstall:
$(RM) $(OPENSC_TARGET_BINARY)
$(PKG_FINISH)
Code:
cmd() { PATH="/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin:/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3/mipsel-unknown-linux-gnu/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" LD_RUN_PATH="/usr/lib/freetz" make -j2 "$@" || { printf "\n\\033[33m%s\\033[m\n" "ERROR: Build failed."; exit 1; } }; if [ -e source/.echo_item_start -a ! -e source/.echo_item_build ]; then echo -n "building... "; touch source/.echo_item_build; fi; cmd -C source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2 \
CC="/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc" \
CFLAGS="-march=4kc -Os -pipe -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
make[1]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2'
make all-recursive
make[2]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2'
Making all in etc
make[3]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/etc'
sed \
-e 's|@pkgdatadir[@]|/usr/share/opensc|g' \
-e 's|@DEFAULT_PCSC_PROVIDER[@]|libpcsclite.so.1|g' \
< opensc.conf.in > opensc.conf
make[3]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/etc'
Making all in src
make[3]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src'
Making all in common
make[4]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/common'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/common'
Making all in scconf
make[4]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/scconf'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/scconf'
Making all in pkcs15init
make[4]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/pkcs15init'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/pkcs15init'
Making all in libopensc
make[4]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/libopensc'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/libopensc'
Making all in pkcs11
make[4]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/pkcs11'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/pkcs11'
Making all in tools
make[4]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/tools'
CCLD opensc-tool
CCLD opensc-explorer
make[4]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/tools'
make[3]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src'
make[2]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2'
make[1]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2'
[33mERROR: Build failed.[m
mkdir -p packages/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/root
if test -d make/opensc/files; then tar -c -C make/opensc/files --exclude=.svn . | tar -x -C packages/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2 ; fi
---> package/opensc: preparing... tools/gunzip -c dl/opensc-0.12.2.tar.gz | tar -C source/target-mipsel_uClibc-0.9.32.1 -x
set -e; shopt -s nullglob; for i in make/opensc/patches/*.patch; do tools/freetz_patch source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2 $i; done
configuring... (conf_cmd() { ./configure "$@" || { printf "\n\\033[33m%s\\033[m\n" "ERROR: Build failed."; exit 1; } }; cd source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2; rm -f config.{cache,status} ; cp -a ./configure ./configure.before_rpath_fix; sed -i -r -e "s|(runpath_var=)[$]runpath_var|\1|g" -e "s|(hardcode_into_libs=).+$|\1no|g" -e '/hardcode_libdir_flag_spec[_A-Za-z0-9]*=/s/[$][{]wl[}]-?-rpath(,| [$][{]wl[}])[$]libdir/-D__SOMETHING_NON_EMPTY_TO_FOOL_LIBTOOL__/g' -e 's/(hardcode_libdir_flag_spec(_ld)?=)[$]lt_([[][]]_LT_AC_TAGVAR[(])?hardcode_libdir_flag_spec[_A-Za-z0-9]*(, *[$]1[)])?/\1/g' ./configure; PATH=""/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin:/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3/mipsel-unknown-linux-gnu/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"" CC="/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc" CXX="/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-g++-wrapper" CFLAGS="-march=4kc -Os -pipe -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CXXFLAGS="-march=4kc -Os -pipe -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS="" PKG_CONFIG_PATH="/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/../lib/pkgconfig" PKG_CONFIG_LIBDIR="/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/../lib/pkgconfig" GLOBAL_LIBDIR=/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/usr/lib FREETZ_TARGET_LFS="y" CONFIG_SITE=/home/zebra/freetz-devel/include/site/mipsel-linux-uclibc conf_cmd --cache-file=/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/config.cache --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --datadir=/usr/share --includedir=/usr/include --infodir=/usr/share/info --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --sbindir=/usr/sbin --sysconfdir=/etc --with-gnu-ld --disable-nls )
configure: loading site script /home/zebra/freetz-devel/include/site/mipsel-linux-uclibc
configure: loading cache /home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/config.cache
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for mipsel-linux-strip... (cached) mipsel-linux-strip
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking build system type... (cached) i386-pc-linux-gnu
checking host system type... (cached) mipsel-unknown-linux-gnu
checking for mipsel-linux-gcc... (cached) /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-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... yes
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc accepts -g... (cached) yes
checking for /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc option to accept ISO C89... (cached) none needed
checking for style of include used by make... GNU
checking dependency style of /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc... (cached) gcc3
checking for mipsel-linux-pkg-config... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking how to run the C preprocessor... (cached) /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking how to run the C preprocessor... /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc -E
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... (cached) /bin/grep -F
checking for ld used by /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc... (cached) /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/mipsel-linux-uclibc/bin/ld
checking if the linker (/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/mipsel-linux-uclibc/bin/ld) is GNU ld... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... (cached) /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-nm -B
checking the name lister (/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-nm -B) interface... (cached) BSD nm
checking the maximum length of command line arguments... (cached) 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/mipsel-linux-uclibc/bin/ld option to reload object files... (cached) -r
checking for mipsel-linux-objdump... (cached) mipsel-linux-objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for mipsel-linux-ar... (cached) mipsel-linux-ar
checking for mipsel-linux-strip... (cached) mipsel-linux-strip
checking for mipsel-linux-ranlib... (cached) mipsel-linux-ranlib
checking command to parse /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-nm -B output from /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc object... (cached) ok
checking for dlfcn.h... (cached) yes
checking for objdir... (cached) .libs
checking if /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc PIC flag -fPIC -DPIC works... (cached) yes
checking if /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc static flag -static works... (cached) yes
checking if /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking if /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc linker (/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/mipsel-linux-uclibc/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 mipsel-linux-windres... no
checking for windres... no
checking for xsltproc... no
checking for git... (cached) git
checking xsl-stylesheets... /usr/share/xml/docbook/stylesheet/nwalsh
checking for inline... (cached) inline
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether to enable assertions... yes
checking for errno.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for malloc.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getopt.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for error_at_line... (cached) yes
checking whether lstat correctly handles trailing slash... (cached) no
checking whether stat accepts an empty string... (cached) yes
checking for vprintf... (cached) yes
checking for _doprnt... (cached) no
checking for getpass... (cached) yes
checking for gettimeofday... (cached) yes
checking for memset... (cached) yes
checking for mkdir... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for getopt_long... (cached) yes
checking for getopt_long_only... (cached) yes
checking for strlcpy... (cached) yes
checking for strlcat... (cached) yes
checking size of void *... (cached) 4
checking for socket in -lsocket... (cached) no
checking for lt_dlopen in -lltdl... (cached) no
checking for ltdl.h... (cached) no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for inflate in -lz... (cached) no
checking for zlib.h... (cached) no
checking for readline in -lreadline... no
checking for readline in -lreadline... no
checking for readline in -lreadline... no
checking for readline/readline.h... (cached) no
checking for OPENSSL... no
checking for OPENSSL... no
checking for RSA_version in -lcrypto... (cached) no
checking for PCSC... yes
checking for winscard.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating etc/Makefile
config.status: creating src/Makefile
config.status: creating src/common/Makefile
config.status: creating src/libopensc/Makefile
config.status: creating src/libopensc/libopensc.pc
config.status: creating src/pkcs11/Makefile
config.status: creating src/pkcs15init/Makefile
config.status: creating src/scconf/Makefile
config.status: creating src/tests/Makefile
config.status: creating src/tests/regression/Makefile
config.status: creating src/tools/Makefile
config.status: creating src/minidriver/Makefile
config.status: creating src/minidriver/opensc-minidriver.inf
config.status: creating win32/Makefile
config.status: creating win32/versioninfo.rc
config.status: creating win32/winconfig.h
config.status: creating win32/OpenSC.iss
config.status: creating win32/OpenSC.wxs
config.status: creating MacOSX/Makefile
config.status: creating MacOSX/build-package
config.status: creating MacOSX/10.5/resources/ReadMe.html
config.status: creating MacOSX/10.6/resources/ReadMe.html
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
OpenSC has been configured with the following options:
Version: 0.12.2
User binaries: /usr/bin
Configuration files: /etc
XSL stylesheets: /usr/share/xml/docbook/stylesheet/nwalsh
man support: no
doc support: no
zlib support: no
readline support: no
OpenSSL support: no
PC/SC support: yes
OpenCT support: no
CT-API support: no
minidriver support: no
PC/SC default provider: libpcsclite.so.1
Host: mipsel-unknown-linux-gnu
Compiler: /home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc
Preprocessor flags:
Compiler flags: -fno-strict-aliasing -march=4kc -Os -pipe -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
Linker flags:
Libraries:
LTLIB_CFLAGS:
LTLIB_LIBS:
READLINE_CFLAGS:
READLINE_LIBS:
ZLIB_CFLAGS:
ZLIB_LIBS:
OPENSSL_CFLAGS:
OPENSSL_LIBS:
OPENCT_CFLAGS:
OPENCT_LIBS:
PCSC_CFLAGS: -pthread -I/usr/include/PCSC
cmd() { PATH="/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin:/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3/mipsel-unknown-linux-gnu/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" LD_RUN_PATH="/usr/lib/freetz" make -j2 "$@" || { printf "\n\\033[33m%s\\033[m\n" "ERROR: Build failed."; exit 1; } }; if [ -e source/.echo_item_start -a ! -e source/.echo_item_build ]; then echo -n "building... "; touch source/.echo_item_build; fi; cmd -C source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2 \
CC="/home/zebra/freetz-devel/toolchain/build/mipsel_gcc-4.6.3_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc" \
CFLAGS="-march=4kc -Os -pipe -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
building... make[1]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2'
make all-recursive
make[2]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2'
Making all in etc
make[3]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/etc'
sed \
-e 's|@pkgdatadir[@]|/usr/share/opensc|g' \
-e 's|@DEFAULT_PCSC_PROVIDER[@]|libpcsclite.so.1|g' \
< opensc.conf.in > opensc.conf
make[3]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/etc'
Making all in src
make[3]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src'
Making all in common
make[4]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/common'
CC compat_dummy.lo
CC compat_strlcat.lo
CC compat_strlcpy.lo
CC compat_getpass.lo
CC compat_getopt.lo
CC simclist.lo
CC libscdl.lo
CC libpkcs11.lo
CCLD libscdl.la
CC compat_getopt_main.o
CCLD libpkcs11.la
CCLD libcompat.la
CCLD compat_getopt_main
make[4]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/common'
Making all in scconf
make[4]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/scconf'
CC parse.lo
CC scconf.lo
CC write.lo
CC sclex.lo
CC test-conf.o
CCLD libscconf.la
CCLD test-conf
make[4]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/scconf'
Making all in pkcs15init
make[4]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/pkcs15init'
CC pkcs15-lib.lo
CC profile.lo
CC pkcs15-westcos.lo
CC pkcs15-gpk.lo
CC pkcs15-miocos.lo
CC pkcs15-cflex.lo
CC pkcs15-cardos.lo
CC pkcs15-jcop.lo
CC pkcs15-starcos.lo
CC pkcs15-setcos.lo
CC pkcs15-incrypto34.lo
CC pkcs15-muscle.lo
CC pkcs15-asepcos.lo
CC pkcs15-rutoken.lo
CC pkcs15-entersafe.lo
CC pkcs15-rtecp.lo
CC pkcs15-myeid.lo
CC pkcs15-oberthur.lo
CC pkcs15-oberthur-awp.lo
CC pkcs15-authentic.lo
CC pkcs15-iasecc.lo
CCLD libpkcs15init.la
make[4]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/pkcs15init'
Making all in libopensc
make[4]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/libopensc'
CC sc.lo
CC ctx.lo
CC log.lo
CC errors.lo
CC asn1.lo
CC base64.lo
CC sec.lo
CC card.lo
CC iso7816.lo
CC dir.lo
CC ef-atr.lo
CC padding.lo
CC apdu.lo
CC pkcs15.lo
CC pkcs15-cert.lo
CC pkcs15-data.lo
CC pkcs15-pin.lo
CC pkcs15-prkey.lo
CC pkcs15-pubkey.lo
CC pkcs15-sec.lo
CC pkcs15-algo.lo
CC pkcs15-cache.lo
CC pkcs15-syn.lo
CC muscle.lo
CC muscle-filesystem.lo
CC ctbcs.lo
CC reader-ctapi.lo
CC reader-pcsc.lo
CC reader-openct.lo
CC card-setcos.lo
CC card-miocos.lo
CC card-flex.lo
CC card-gpk.lo
CC card-cardos.lo
CC card-tcos.lo
CC card-default.lo
CC card-mcrd.lo
CC card-starcos.lo
CC card-openpgp.lo
CC card-jcop.lo
CC card-oberthur.lo
CC card-belpic.lo
CC card-atrust-acos.lo
CC card-entersafe.lo
CC card-incrypto34.lo
CC card-piv.lo
CC card-muscle.lo
CC card-acos5.lo
CC card-asepcos.lo
CC card-akis.lo
CC card-gemsafeV1.lo
CC card-rutoken.lo
CC card-rtecp.lo
CC card-westcos.lo
CC card-myeid.lo
CC card-ias.lo
CC card-javacard.lo
CC card-itacns.lo
CC card-authentic.lo
CC card-iasecc.lo
CC iasecc-sdo.lo
CC pkcs15-openpgp.lo
CC pkcs15-infocamere.lo
CC pkcs15-starcert.lo
CC pkcs15-tcos.lo
CC pkcs15-esteid.lo
CC pkcs15-postecert.lo
CC pkcs15-gemsafeGPK.lo
CC pkcs15-actalis.lo
CC pkcs15-atrust-acos.lo
CC pkcs15-tccardos.lo
CC pkcs15-piv.lo
CC pkcs15-esinit.lo
CC pkcs15-westcos.lo
CC pkcs15-pteid.lo
CC pkcs15-oberthur.lo
CC pkcs15-itacns.lo
CC pkcs15-gemsafeV1.lo
CC compression.lo
CC p15card-helper.lo
CCLD libopensc.la
copying selected object files to avoid basename conflicts...
make[4]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/libopensc'
Making all in pkcs11
make[4]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/pkcs11'
CC pkcs11-global.lo
CC pkcs11-session.lo
CC pkcs11-object.lo
CC misc.lo
CC slot.lo
CC mechanism.lo
CC openssl.lo
CC framework-pkcs15.lo
CC framework-pkcs15init.lo
CC debug.lo
CC pkcs11-display.lo
CC hack-disabled.lo
CC pkcs11-spy.lo
CC hack-enabled.lo
CCLD opensc-pkcs11.la
CCLD onepin-opensc-pkcs11.la
CCLD pkcs11-spy.la
make[4]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/pkcs11'
Making all in tools
make[4]: Betrete Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/tools'
CC opensc-tool.o
CC util.o
CC opensc-explorer.o
CC pkcs15-tool.o
CC pkcs15-crypt.o
CC pkcs11-tool.o
CC cardos-tool.o
CC eidenv.o
CCLD opensc-tool
make[4]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src/tools'
make[3]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src'
make[2]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2'
make[1]: Verlasse Verzeichnis '/home/zebra/freetz-devel/source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2'
../../src/libopensc/.libs/libopensc.so: undefined reference to `dlerror'
../../src/libopensc/.libs/libopensc.so: undefined reference to `dlclose'
../../src/libopensc/.libs/libopensc.so: undefined reference to `dlopen'
../../src/libopensc/.libs/libopensc.so: undefined reference to `dlsym'
collect2: ld returned 1 exit status
make[4]: *** [opensc-tool] Fehler 1
make[4]: *** Warte auf noch nicht beendete Prozesse...
make[3]: *** [all-recursive] Fehler 1
make[2]: *** [all-recursive] Fehler 1
make[1]: *** [all] Fehler 2
make: *** [source/target-mipsel_uClibc-0.9.32.1/opensc-0.12.2/src] Fehler 1
hat jemand ne Idee ?
Anhänge
Zuletzt bearbeitet: