cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Explorer
Explorer
162 Views
Registered: ‎02-19-2018

PetaLinux 2020.2: Unable to configure kernel

I have a fresh install of Petalinux 2020.2 in a brand new project. I ran

petalinux-config --get-hw-description <PATH_TO_XSA>

which worked. However, running

petalinux-config -c kernel

fails with the following:

  GEN     Makefile
  UPD     scripts/kconfig/mconf-cfg
  HOSTCC  scripts/kconfig/mconf.o
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
  HOSTCC  scripts/kconfig/lxdialog/util.o
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
/bin/sh: 1: .: Can't open scripts/kconfig/mconf-cfg
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf.o: In function `show_help':
mconf.c:(.text+0x7e4): undefined reference to `stdscr'
scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
checklist.c:(.text+0x2c): undefined reference to `wmove'
checklist.c:(.text+0x4c): undefined reference to `acs_map'
checklist.c:(.text+0x54): undefined reference to `waddch'
checklist.c:(.text+0x66): undefined reference to `waddnstr'
checklist.c:(.text+0x76): undefined reference to `wmove'
checklist.c:(.text+0x9f): undefined reference to `acs_map'
checklist.c:(.text+0xa7): undefined reference to `waddch'
checklist.c:(.text+0xe3): undefined reference to `acs_map'
checklist.c:(.text+0xeb): undefined reference to `waddch'
checklist.c:(.text+0xf2): undefined reference to `acs_map'
checklist.c:(.text+0xfa): undefined reference to `waddch'
checklist.c:(.text+0x101): undefined reference to `acs_map'
checklist.c:(.text+0x109): undefined reference to `waddch'
checklist.c:(.text+0x110): undefined reference to `acs_map'
checklist.c:(.text+0x143): undefined reference to `acs_map'
checklist.c:(.text+0x14b): undefined reference to `waddch'
checklist.c:(.text+0x152): undefined reference to `acs_map'
checklist.c:(.text+0x15a): undefined reference to `waddch'
checklist.c:(.text+0x161): undefined reference to `acs_map'
checklist.c:(.text+0x169): undefined reference to `waddch'
checklist.c:(.text+0x170): undefined reference to `acs_map'
checklist.c:(.text+0x178): undefined reference to `waddch'
scripts/kconfig/lxdialog/checklist.o: In function `print_item':
checklist.c:(.text+0x201): undefined reference to `wmove'
checklist.c:(.text+0x224): undefined reference to `waddch'
checklist.c:(.text+0x23d): undefined reference to `wmove'
checklist.c:(.text+0x288): undefined reference to `wmove'
checklist.c:(.text+0x2ae): undefined reference to `waddnstr'
checklist.c:(.text+0x2c7): undefined reference to `wmove'
checklist.c:(.text+0x2cf): undefined reference to `wrefresh'
checklist.c:(.text+0x321): undefined reference to `wprintw'
checklist.c:(.text+0x34f): undefined reference to `wmove'
checklist.c:(.text+0x361): undefined reference to `waddch'
checklist.c:(.text+0x388): undefined reference to `wmove'
checklist.c:(.text+0x3a6): undefined reference to `wmove'
checklist.c:(.text+0x3c8): undefined reference to `wmove'
checklist.c:(.text+0x3dd): undefined reference to `waddch'
checklist.c:(.text+0x3f3): undefined reference to `wmove'
scripts/kconfig/lxdialog/checklist.o: In function `print_buttons':
checklist.c:(.text+0x45f): undefined reference to `wmove'
scripts/kconfig/lxdialog/checklist.o: In function `dialog_checklist':
checklist.c:(.text+0x585): undefined reference to `stdscr'
checklist.c:(.text+0x5ce): undefined reference to `stdscr'
checklist.c:(.text+0x626): undefined reference to `newwin'
checklist.c:(.text+0x63b): undefined reference to `keypad'
checklist.c:(.text+0x683): undefined reference to `wmove'
checklist.c:(.text+0x68f): undefined reference to `acs_map'
checklist.c:(.text+0x697): undefined reference to `waddch'
checklist.c:(.text+0x6bb): undefined reference to `acs_map'
checklist.c:(.text+0x6c7): undefined reference to `waddch'
checklist.c:(.text+0x6ef): undefined reference to `acs_map'
checklist.c:(.text+0x6f7): undefined reference to `waddch'
checklist.c:(.text+0x75d): undefined reference to `subwin'
checklist.c:(.text+0x76f): undefined reference to `keypad'
checklist.c:(.text+0x903): undefined reference to `wnoutrefresh'
checklist.c:(.text+0x90d): undefined reference to `wnoutrefresh'
checklist.c:(.text+0x912): undefined reference to `doupdate'
checklist.c:(.text+0x92e): undefined reference to `wgetch'
checklist.c:(.text+0xa4d): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xa55): undefined reference to `wrefresh'
checklist.c:(.text+0xa6e): undefined reference to `delwin'
checklist.c:(.text+0xa78): undefined reference to `delwin'
checklist.c:(.text+0xb1d): undefined reference to `delwin'
checklist.c:(.text+0xb27): undefined reference to `delwin'
checklist.c:(.text+0xb33): undefined reference to `stdscr'
checklist.c:(.text+0xb9e): undefined reference to `scrollok'
checklist.c:(.text+0xbab): undefined reference to `wscrl'
checklist.c:(.text+0xbb5): undefined reference to `scrollok'
checklist.c:(.text+0xc10): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xc18): undefined reference to `wrefresh'
checklist.c:(.text+0xc92): undefined reference to `scrollok'
checklist.c:(.text+0xc9f): undefined reference to `wscrl'
checklist.c:(.text+0xca9): undefined reference to `scrollok'
checklist.c:(.text+0xd0e): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xd16): undefined reference to `wrefresh'
checklist.c:(.text+0xd70): undefined reference to `wrefresh'
checklist.c:(.text+0xd75): undefined reference to `doupdate'
checklist.c:(.text+0xda1): undefined reference to `doupdate'
checklist.c:(.text+0xe1d): undefined reference to `delwin'
checklist.c:(.text+0xe27): undefined reference to `delwin'
checklist.c:(.text+0xe62): undefined reference to `doupdate'
checklist.c:(.text+0xe73): undefined reference to `stdscr'
checklist.c:(.text+0xea5): undefined reference to `doupdate'
checklist.c:(.text+0xebd): undefined reference to `doupdate'
checklist.c:(.text+0xed2): undefined reference to `acs_map'
checklist.c:(.text+0xed9): undefined reference to `waddch'
scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
checklist.c:(.text+0xc7): undefined reference to `waddnstr'
checklist.c:(.text+0x126): undefined reference to `waddch'
scripts/kconfig/lxdialog/checklist.o: In function `print_buttons':
checklist.c:(.text+0x471): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/inputbox.o: In function `print_buttons':
inputbox.c:(.text+0x5f): undefined reference to `wmove'
scripts/kconfig/lxdialog/inputbox.o: In function `dialog_inputbox':
inputbox.c:(.text+0xbd): undefined reference to `stdscr'
inputbox.c:(.text+0x15d): undefined reference to `newwin'
inputbox.c:(.text+0x16d): undefined reference to `keypad'
inputbox.c:(.text+0x1b0): undefined reference to `wmove'
inputbox.c:(.text+0x1bc): undefined reference to `acs_map'
inputbox.c:(.text+0x1c4): undefined reference to `waddch'
inputbox.c:(.text+0x1db): undefined reference to `acs_map'
inputbox.c:(.text+0x1e7): undefined reference to `waddch'
inputbox.c:(.text+0x20a): undefined reference to `acs_map'
inputbox.c:(.text+0x20f): undefined reference to `waddch'
inputbox.c:(.text+0x2a4): undefined reference to `wmove'
inputbox.c:(.text+0x33c): undefined reference to `waddch'
inputbox.c:(.text+0x350): undefined reference to `wmove'
inputbox.c:(.text+0x358): undefined reference to `wrefresh'
inputbox.c:(.text+0x38c): undefined reference to `wgetch'
inputbox.c:(.text+0x3ec): undefined reference to `delwin'
inputbox.c:(.text+0x450): undefined reference to `wgetch'
inputbox.c:(.text+0x4a0): undefined reference to `wmove'
inputbox.c:(.text+0x4ad): undefined reference to `wgetch'
inputbox.c:(.text+0x547): undefined reference to `wmove'
inputbox.c:(.text+0x59e): undefined reference to `waddch'
inputbox.c:(.text+0x5b3): undefined reference to `wmove'
inputbox.c:(.text+0x5bb): undefined reference to `wrefresh'
inputbox.c:(.text+0x5c9): undefined reference to `wgetch'
inputbox.c:(.text+0x63c): undefined reference to `delwin'
inputbox.c:(.text+0x65e): undefined reference to `waddnstr'
inputbox.c:(.text+0x694): undefined reference to `delwin'
inputbox.c:(.text+0x6df): undefined reference to `delwin'
inputbox.c:(.text+0x6eb): undefined reference to `stdscr'
inputbox.c:(.text+0x76f): undefined reference to `wgetch'
inputbox.c:(.text+0x820): undefined reference to `wgetch'
inputbox.c:(.text+0x88a): undefined reference to `wmove'
inputbox.c:(.text+0x892): undefined reference to `wrefresh'
inputbox.c:(.text+0x8a4): undefined reference to `wgetch'
inputbox.c:(.text+0x8fd): undefined reference to `wgetch'
inputbox.c:(.text+0x960): undefined reference to `wgetch'
inputbox.c:(.text+0x9b4): undefined reference to `wgetch'
inputbox.c:(.text+0xafc): undefined reference to `wmove'
inputbox.c:(.text+0xb56): undefined reference to `waddch'
inputbox.c:(.text+0xb6a): undefined reference to `wmove'
inputbox.c:(.text+0xb72): undefined reference to `wrefresh'
inputbox.c:(.text+0xb84): undefined reference to `wgetch'
inputbox.c:(.text+0xbe3): undefined reference to `acs_map'
inputbox.c:(.text+0xbea): undefined reference to `waddch'
inputbox.c:(.text+0xc63): undefined reference to `wmove'
inputbox.c:(.text+0xd17): undefined reference to `wgetch'
inputbox.c:(.text+0xd4c): undefined reference to `wgetch'
inputbox.c:(.text+0xda1): undefined reference to `wmove'
inputbox.c:(.text+0xda9): undefined reference to `wrefresh'
inputbox.c:(.text+0xdbb): undefined reference to `wgetch'
inputbox.c:(.text+0xec7): undefined reference to `wgetch'
inputbox.c:(.text+0xf5b): undefined reference to `delwin'
inputbox.c:(.text+0xf9a): undefined reference to `wmove'
inputbox.c:(.text+0xfe9): undefined reference to `waddch'
inputbox.c:(.text+0xfff): undefined reference to `wmove'
inputbox.c:(.text+0x1192): undefined reference to `flash'
inputbox.c:(.text+0x11a4): undefined reference to `wgetch'
inputbox.c:(.text+0x15e9): undefined reference to `waddch'
inputbox.c:(.text+0x1672): undefined reference to `wmove'
inputbox.c:(.text+0x16fd): undefined reference to `waddch'
inputbox.c:(.text+0x17ee): undefined reference to `waddch'
inputbox.c:(.text+0x180e): undefined reference to `wmove'
inputbox.c:(.text+0x1855): undefined reference to `waddch'
inputbox.c:(.text+0x1869): undefined reference to `wmove'
inputbox.c:(.text+0x187f): undefined reference to `waddch'
scripts/kconfig/lxdialog/inputbox.o: In function `print_buttons':
inputbox.c:(.text+0x71): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `do_scroll':
menubox.c:(.text+0x13): undefined reference to `scrollok'
menubox.c:(.text+0x1e): undefined reference to `wscrl'
menubox.c:(.text+0x28): undefined reference to `scrollok'
scripts/kconfig/lxdialog/menubox.o: In function `do_print_item':
menubox.c:(.text+0xbe): undefined reference to `wmove'
menubox.c:(.text+0xc6): undefined reference to `wclrtoeol'
menubox.c:(.text+0xed): undefined reference to `wmove'
menubox.c:(.text+0x102): undefined reference to `waddnstr'
menubox.c:(.text+0x135): undefined reference to `wmove'
menubox.c:(.text+0x147): undefined reference to `waddch'
menubox.c:(.text+0x160): undefined reference to `wmove'
menubox.c:(.text+0x190): undefined reference to `wmove'
menubox.c:(.text+0x197): undefined reference to `wclrtoeol'
scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
menubox.c:(.text+0x257): undefined reference to `wmove'
scripts/kconfig/lxdialog/menubox.o: In function `print_arrows.constprop.0':
menubox.c:(.text+0x2a9): undefined reference to `wmove'
menubox.c:(.text+0x2c3): undefined reference to `acs_map'
menubox.c:(.text+0x2cb): undefined reference to `waddch'
menubox.c:(.text+0x2dd): undefined reference to `waddnstr'
menubox.c:(.text+0x2ed): undefined reference to `wmove'
menubox.c:(.text+0x2f5): undefined reference to `wrefresh'
menubox.c:(.text+0x319): undefined reference to `acs_map'
menubox.c:(.text+0x321): undefined reference to `waddch'
menubox.c:(.text+0x328): undefined reference to `acs_map'
menubox.c:(.text+0x330): undefined reference to `waddch'
menubox.c:(.text+0x337): undefined reference to `acs_map'
menubox.c:(.text+0x33f): undefined reference to `waddch'
menubox.c:(.text+0x346): undefined reference to `acs_map'
menubox.c:(.text+0x34e): undefined reference to `waddch'
menubox.c:(.text+0x35d): undefined reference to `wmove'
menubox.c:(.text+0x393): undefined reference to `acs_map'
menubox.c:(.text+0x39b): undefined reference to `waddch'
menubox.c:(.text+0x3ad): undefined reference to `waddnstr'
menubox.c:(.text+0x3c6): undefined reference to `acs_map'
menubox.c:(.text+0x3ce): undefined reference to `waddch'
menubox.c:(.text+0x3d5): undefined reference to `acs_map'
menubox.c:(.text+0x3dd): undefined reference to `waddch'
menubox.c:(.text+0x3e4): undefined reference to `acs_map'
menubox.c:(.text+0x3ec): undefined reference to `waddch'
menubox.c:(.text+0x3f3): undefined reference to `acs_map'
menubox.c:(.text+0x3fb): undefined reference to `waddch'
menubox.c:(.text+0x412): undefined reference to `wmove'
scripts/kconfig/lxdialog/menubox.o: In function `dialog_menu':
menubox.c:(.text+0x454): undefined reference to `stdscr'
menubox.c:(.text+0x4d8): undefined reference to `stdscr'
menubox.c:(.text+0x53b): undefined reference to `newwin'
menubox.c:(.text+0x54b): undefined reference to `keypad'
menubox.c:(.text+0x58e): undefined reference to `wmove'
menubox.c:(.text+0x59a): undefined reference to `acs_map'
menubox.c:(.text+0x5a2): undefined reference to `waddch'
menubox.c:(.text+0x5b3): undefined reference to `acs_map'
menubox.c:(.text+0x5bf): undefined reference to `waddch'
menubox.c:(.text+0x5e6): undefined reference to `wbkgdset'
menubox.c:(.text+0x5ed): undefined reference to `acs_map'
menubox.c:(.text+0x5f5): undefined reference to `waddch'
menubox.c:(.text+0x652): undefined reference to `subwin'
menubox.c:(.text+0x663): undefined reference to `keypad'
menubox.c:(.text+0x7cf): undefined reference to `wnoutrefresh'
menubox.c:(.text+0x81c): undefined reference to `wmove'
menubox.c:(.text+0x824): undefined reference to `wrefresh'
menubox.c:(.text+0x840): undefined reference to `wgetch'
menubox.c:(.text+0x94a): undefined reference to `delwin'
menubox.c:(.text+0x952): undefined reference to `delwin'
menubox.c:(.text+0xa72): undefined reference to `wnoutrefresh'
menubox.c:(.text+0xa7b): undefined reference to `wrefresh'
menubox.c:(.text+0xac8): undefined reference to `delwin'
menubox.c:(.text+0xad0): undefined reference to `delwin'
menubox.c:(.text+0xad7): undefined reference to `stdscr'
menubox.c:(.text+0xbd5): undefined reference to `delwin'
menubox.c:(.text+0xbdd): undefined reference to `delwin'
menubox.c:(.text+0xc8f): undefined reference to `wrefresh'
menubox.c:(.text+0xda8): undefined reference to `stdscr'
menubox.c:(.text+0xf69): undefined reference to `wbkgdset'
menubox.c:(.text+0xf70): undefined reference to `acs_map'
menubox.c:(.text+0xf77): undefined reference to `waddch'
menubox.c:(.text+0x1009): undefined reference to `scrollok'
scripts/kconfig/lxdialog/menubox.o: In function `do_scroll':
menubox.c:(.text+0x38): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `do_print_item':
menubox.c:(.text+0x17e): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
menubox.c:(.text+0x269): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `print_arrows.constprop.0':
menubox.c:(.text+0x373): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/textbox.o: In function `refresh_text_box':
textbox.c:(.text+0x26a): undefined reference to `wmove'
textbox.c:(.text+0x277): undefined reference to `waddch'
textbox.c:(.text+0x295): undefined reference to `waddnstr'
textbox.c:(.text+0x29d): undefined reference to `wclrtoeol'
textbox.c:(.text+0x2cf): undefined reference to `wnoutrefresh'
textbox.c:(.text+0x2f9): undefined reference to `wbkgdset'
textbox.c:(.text+0x346): undefined reference to `wmove'
textbox.c:(.text+0x357): undefined reference to `wprintw'
textbox.c:(.text+0x367): undefined reference to `wmove'
textbox.c:(.text+0x398): undefined reference to `wbkgdset'
scripts/kconfig/lxdialog/textbox.o: In function `dialog_textbox':
textbox.c:(.text+0x460): undefined reference to `stdscr'
textbox.c:(.text+0x4fd): undefined reference to `newwin'
textbox.c:(.text+0x50d): undefined reference to `keypad'
textbox.c:(.text+0x528): undefined reference to `subwin'
textbox.c:(.text+0x549): undefined reference to `wbkgdset'
textbox.c:(.text+0x556): undefined reference to `keypad'
textbox.c:(.text+0x59b): undefined reference to `wmove'
textbox.c:(.text+0x5a7): undefined reference to `acs_map'
textbox.c:(.text+0x5af): undefined reference to `waddch'
textbox.c:(.text+0x5c3): undefined reference to `acs_map'
textbox.c:(.text+0x5ce): undefined reference to `waddch'
textbox.c:(.text+0x5f4): undefined reference to `wbkgdset'
textbox.c:(.text+0x5fb): undefined reference to `acs_map'
textbox.c:(.text+0x603): undefined reference to `waddch'
textbox.c:(.text+0x640): undefined reference to `wnoutrefresh'
textbox.c:(.text+0x690): undefined reference to `wgetch'
textbox.c:(.text+0x6fa): undefined reference to `delwin'
textbox.c:(.text+0x702): undefined reference to `delwin'
textbox.c:(.text+0x70e): undefined reference to `stdscr'
textbox.c:(.text+0x80e): undefined reference to `delwin'
textbox.c:(.text+0x816): undefined reference to `delwin'
textbox.c:(.text+0xb25): undefined reference to `wbkgdset'
textbox.c:(.text+0xb2c): undefined reference to `acs_map'
textbox.c:(.text+0xb33): undefined reference to `waddch'
textbox.c:(.text+0xb73): undefined reference to `wnoutrefresh'
scripts/kconfig/lxdialog/textbox.o: In function `refresh_text_box':
textbox.c:(.text+0x37d): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/util.o: In function `init_one_color':
util.c:(.text+0x46f): undefined reference to `init_pair'
scripts/kconfig/lxdialog/util.o: In function `attr_clear':
util.c:(.text+0x4d1): undefined reference to `wmove'
util.c:(.text+0x4ec): undefined reference to `waddch'
scripts/kconfig/lxdialog/util.o: In function `dialog_clear':
util.c:(.text+0x541): undefined reference to `stdscr'
util.c:(.text+0x57e): undefined reference to `stdscr'
util.c:(.text+0x59a): undefined reference to `wmove'
util.c:(.text+0x5ad): undefined reference to `stdscr'
util.c:(.text+0x5b7): undefined reference to `waddnstr'
util.c:(.text+0x5ec): undefined reference to `stdscr'
util.c:(.text+0x5ff): undefined reference to `wmove'
util.c:(.text+0x655): undefined reference to `acs_map'
util.c:(.text+0x65c): undefined reference to `stdscr'
util.c:(.text+0x661): undefined reference to `waddch'
util.c:(.text+0x668): undefined reference to `stdscr'
util.c:(.text+0x677): undefined reference to `waddch'
util.c:(.text+0x683): undefined reference to `stdscr'
util.c:(.text+0x691): undefined reference to `waddnstr'
util.c:(.text+0x698): undefined reference to `stdscr'
util.c:(.text+0x6a2): undefined reference to `waddch'
util.c:(.text+0x6c3): undefined reference to `acs_map'
util.c:(.text+0x6ca): undefined reference to `stdscr'
util.c:(.text+0x6d3): undefined reference to `waddch'
util.c:(.text+0x6df): undefined reference to `stdscr'
util.c:(.text+0x703): undefined reference to `stdscr'
util.c:(.text+0x715): undefined reference to `waddnstr'
scripts/kconfig/lxdialog/util.o: In function `init_dialog':
util.c:(.text+0x755): undefined reference to `initscr'
util.c:(.text+0x75c): undefined reference to `stdscr'
util.c:(.text+0x942): undefined reference to `stdscr'
util.c:(.text+0x94c): undefined reference to `keypad'
util.c:(.text+0x951): undefined reference to `cbreak'
util.c:(.text+0x956): undefined reference to `noecho'
util.c:(.text+0xccf): undefined reference to `has_colors'
util.c:(.text+0xcdc): undefined reference to `start_color'
util.c:(.text+0xe16): undefined reference to `has_colors'
util.c:(.text+0xe36): undefined reference to `has_colors'
util.c:(.text+0xe65): undefined reference to `endwin'
scripts/kconfig/lxdialog/util.o: In function `end_dialog':
util.c:(.text+0xe99): undefined reference to `stdscr'
util.c:(.text+0xe9e): undefined reference to `wmove'
util.c:(.text+0xea5): undefined reference to `stdscr'
util.c:(.text+0xeaa): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/util.o: In function `print_title':
util.c:(.text+0xf16): undefined reference to `wmove'
util.c:(.text+0xf28): undefined reference to `waddch'
util.c:(.text+0xf34): undefined reference to `wmove'
util.c:(.text+0xf47): undefined reference to `waddnstr'
scripts/kconfig/lxdialog/util.o: In function `print_autowrap':
util.c:(.text+0x1041): undefined reference to `wmove'
util.c:(.text+0x1051): undefined reference to `waddnstr'
util.c:(.text+0x11b7): undefined reference to `wmove'
util.c:(.text+0x11c7): undefined reference to `waddnstr'
util.c:(.text+0x121d): undefined reference to `wmove'
util.c:(.text+0x122d): undefined reference to `waddnstr'
scripts/kconfig/lxdialog/util.o: In function `print_button':
util.c:(.text+0x1265): undefined reference to `wmove'
util.c:(.text+0x1292): undefined reference to `waddnstr'
util.c:(.text+0x12f5): undefined reference to `waddch'
util.c:(.text+0x1324): undefined reference to `waddch'
util.c:(.text+0x1340): undefined reference to `waddnstr'
util.c:(.text+0x135d): undefined reference to `waddnstr'
util.c:(.text+0x13b4): undefined reference to `waddch'
util.c:(.text+0x13d0): undefined reference to `waddnstr'
util.c:(.text+0x13f8): undefined reference to `waddch'
util.c:(.text+0x1408): undefined reference to `waddnstr'
scripts/kconfig/lxdialog/util.o: In function `draw_box':
util.c:(.text+0x1499): undefined reference to `wmove'
util.c:(.text+0x14df): undefined reference to `waddch'
util.c:(.text+0x14fc): undefined reference to `acs_map'
util.c:(.text+0x1508): undefined reference to `waddch'
util.c:(.text+0x154d): undefined reference to `acs_map'
util.c:(.text+0x1555): undefined reference to `waddch'
util.c:(.text+0x1568): undefined reference to `acs_map'
util.c:(.text+0x1570): undefined reference to `waddch'
util.c:(.text+0x1583): undefined reference to `acs_map'
util.c:(.text+0x158b): undefined reference to `waddch'
util.c:(.text+0x15a1): undefined reference to `acs_map'
util.c:(.text+0x15a9): undefined reference to `waddch'
util.c:(.text+0x15ba): undefined reference to `acs_map'
util.c:(.text+0x15c2): undefined reference to `waddch'
util.c:(.text+0x15d3): undefined reference to `acs_map'
util.c:(.text+0x15db): undefined reference to `waddch'
util.c:(.text+0x15ec): undefined reference to `acs_map'
util.c:(.text+0x15f4): undefined reference to `waddch'
scripts/kconfig/lxdialog/util.o: In function `draw_shadow':
util.c:(.text+0x161d): undefined reference to `has_colors'
util.c:(.text+0x164a): undefined reference to `wmove'
util.c:(.text+0x1660): undefined reference to `winch'
util.c:(.text+0x166b): undefined reference to `waddch'
util.c:(.text+0x1689): undefined reference to `wmove'
util.c:(.text+0x1694): undefined reference to `winch'
util.c:(.text+0x169f): undefined reference to `waddch'
util.c:(.text+0x16a7): undefined reference to `winch'
util.c:(.text+0x16b2): undefined reference to `waddch'
scripts/kconfig/lxdialog/util.o: In function `on_key_esc':
util.c:(.text+0x17ed): undefined reference to `nodelay'
util.c:(.text+0x17f7): undefined reference to `keypad'
util.c:(.text+0x17ff): undefined reference to `wgetch'
util.c:(.text+0x1809): undefined reference to `wgetch'
util.c:(.text+0x1814): undefined reference to `wgetch'
util.c:(.text+0x1823): undefined reference to `nodelay'
util.c:(.text+0x1830): undefined reference to `keypad'
util.c:(.text+0x186c): undefined reference to `ungetch'
scripts/kconfig/lxdialog/util.o: In function `attr_clear':
util.c:(.text+0x51d): undefined reference to `wtouchln'
scripts/kconfig/lxdialog/util.o: In function `dialog_clear':
util.c:(.text+0x6f2): undefined reference to `wnoutrefresh'
scripts/kconfig/lxdialog/util.o: In function `end_dialog':
util.c:(.text+0xeb3): undefined reference to `endwin'
scripts/kconfig/lxdialog/util.o: In function `print_title':
util.c:(.text+0xf5e): undefined reference to `waddch'
scripts/kconfig/lxdialog/util.o: In function `print_button':
util.c:(.text+0x137c): undefined reference to `wmove'
scripts/kconfig/lxdialog/util.o: In function `draw_shadow':
util.c:(.text+0x16cd): undefined reference to `wnoutrefresh'
scripts/kconfig/lxdialog/yesno.o: In function `print_buttons':
yesno.c:(.text+0x65): undefined reference to `wmove'
scripts/kconfig/lxdialog/yesno.o: In function `dialog_yesno':
yesno.c:(.text+0xad): undefined reference to `stdscr'
yesno.c:(.text+0x135): undefined reference to `newwin'
yesno.c:(.text+0x145): undefined reference to `keypad'
yesno.c:(.text+0x188): undefined reference to `wmove'
yesno.c:(.text+0x194): undefined reference to `acs_map'
yesno.c:(.text+0x19c): undefined reference to `waddch'
yesno.c:(.text+0x1b3): undefined reference to `acs_map'
yesno.c:(.text+0x1bf): undefined reference to `waddch'
yesno.c:(.text+0x1e2): undefined reference to `acs_map'
yesno.c:(.text+0x1e7): undefined reference to `waddch'
yesno.c:(.text+0x237): undefined reference to `wgetch'
yesno.c:(.text+0x262): undefined reference to `delwin'
yesno.c:(.text+0x2a0): undefined reference to `delwin'
yesno.c:(.text+0x2c6): undefined reference to `delwin'
yesno.c:(.text+0x30e): undefined reference to `wrefresh'
yesno.c:(.text+0x325): undefined reference to `delwin'
yesno.c:(.text+0x343): undefined reference to `delwin'
yesno.c:(.text+0x34f): undefined reference to `stdscr'
yesno.c:(.text+0x3b3): undefined reference to `acs_map'
yesno.c:(.text+0x3ba): undefined reference to `waddch'
scripts/kconfig/lxdialog/yesno.o: In function `print_buttons':
yesno.c:(.text+0x77): undefined reference to `wrefresh'
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.host:116: scripts/kconfig/mconf] Error 1
make[1]: *** [/home/greande/src/afem/petalinux/components/yocto/workspace/sources/linux-xlnx/Makefile:567: menuconfig] Error 2
make: *** [/home/greande/src/afem/petalinux/components/yocto/workspace/sources/linux-xlnx/Makefile:179: sub-make] Error 2
Command failed.
Press any key to continue...

 

Is there any known solution for this?

0 Kudos
Reply
3 Replies
Teacher
Teacher
134 Views
Registered: ‎06-16-2013

Hi @greande 

 

What kind of OS are you using ? Ubuntu 18.04 ? or other ?

Also, would you share the following result on your linux ?

 

ls -lA /bin/sh

 

I guess it seems dash issue (default shell issue).

 

Best regards,

0 Kudos
Reply
Explorer
Explorer
123 Views
Registered: ‎02-19-2018

Unfortunately I'm stuck on Ubuntu 16.04.

 

$ ls -lA /bin/sh
lrwxrwxrwx 1 root root 4 Jan 13 13:54 /bin/sh -> bash
0 Kudos
Reply
Teacher
Teacher
64 Views
Registered: ‎06-16-2013

Hi @greande 

 

Refer the following URL.

 

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_2/ug1144-petalinux-tools-reference-guide.pdf#page=10

 

I suggest you to upgrade OS to 16.04.5 or 16.04.6, if you don't use supported OS.

 

Best regards,

0 Kudos
Reply