Am Montag 25 Januar 2010 08:02:05 schrieb Bart Vanherck:
> On Wed, Jan 20, 2010 at 05:30:53PM +0100, Andreas Jellinghaus wrote:
> > you need to compile opensc with "-pthread" in CFLAGS and LIBS.
> > OpenSC itself is not multi-threaded AFAIK, but it loads
> > libraries that are, and that confuses th
On Wed, Jan 20, 2010 at 05:30:53PM +0100, Andreas Jellinghaus wrote:
> you need to compile opensc with "-pthread" in CFLAGS and LIBS.
> OpenSC itself is not multi-threaded AFAIK, but it loads
> libraries that are, and that confuses the debugger.
>
Indeed, after putting -pthread in CFLAGS and -lpth
you need to compile opensc with "-pthread" in CFLAGS and LIBS.
OpenSC itself is not multi-threaded AFAIK, but it loads
libraries that are, and that confuses the debugger.
if you compile it with "-pthread", the compiler and
linker will put debug info for threadding in the metadata
and gdb should wo
Bart Vanherck wrote:
> Hello,
>
> I tried today to debug the opensc-tool program but it seems not to work
> for me.
>
> Steps to reproduce my problem:
>
> First checkout the trunk of other release
> svn co http://www.opensc-project.org/svn/opensc/trunk/
>
> $ ./bootstrap
> $ ./configure
>
Hello,
I tried today to debug the opensc-tool program but it seems not to work
for me.
Steps to reproduce my problem:
First checkout the trunk of other release
svn co http://www.opensc-project.org/svn/opensc/trunk/
$ ./bootstrap
$ ./configure
My CFLAGS are including -g for debug info
$ make