Hi Mark,

Assuming you have a quick test program, you might want to run gdb to find where the crash occurs. Just do a backtrace after the crash
and it should reveal the problem. You may as well try using ktrace and kdump to clue us into the system calls that are being done prior to the
crash ....

Dave



On Jun 4, 2004, at 8:59 AM, Schoneman, Mark wrote:

Thanks for the quick reply but that didn't work either. The only two calls
the library has external are SCardReconnect & SCardTransmit

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Damien Sauveron
Sent: Friday, June 04, 2004 8:49 AM
To: MUSCLE
Subject: Re: [Muscle] Mac OS service bundle question

I've built a service bundle library based on the musclecard DDK code.
Under
Linux it compiles fine and produces the correct shareable libraries and
works fine. Under Mac OS 10.2 it segment faults when trying to load the
bundle in TPLoadToken. This happens under pcsclite 1.2.0 and the new
beta2.
The command I use to build the bundle is

gcc -bundle -L/usr/local/lib -lpcsclite -o myBundle myBundle.o

I think you should link with the muscle library because it contains the
symbol
TPLoadToken:

gcc -bundle -L/usr/local/lib -lmusclecard -o myBundle myBundle.o

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle

_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle

<x-tad-bigger>*****************************************************************************
David Corcoran <[EMAIL PROTECTED]>
Identity Alliance [http://www.identityalliance.com]
Smart Cards, Biometrics, Training, Identity Management
*****************************************************************************
</x-tad-bigger>
_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to