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 > > >> 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) > _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
