osdir.com
mailing list archive

Subject: Re: visibility problems (Re: New pcsc-lite 1.2.9-beta10 available) - msg#00100

List: lib.muscle

Date: Prev Next Index Thread: Prev Next Index


Ludovic Rousseau wrote on 02/22/06 01:06 AM:
On 18/02/06, Iain MacDonnell <muscle@xxxxxxxxxx> wrote:
BTW, if I try to build with Sun Studio 11 instead of gcc, I get stuck
here:

/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I.. -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src
-I/usr/local/include -I/opt/ITmuscle2/include -I/usr/sfw/include -c -o
debuglog.lo debuglog.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/PCSC -I../src/PCSC
-fvisibility=hidden -I../src -I/usr/local/include
-I/opt/ITmuscle2/include -I/usr/sfw/include -c debuglog.c -KPIC -DPIC
-o .libs/debuglog.o
cc: Warning: illegal option -fvisibility=hidden
"misc.h", line 52: non-formal identifier follows "#" in #define
"misc.h", line 53: non-formal identifier follows "#" in #define
cc: acomp failed for debuglog.c
gmake[3]: *** [debuglog.lo] Error 1

I don't have access to a SUN computer. I got the solution from [1] but
adadpted it in a wrong way. You can't use a # inside a #define so it
is not possible to use
#define CONSTRUCTOR_DECLARATION(x) #pragma init (x)

This should now be solved in changeset 1878 [2]. Can you check it is OK for you?

Yes, that certainly allows the build to complete successfully with Sun
Studio 11! I haven't had a chance to actually try to use the resulting
binaries yet - will do that, and get the config.log from the gcc
problem, ASAP.

Thanks!

~Iain



[2]
http://svn.debian.org/wsvn/pcsclite?op=comp&compare%5B%5D=%2Ftrunk%2FPCSC@1877&compare%5B%5D=%2Ftrunk%2FPCSC@1878


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

looking for Fernando Llobregat, one of the authors of De La Rue driver

Hi, We have modified the De La Rue driver which is downloaded from http://www.linuxnet.com/sourcedrivers.html. The source code of the De La Rue drive is modified to work with Philips TDA 8029 serial smart card. As I have read, one of the original author is Fernando Llobregat. We need to have contact with him. Is there anyone knowing how to contact with him. My E-mail address is cwchang@xxxxxxxxxxxxxxx Thanks for your help in advance. Best regards, Ray (Chih-Wei Chang) cwchang.vcf Description: Vcard _______________________________________________ Muscle mailing list Muscle@xxxxxxxxxxxxxxxxxxxx http://lists.drizzle.com/mailman/listinfo/muscle

Next Message by Date: click to view message preview

Re: beta10 README is incorrect

On 22/02/06, Iain MacDonnell <muscle@xxxxxxxxxx> wrote: > Actually I noticed another problem with this - I explicitly requested > "--enable-libusb", but it didn't get enabled (it said "no" at the end > of "./configure", and the resulting pcscd didn't have it). I had to > remove "--enable-libusb" from my command line to get it to work. Must be > a little logic error in there... Exact. Corrected in subversion changeset 1880. Thanks, -- Dr. Ludovic Rousseau

Previous Message by Thread: click to view message preview

Re: visibility problems (Re: New pcsc-lite 1.2.9-beta10 available)

