[EMAIL PROTECTED] wrote on 03/17/06 01:22 AM:
> Hello,
> I have some trouble when install the pcsc-lite-1.3.0. Here is
> the error message I get when configure and make :
>
> //// part of the message during configure
> :
> :
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for LIBUSB... Package libusb was not found in the pkg-config
> search path.
> Perhaps you should add the directory containing `libusb.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libusb' found
> 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_get_string_simple... yes
> enable libusb support : yes
> enable USB drop directory : /usr/local/pcsc/drivers
> enable ATR parsing messages : false
> :
> :
> /////////////
>
> /////the message during configure
>
> make all-recursive
> make[1]: Entering directory `/ccid/pcsc-lite-1.3.0'
> Making all in m4
> make[2]: Entering directory `/ccid/pcsc-lite-1.3.0/m4'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/ccid/pcsc-lite-1.3.0/m4'
> Making all in win32
> make[2]: Entering directory `/ccid/pcsc-lite-1.3.0/win32'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/ccid/pcsc-lite-1.3.0/win32'
> Making all in src
> make[2]: Entering directory `/ccid/pcsc-lite-1.3.0/src'
> Making all in .
> make[3]: Entering directory `/ccid/pcsc-lite-1.3.0/src'
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I. -I..
> -I../src/PCSC -I../src/PCSC -I../src -Wall -fno-common -g -O2 -MT
> debuglog.lo
> -MD -MP -MF ".deps/debuglog.Tpo" -c -o debuglog.lo debuglog.c; \
> then mv -f ".deps/debuglog.Tpo" ".deps/debuglog.Plo"; else rm -f
> ".deps/debuglog
> .Tpo"; exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/PCSC -I../src/PCSC -I../src
> -Wall -fn
> o-common -g -O2 -MT debuglog.lo -MD -MP -MF .deps/debuglog.Tpo -c
> debuglog.c -f
> PIC -DPIC -o .libs/debuglog.o
> In file included from debuglog.c:31:
> ../src/PCSC/debuglog.h:84: visibility arg must be one of "hidden",
> "protected" or "internal"
> ../src/PCSC/debuglog.h:86: visibility arg must be one of "hidden",
> "protected" or "internal"
> ../src/PCSC/debuglog.h:92: visibility arg must be one of "hidden",
> "protected" or "internal"
> ../src/PCSC/debuglog.h:94: visibility arg must be one of "hidden",
> "protected" or "internal"
> make[3]: *** [debuglog.lo] Error 1
> make[3]: Leaving directory `/ccid/pcsc-lite-1.3.0/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/ccid/pcsc-lite-1.3.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/ccid/pcsc-lite-1.3.0'
> make: *** [all] Error 2
> /////////
>
> ./configure --disable-libusb or ./configure --enable-libusb have same
> result!
I don't think it has anything to do with libusb. What version of gcc
are you using? I suppose you could try editing src/misc.h and changing
#define PCSC_API __attribute__ ((visibility("default")))
to just
#define PCSC_API
but it's strange that your gcc understands the other visibility types,
but not "default"....
~Iain
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle