自己移植了minigui,在交叉编译例子程序时出现下面错误:
/usr/local/arm_tools/arm-elf/lib/libminigui.a(init.o): In function `InitGUI':
/W90P710-uClinux/TestApps/miniGUI/libminigui-1.6.10/src/kernel/init.c:324: the 'setlocale' function supports only C|POSIX locales
helloworld.elf2flt: In function `pthread_setcancelstate':
helloworld.elf2flt(.text+0x96bac): undefined reference to `thcfg'
helloworld.elf2flt: In function `pthread_setcanceltype':
helloworld.elf2flt(.text+0x96c8c): undefined reference to `thcfg'
helloworld.elf2flt: In function `pthread_testcancel':
helloworld.elf2flt(.text+0x96e30): undefined reference to `thcfg'
helloworld.elf2flt: In function `_pthread_cleanup_push':
helloworld.elf2flt(.text+0x96ee8): undefined reference to `thcfg'
helloworld.elf2flt: In function `_pthread_cleanup_pop':
helloworld.elf2flt(.text+0x96fac): undefined reference to `thcfg'
helloworld.elf2flt(.text+0x97070): more undefined references to `thcfg' follow
collect2: ld returned 1 exit status
make[1]: *** [helloworld] Error 1
make[1]: Leaving directory `/home/minigui/mg-samples-str-1.6.2/src'
make: *** [all-recursive] Error 1
有没有成功移植的传下资料,谢谢 |