On 18/02/06, Iain MacDonnell <muscle@xxxxxxxxxx> wrote: > Ludovic Rousseau wrote on 02/03/06 06:02 AM: > > > I just released a new version of pcsc-lite. It is version 1.2.9-beta10 > [snip] > > - the library libpcsclite.so.1 only exports the symbols defined by the > > API (http://pcsclite.alioth.debian.org/pcsc-lite/). > > Something to do with this seems to be causing me problems, building on > Solaris 10 w/ gcc 3.4.3: > > if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I. -I.. -I../src/PCSC > -I../src/PCSC -I../src -I/usr/local/include -Wall -fno-common > -I/opt/ITmuscle2/include -I/usr/sfw/include -MT sys_unix.lo -MD -MP -MF > ".deps/sys_unix.Tpo" -c -o sys_unix.lo sys_unix.c; \ > then mv -f ".deps/sys_unix.Tpo" ".deps/sys_unix.Plo"; else rm -f > ".deps/sys_unix.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/PCSC -I../src/PCSC -I../src > -I/usr/local/include -Wall -fno-common -I/opt/ITmuscle2/include > -I/usr/sfw/include -MT sys_unix.lo -MD -MP -MF .deps/sys_unix.Tpo -c > sys_unix.c -fPIC -DPIC -o .libs/sys_unix.o > sys_unix.c: In function `SYS_Initialize': > sys_unix.c:49: warning: visibility attribute not supported in this > configuration; ignored > sys_unix.c: In function `SYS_Mkdir': > sys_unix.c:64: warning: visibility attribute not supported in this > configuration; ignored > sys_unix.c: In function `SYS_GetPID': > sys_unix.c:74: warning: visibility attribute not supported in this > configuration; ignored > > [...etc... (many more)] These warnings are harmless. Just ignore them. I retried with gcc-3.3 and gcc-3.4 (under Debian) and I don't have these warnings. > and then later: > > /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -fno-common > -I/opt/ITmuscle2/include -I/usr/sfw/include -L/opt/ITmuscle2/lib > -R/opt/ITmuscle2/lib -L/opt/sfw/lib -R/opt/sfw/lib -L/usr/local/lib > -R/usr/local/lib -o libpcsclite.la -rpath /opt/ITmuscle2/lib > -version-info 1:0:0 debuglog.lo winscard_msg.lo winscard_clnt.lo > sys_unix.lo thread_unix.lo dyn_unix.lo dyn_hpux.lo dyn_macosx.lo > strlcpy.lo strlcat.lo -ldl -D_REENTRANT -pthread -lsocket > gcc -shared -Wl,-h -Wl,libpcsclite.so.1 -o .libs/libpcsclite.so.1.0.0 > .libs/debuglog.o .libs/winscard_msg.o .libs/winscard_clnt.o > .libs/sys_unix.o .libs/thread_unix.o .libs/dyn_unix.o .libs/dyn_hpux.o > .libs/dyn_macosx.o .libs/strlcpy.o .libs/strlcat.o -R/opt/ITmuscle2/lib > -R/opt/sfw/lib -R/usr/local/lib -L/opt/ITmuscle2/lib -L/opt/sfw/lib > -L/usr/local/lib -ldl -lsocket -lc -pthread > gcc: unrecognized option `-pthread' > Text relocation remains referenced > against symbol offset in file > SYS_CloseFile 0x62b .libs/sys_unix.o > SYS_CloseFile 0x677 .libs/sys_unix.o > SYS_CloseFile 0x6c3 .libs/sys_unix.o > SHMMessageSend 0x6f0 .libs/winscard_msg.o > SYS_Chdir 0x71a .libs/sys_unix.o > SYS_Fork 0x54f .libs/sys_unix.o > SYS_Fork 0x5b9 .libs/sys_unix.o > ld: fatal: relocations remain against allocatable but non-writable sections > collect2: ld returned 1 exit status > gmake[3]: *** [libpcsclite.la] Error 1 > > > Changing the definition of "INTERNAL" to be blank in misc.h allows the > build to succeed. Strange. Can you send the the output of your ./configure execution? > BTW, if I try to build with Sun Studio 11 instead of gcc, I get stuck > here: > > /bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. > -I.. -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src > -I/usr/local/include -I/opt/ITmuscle2/include -I/usr/sfw/include -c -o > debuglog.lo debuglog.c > mkdir .libs > cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/PCSC -I../src/PCSC > -fvisibility=hidden -I../src -I/usr/local/include > -I/opt/ITmuscle2/include -I/usr/sfw/include -c debuglog.c -KPIC -DPIC > -o .libs/debuglog.o > cc: Warning: illegal option -fvisibility=hidden > "misc.h", line 52: non-formal identifier follows "#" in #define > "misc.h", line 53: non-formal identifier follows "#" in #define > cc: acomp failed for debuglog.c > gmake[3]: *** [debuglog.lo] Error 1 I don't have access to a SUN computer. I got the solution from [1] but adadpted it in a wrong way. You can't use a # inside a #define so it is not possible to use #define CONSTRUCTOR_DECLARATION(x) #pragma init (x) This should now be solved in changeset 1878 [2]. Can you check it is OK for you? Thanks, [1] http://archives.neohapsis.com/archives/dev/muscle/2005-q3/0259.html [2] http://svn.debian.org/wsvn/pcsclite?op=comp&compare%5B%5D=%2Ftrunk%2FPCSC@1877&compare%5B%5D=%2Ftrunk%2FPCSC@1878 -- Dr. Ludovic Rousseau

Next Message by Thread: click to view message preview

libmusclepkcs11 on Firefox

I'm using muscleframework-1.1.5 and tried to install libmusclepkcs11 on Firefox, but it says "Unable to add module". The same happens with Mozilla 1.7.5. Is libmusclepkcs11 working on these browsers/versions?
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by