From: Baozhi C. <che...@ya...> - 2008-10-22 00:39:32
|
Hi, I am a newbie to this gumstix board. I am currently using gumstix-connex board. I tried to follow the instructions on the gumstix website (http://docwiki.gumstix.org/index.php/Buildroot) to build up a buildroot system myself. Yet I found there is some difference from what is said on the above link. For example, there is no file /etc/gumstix-release but /etc/gumstix-version in my original system. Moreover, I got the following errors when making the buildroot: make -C /home/administrator/gumstix-buildroot/toolchain_build_arm_nofpu/uClibc \ PREFIX=/home/administrator/gumstix-buildroottoolchain_build_arm_nofpu/uClibc_dev/ \ DEVEL_PREFIX=/usr/ \ RUNTIME_PREFIX=/home/administrator/gumstix-buildroot/toolchain_build_arm_nofpu/uClibc_dev/ \ HOSTCC="gcc" \ pregen install_dev && \ touch /home/administrator/gumstix-buildroot/toolchain_build_arm_nofpu/uClibc/.configured /bin/sh: /home/administrator/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-gcc: not found make[1]: /home/administrator/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-gcc: Command not found make[1]: Entering directory `/home/administrator/gumstix-buildroot/toolchain_build_arm_nofpu/uClibc' make[1]: /home/administrator/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-gcc: Command not found /bin/sh: /home/administrator/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-gcc: not found make[2]: /home/administrator/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-gcc: Command not found make[2]: /home/administrator/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-gcc: Command not found gcc -DCURSES_LOC="<curses.h>" -DLOCALE -c lxdialog/checklist.c -o lxdialog/checklist.o In file included from lxdialog/checklist.c:24: lxdialog/dialog.h:32:20: error: curses.h: No such file or directory In file included from lxdialog/checklist.c:24: lxdialog/dialog.h:97: error: expected specifier-qualifier-list before 'chtype' lxdialog/dialog.h:187: error: expected ')' before '*' token lxdialog/dialog.h:193: error: expected ')' before '*' token lxdialog/dialog.h:195: error: expected ')' before '*' token lxdialog/dialog.h:196: error: expected ')' before '*' token lxdialog/dialog.h:197: error: expected ')' before '*' token lxdialog/dialog.h:198: error: expected ')' before '*' token lxdialog/dialog.h:200: error: expected ')' before '*' token lxdialog/checklist.c:31: error: expected ')' before '*' token lxdialog/checklist.c:59: error: expected ')' before '*' token lxdialog/checklist.c:95: error: expected ')' before '*' token lxdialog/checklist.c: In function 'dialog_checklist': lxdialog/checklist.c:116: error: 'WINDOW' undeclared (first use in this function) lxdialog/checklist.c:116: error: (Each undeclared identifier is reported only once lxdialog/checklist.c:116: error: for each function it appears in.) lxdialog/checklist.c:116: error: 'dialog' undeclared (first use in this function) lxdialog/checklist.c:116: error: 'list' undeclared (first use in this function) lxdialog/checklist.c:129: error: 'stdscr' undeclared (first use in this function) lxdialog/checklist.c:130: error: 'KEY_MAX' undeclared (first use in this function) lxdialog/checklist.c:137: error: 'COLS' undeclared (first use in this function) lxdialog/checklist.c:138: error: 'LINES' undeclared (first use in this function) lxdialog/checklist.c:143: error: 'TRUE' undeclared (first use in this function) lxdialog/checklist.c:146: error: 'struct dialog_color' has no member named 'atr' lxdialog/checklist.c:146: error: 'struct dialog_color' has no member named 'atr' lxdialog/checklist.c:147: error: 'struct dialog_color' has no member named 'atr' lxdialog/checklist.c:151: error: 'struct dialog_color' has no member named 'atr' lxdialog/checklist.c:156: error: 'struct dialog_color' has no member named 'atr' lxdialog/checklist.c:171: error: 'struct dialog_color' has no member named 'atr' lxdialog/checklist.c:171: error: 'struct dialog_color' has no member named 'atr' lxdialog/checklist.c:210: error: 'KEY_UP' undeclared (first use in this function) lxdialog/checklist.c:210: error: 'KEY_DOWN' undeclared (first use in this function) lxdialog/checklist.c:220: error: 'FALSE' undeclared (first use in this function) lxdialog/checklist.c:297: error: 'KEY_LEFT' undeclared (first use in this function) lxdialog/checklist.c:298: error: 'KEY_RIGHT' undeclared (first use in this function) lxdialog/checklist.c:312: error: 'KEY_RESIZE' undeclared (first use in this function) make[2]: *** [lxdialog/checklist.o] Error 1 make[1]: *** [extra/config/conf] Error 2 make[1]: Leaving directory `/home/administrator/gumstix-buildroot/toolchain_build_arm_nofpu/uClibc' make: *** [/home/administrator/gumstix-buildroot/toolchain_build_arm_nofpu/uClibc/.configured] Error 2 As I figure out, there is no arm-linux-gcc files in the folder build_arm_nofpu/staging_dir/bin. How to solve this problem? Any suggestion will be appreciated. thanks. Baozhi |