OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[Muscle] compiling pcsc-lite for mips

From: Ivan Korzakow (ivan.korzakowgmail.com)
Date: Wed Jan 18 2006 - 04:52:44 CST


Hi,

I'm trying to compile pcsc-lite for a mips target, but i get the
following error :

mips-gcc -Wall -fno-common -g -O2 -pthread -o .libs/muscletest
muscletest-muscletest.o muscletest-strlcpy.o
../../libmusclecard/src/.libs/libmusclecard.so -Wl,--rpath
-Wl,/opt/smart_card/pcsc-lite-1.2.9-beta9/install/lib
mips-ld: warning: libpcsclite.so.1, needed by
../../libmusclecard/src/.libs/libmusclecard.so, not found (try using
-rpath or -rpath-link)
../../libmusclecard/src/.libs/libmusclecard.so: undefined reference to `dlerror'
../../libmusclecard/src/.libs/libmusclecard.so: undefined reference to `log_xxd'
../../libmusclecard/src/.libs/libmusclecard.so: undefined reference to
`g_rgSCardRawPci'
[...]
../../libmusclecard/src/.libs/libmusclecard.so: undefined reference to
`SCardListReaders'
collect2: ld returned 1 exit status
make[3]: *** [muscletest] Erreur 1
make[3]: Leaving directory
`/opt/smart_card/pcsc-lite-1.2.9-beta9/libmusclecard/src'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/opt/smart_card/pcsc-lite-1.2.9-beta9/libmusclecard'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/opt/smart_card/pcsc-lite-1.2.9-beta9'
make: *** [all] Erreur 2

It compiles nicely on my intel processor, though. I've been trying to
find the problem with my linker, but i have no clue. I know this is a
bit OT, but anyone had had the same problem, or has any idea how to
solve that ?

Thanks in advance

Ivan

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle