try to remove your first -lpthread, only use the last one. The linker walks the arguments from left to right and will prevent linking against all functions which are not seen as used till that moment. That's why the base libs should always be placed in the list of linker arguments as right as they can be, otherwise the object code may be missed in the end.
I have no idea about your strange warning though...
microblaze-uclinux mailing list
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/