On 18/01/06, Ivan Korzakow <[EMAIL PROTECTED]> wrote:
> Hi,

Hello,

> 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'

dlerror symbol comes from the libdl library.

> ../../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'

These symbols comes from the libpcsclite library.

> 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 ?

What is the output of "ldd -r libmusclecard/src/.libs/libmusclecard.so"?

Bye,

--
 Dr. Ludovic Rousseau

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

Reply via email to