matheus ribeiro wrote:
> Hi all, Im trying to compile karsten musclecard with pcsclite1.2.9
> beta10 from svn with no success.
> 

And in also in src/Makefile.am add:

libmusclecard_la_CPPFLAGS = \
        $(AM_CPPFLAGS) \
        -I$(top_srcdir)/src/PCSC \
        -I$(top_srcdir)/src/PCSC/unix \

...

Karsten


> I have 2 problems. first one:
> /home/usuarios/mribeiro/programas/svnroot/smartcard/libmusclecard/trunk/src/muscletest.c:171:
> undefined reference to `strlcpy'
> ../src/.libs/libmusclecard.so: undefined reference to `DYN_LoadLibrary'
> ../src/.libs/libmusclecard.so: undefined reference to `SYS_MutexUnLock'
> ../src/.libs/libmusclecard.so: undefined reference to `SYS_MutexLock'
> ../src/.libs/libmusclecard.so: undefined reference to `SYS_ThreadCreate'
> ../src/.libs/libmusclecard.so: undefined reference to `SYS_ThreadExit'
> ../src/.libs/libmusclecard.so: undefined reference to `DYN_CloseLibrary'
> ../src/.libs/libmusclecard.so: undefined reference to
> `LTPBundleFindValueWithKey'
> ../src/.libs/libmusclecard.so: undefined reference to `DYN_GetAddress'
> ../src/.libs/libmusclecard.so: undefined reference to `SYS_ThreadJoin'
> 
> -> Some functions are tagged as internal, which means they cant be seen
> outside the library. But libmusclecard uses those functions. I solved
> this removing the INTERNAL attribute. But then...
> 
> ../src/.libs/libmusclecard.so: undefined reference to
> `LTPBundleFindValueWithKey'
> 
> -> This function existed in beta8 and beta9, in tokenparser.c, though I
> cannot find it anymore in beta10.
> 
> I can still compile using older versions, but im curious what would be
> the correct solution to these problems. As those functions are
> internals, libmusclecard shouldnt use they, should it?
> 
> Thanks
> Matheus
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Muscle mailing list
> [email protected]
> http://lists.drizzle.com/mailman/listinfo/muscle

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

Reply via email to