Hi, Dr. Ludovic
The Makefile is not really informative. What would be is a complete
log of the execution of the configure and make commands. Not just the
lines with the error.
pls see configure and make log below.
Regards
Paul
218-168-55-197:ccid-1.3.9 yangpaul$ ./MacOSX/configure
+ ./configure PKG_CONFIG=foobar
'CFLAGS= -DRESPONSECODE_DEFINED_IN_WINTYPES_H -isysroot
/Developer/SDKs/MacOSX10.5.sdk -arch ppc'
PCSC_CFLAGS=-I/Users/yangpaul/sw/ccid-1.3.9/MacOSX 'PCSC_LIBS=-framework
PCSC' LIBUSB_CFLAGS=-I/Library/OpenSC/include
'LIBUSB_LIBS=/Library/OpenSC/lib/libusb.a -Wl,-framework -Wl,IOKit -Wl,-framework
-Wl,CoreFoundation' 'LDFLAGS=-arch
ppc' --enable-usbdropdir=/usr/libexec/SmartCardServices/drivers --disable-dependency-tracking
--disable-pcsclite
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... powerpc-apple-darwin9.6.0
checking host system type... powerpc-apple-darwin9.6.0
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking pkg-config is at least version 0.9.0... ./configure: line 4477:
foobar: command not found
no
checking for PCSC... configure: WARNING: install pcsc-lite 1.3.3 or later
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 ifdhandler.h usability... yes
checking ifdhandler.h presence... yes
checking for ifdhandler.h... yes
checking whether IFD_NO_SUCH_DEVICE is declared... yes
checking whether TAG_IFD_POLLING_THREAD is declared... yes
checking reader.h usability... yes
checking reader.h presence... yes
checking for reader.h... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc...
/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) is
GNU ld... no
checking for /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld option to
reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker
(/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin9.6.0 dyld
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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++...
/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) is
GNU ld... no
checking whether the g++ linker
(/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker
(/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin9.6.0 dyld
(cached) (cached) checking how to hardcode library paths into programs...
immediate
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for string.h... (cached) yes
checking for errno.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for select... yes
checking for strerror... yes
checking for strncpy... yes
checking for memcpy... yes
checking for strlcpy... yes
checking for LIBUSB... no
checking for libusb-config... yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking for usb_init... yes
checking for usb_interrupt_read... yes
checking for usb_detach_kernel_driver_np... no
checking if libusb is emulated by libusb-compat... no
checking for -fvisibility=hidden... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
libccid has been configured with following options:
Version: 1.3.9
User binaries: NONE/bin
Configuration files: NONE/etc
Host: powerpc-apple-darwin9.6.0
Compiler: gcc
Preprocessor flags:
Compiler flags: -DRESPONSECODE_DEFINED_IN_WINTYPES_H -isysroot
/Developer/SDKs/MacOSX10.5.sdk -arch ppc
Preprocessor flags:
Linker flags: -arch ppc
Libraries:
PTHREAD_CFLAGS: -D_THREAD_SAFE
PTHREAD_LIBS:
BUNDLE_HOST: MacOS
DYN_LIB_EXT: dylib
LIBUSB_CFLAGS: -I/Library/OpenSC/include -I/usr/local/include
LIBUSB_LIBS:
/Library/OpenSC/lib/libusb.a -Wl,-framework -Wl,IOKit -Wl,-framework
-Wl,CoreFoundation -L/usr/local/lib -lusb -framework IOKit
SYMBOL_VISIBILITY: -fvisibility=hidden
libusb support: yes
use USB interrupt: no
multi threading: yes
bundle directory name: ifd-ccid.bundle
USB drop directory: /usr/libexec/SmartCardServices/drivers
serial Twin support: no
serial twin install dir: libpcsclite --variable=usbdropdir/serial
compiled for pcsc-lite: no
udev support: no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating readers/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/Kobil_mIDentity_switch/Makefile
config.status: creating contrib/RSA_SecurID/Makefile
config.status: creating examples/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
+ rm -f src/Info.plist
218-168-55-197:ccid-1.3.9 yangpaul$ make
make all-recursive
Making all in m4
make[2]: Nothing to be done for `all'.
Making all in readers
make[2]: Nothing to be done for `all'.
Making all in examples
make[2]: Nothing to be done for `all'.
Making all in contrib
Making all in Kobil_mIDentity_switch
/bin/sh ../../libtool --tag=CC --mode=link
gcc -I/Library/OpenSC/include -I/usr/local/include -DRESPONSECODE_DEFINED_IN_WINTYPES_H
-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch ppc -o
Kobil_mIDentity_switch Kobil_mIDentity_switch-Kobil_mIDentity_switch.o
/Library/OpenSC/lib/libusb.a -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation
-L/usr/local/lib -lusb -framework IOKit
libtool: link: cannot find the library `' or unhandled argument `IOKit'
make[3]: *** [Kobil_mIDentity_switch] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
218-168-55-197:ccid-1.3.9 yangpaul$
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle