[Muscle] libmusclecard on linux, amd64 - undefined reference
to `log_xxd'
Rostislav Matl
matl at bithill.net
Tue Jul 24 11:00:52 PDT 2007
On Tue, 2007-07-24 at 00:31 +0200, Karsten Ohme wrote:
> Rostislav Matl schrieb:
> > Hi,
> >
> > I'm trying to compile libmusclecard but there are some errors
> > during compilation. I don't understand these things much, can you
> > tell me what's wrong ? Thank you.
> >
> >> make
> > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o muscletest
> > muscletest-muscletest.o muscletest-strlcpy.o libmusclecard.la
> > -lpcsclite
> > gcc -g -O2 -o .libs/muscletest muscletest-muscletest.o
> > muscletest-strlcpy.o ./.libs/libmusclecard.so /usr/lib64/libpcsclite.so
> > -ldl -Wl,--rpath -Wl,/opt/muscle/lib
> > ./.libs/libmusclecard.so: undefined reference to `log_xxd'
> > ./.libs/libmusclecard.so: undefined reference to `log_msg'
> > collect2: ld returned 1 exit status
> > make: *** [muscletest] Error 1
>
> What pcsclite version are you using? log_xxd should be part of pcsclite.
> There should be a libpcsclite.a file somewhere needed for linking.
>
> Regards,
> Karsten
>
pcsc-lite 1.4.2, it's supposed to be stable on gentoo
I'have only these files in library directory - the *.so
file is not enough ?
/usr/lib64/libpcsclite.la
/usr/lib64/libpcsclite.so -> libpcsclite.so.1.0.0
/usr/lib64/libpcsclite.so.1 -> libpcsclite.so.1.0.0
/usr/lib64/libpcsclite.so.1.0.0
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/libpcsclite.pc
> >
> >
> >> ldd -r libmusclecard.so
> > libpcsclite.so.1 => /usr/lib/libpcsclite.so.1
> > (0x00002b3fb8088000)
> > libc.so.6 => /lib/libc.so.6 (0x00002b3fb8192000)
> > libdl.so.2 => /lib/libdl.so.2 (0x00002b3fb83cd000)
> > libpthread.so.0 => /lib/libpthread.so.0 (0x00002b3fb84d2000)
> > /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
> > undefined symbol: log_xxd (./libmusclecard.so)
> > undefined symbol: log_msg (./libmusclecard.so)
> >
More information about the Muscle
mailing list