- 积分
- 37
贡献154
飞刀40 FD
注册时间2021-6-6
在线时间9 小时
扫一扫,手机访问本帖
|
本帖最后由 咸个和和和 于 2021-8-20 16:31 编辑
我想要在 buildroot 下添加自己的 package,但是执行的 menuconfig 的时候失败了。
用的 20210715 的资料
- [one2inf@one2inf-vmwarevirtualplatform buildroot-201611]$ make menuconfig
- mkdir -p /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/lxdialog
- PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
- obj=/home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config -C support/kconfig -f Makefile.br mconf
- make[1]: Entering directory '/home/one2inf/a40i_board/lichee/buildroot-201611/support/kconfig'
- /usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -I/home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config -DCONFIG_="" -c lxdialog/checklist.c -o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/lxdialog/checklist.o
- /usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -I/home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config -DCONFIG_="" -c lxdialog/inputbox.c -o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/lxdialog/inputbox.o
- /usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -I/home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config -DCONFIG_="" -c lxdialog/menubox.c -o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/lxdialog/menubox.o
- /usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -I/home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config -DCONFIG_="" -c lxdialog/textbox.c -o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/lxdialog/textbox.o
- /usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -I/home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config -DCONFIG_="" -c lxdialog/util.c -o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/lxdialog/util.o
- /usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -I/home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config -DCONFIG_="" -c lxdialog/yesno.c -o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/lxdialog/yesno.o
- /usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -I/home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config -DCONFIG_="" /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/mconf.o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/zconf.tab.o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/lxdialog/checklist.o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/lxdialog/util.o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/lxdialog/inputbox.o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/lxdialog/textbox.o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/lxdialog/yesno.o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/lxdialog/menubox.o -lncursesw -o /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/mconf
- /usr/bin/ld: /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/mconf.o: relocation R_X86_64_32 against `.rodata' can not be used when ** a PIE object; recompile with -fPIE
- collect2: error: ld returned 1 exit status
- make[1]: *** [Makefile.br:28: mconf] Error 1
- make[1]: Leaving directory '/home/one2inf/a40i_board/lichee/buildroot-201611/support/kconfig'
- make: *** [Makefile:792: /home/one2inf/a40i_board/lichee/buildroot-201611/output/build/buildroot-config/mconf] Error 2
复制代码
或者有其他办法把项目添加到脚本的自动编译中去吗?
|
|