Cross-compile sdl for uclinux

when cross-compiling sdl,I found that if using option --enable-shared
and --enable-static at the same time,a error would be generated as

/usr/lib/ could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

I don’t know why this error is produced as a rule.
Is this error related to the cross-compile tools??
if it is,who can give me some advice on how to solve it?
thanks a lot.