Ludovic Rousseau wrote on 02/22/06 01:06 AM:
On 18/02/06, Iain MacDonnell <[EMAIL PROTECTED]> 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&[EMAIL PROTECTED]&[EMAIL
PROTECTED]
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle