LTIB Config for IMX28

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LTIB Config for IMX28

2,621 Views
aarongeier
Contributor I

I am trying to use LTIB to build a RFS for an IMX28 embedded Linux build.  The project is an older project (circa 2010) that I am trying to re-build on a Ubuntu 17.

After much effort, I was able to get LTIB (version 13.2.1) to give me a prompt; however, it doesn't have IMX28 as a selectable option.  Is there a different version of LTIB I should be trying to use?

PlatformSelections.png

Labels (1)
0 Kudos
8 Replies

2,199 Views
jbriggs
Contributor I

Hi Aaron - 

I know that its been a few months but I was wondering if you found a work-around to the problem of the -l<lib> being before instead of after the compile file? I saw that I was able to go into the BUILD dir and create a patch file for the Makefile, then copy that to the SOURCE dir, delete the BUILD, add the patch to the dist/lfs-5.1/<packagename>/<packagename>.spec file, and it would build OK. But, it seem like this needs to be done for every package in the build!!! So something must be wrong.  I was building on a Unbuntu 14.04/686 (32-bit) box - I see that you were working on a 64-bit Ubuntu-17. Did you get that working? 

0 Kudos

2,199 Views
a_fontquerni
Contributor I
0 Kudos

2,199 Views
igorpadykov
NXP Employee
NXP Employee

Hi Aaron

please check nxp official ltib packages on

Board Support Packages (4)
i.MX28 Linux 2.6.35 Source Code Files and documentation
 http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i....

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

2,199 Views
aarongeier
Contributor I

Hello Igor,

After using the official package you linked me to. I am making further progress.  But now I've gotten stuck when it is trying to build the lkc 1.4 package.

As far as I can tell, it doesn't seem like the linker knows where ncurses is installed.  I have done 'sudo apt-get install libncurses5-dev' and 'sudo apt-get install libncursesw5-dev' and 'sudo apt-get install lib32ncurses5-dev' and 'sudo apt-get install lib32ncursesw5-dev', but I'm still getting this error.  I'm  using Ubuntu 17.1 for my Linux distro when building.  I'm also using GCC 4.8 (had to go back to GCC 4.8 from GCC 6.3 because I got other errors when trying to compile lkc 1.4 with GCC 6.3).

Anything I can do to get gcc to link properly?

^
cd lxdialog && make
make[1]: Entering directory '/opt/freescale/ltib/usr/src/rpm/BUILD/lkc-1.4/lxdialog'
gcc -DCURSES_LOC="<ncurses.h>" -I. -c checklist.c -o checklist.o
gcc -DCURSES_LOC="<ncurses.h>" -I. -c menubox.c -o menubox.o
gcc -DCURSES_LOC="<ncurses.h>" -I. -c textbox.c -o textbox.o
gcc -DCURSES_LOC="<ncurses.h>" -I. -c yesno.c -o yesno.o
gcc -DCURSES_LOC="<ncurses.h>" -I. -c inputbox.c -o inputbox.o
gcc -DCURSES_LOC="<ncurses.h>" -I. -c util.c -o util.o
gcc -DCURSES_LOC="<ncurses.h>" -I. -c msgbox.c -o msgbox.o
ar rc lxdialog.a checklist.o menubox.o textbox.o yesno.o inputbox.o util.o msgbox.o
ranlib lxdialog.a
make[1]: Leaving directory '/opt/freescale/ltib/usr/src/rpm/BUILD/lkc-1.4/lxdialog'
gcc -lncurses mconf.o zconf.tab.o lxdialog/lxdialog.a -o mconf
lxdialog/lxdialog.a(checklist.o): In function `print_item':
checklist.c:(.text+0x42): undefined reference to `wmove'
checklist.c:(.text+0x5c): undefined reference to `waddch'
checklist.c:(.text+0x82): undefined reference to `wmove'
checklist.c:(.text+0xdc): undefined reference to `wprintw'
checklist.c:(.text+0x108): undefined reference to `wprintw'
checklist.c:(.text+0x144): undefined reference to `wmove'
checklist.c:(.text+0x163): undefined reference to `waddch'
checklist.c:(.text+0x1a4): undefined reference to `waddnstr'
checklist.c:(.text+0x1c4): undefined reference to `wmove'
checklist.c:(.text+0x1d0): undefined reference to `wrefresh'
lxdialog/lxdialog.a(checklist.o): In function `print_arrows':
checklist.c:(.text+0x203): undefined reference to `wmove'
checklist.c:(.text+0x226): undefined reference to `acs_map'
checklist.c:(.text+0x235): undefined reference to `waddch'
checklist.c:(.text+0x24b): undefined reference to `waddnstr'
checklist.c:(.text+0x26a): undefined reference to `acs_map'
checklist.c:(.text+0x279): undefined reference to `waddch'
checklist.c:(.text+0x280): undefined reference to `acs_map'
checklist.c:(.text+0x28f): undefined reference to `waddch'
checklist.c:(.text+0x296): undefined reference to `acs_map'
checklist.c:(.text+0x2a5): undefined reference to `waddch'
checklist.c:(.text+0x2ac): undefined reference to `acs_map'
checklist.c:(.text+0x2bb): undefined reference to `waddch'
checklist.c:(.text+0x2dd): undefined reference to `wmove'
checklist.c:(.text+0x314): undefined reference to `acs_map'
checklist.c:(.text+0x323): undefined reference to `waddch'
checklist.c:(.text+0x339): undefined reference to `waddnstr'
checklist.c:(.text+0x358): undefined reference to `acs_map'
checklist.c:(.text+0x367): undefined reference to `waddch'
checklist.c:(.text+0x36e): undefined reference to `acs_map'
checklist.c:(.text+0x37d): undefined reference to `waddch'
checklist.c:(.text+0x384): undefined reference to `acs_map'
checklist.c:(.text+0x393): undefined reference to `waddch'
checklist.c:(.text+0x39a): undefined reference to `acs_map'
checklist.c:(.text+0x3a9): undefined reference to `waddch'
lxdialog/lxdialog.a(checklist.o): In function `print_buttons':
checklist.c:(.text+0x450): undefined reference to `wmove'
checklist.c:(.text+0x45c): undefined reference to `wrefresh'
lxdialog/lxdialog.a(checklist.o): In function `dialog_checklist':
checklist.c:(.text+0x4cd): undefined reference to `endwin'
checklist.c:(.text+0x5af): undefined reference to `COLS'
checklist.c:(.text+0x5c4): undefined reference to `LINES'
checklist.c:(.text+0x5da): undefined reference to `stdscr'
checklist.c:(.text+0x604): undefined reference to `newwin'
checklist.c:(.text+0x619): undefined reference to `keypad'
checklist.c:(.text+0x67e): undefined reference to `wmove'
checklist.c:(.text+0x68a): undefined reference to `acs_map'
checklist.c:(.text+0x699): undefined reference to `waddch'
checklist.c:(.text+0x6a9): undefined reference to `acs_map'
checklist.c:(.text+0x6b8): undefined reference to `waddch'
checklist.c:(.text+0x6e4): undefined reference to `acs_map'
checklist.c:(.text+0x6f3): undefined reference to `waddch'
checklist.c:(.text+0x7b1): undefined reference to `wmove'
checklist.c:(.text+0x7c7): undefined reference to `waddch'
checklist.c:(.text+0x7df): undefined reference to `waddnstr'
checklist.c:(.text+0x7f0): undefined reference to `waddch'
checklist.c:(.text+0x88d): undefined reference to `subwin'
checklist.c:(.text+0x8a2): undefined reference to `keypad'
checklist.c:(.text+0xa6e): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xa7a): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xa7f): undefined reference to `doupdate'
checklist.c:(.text+0xa90): undefined reference to `wgetch'
checklist.c:(.text+0xb96): undefined reference to `scrollok'
checklist.c:(.text+0xba7): undefined reference to `wscrl'
checklist.c:(.text+0xbb8): undefined reference to `scrollok'
checklist.c:(.text+0xc0f): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xc49): undefined reference to `wrefresh'
checklist.c:(.text+0xd02): undefined reference to `scrollok'
checklist.c:(.text+0xd13): undefined reference to `wscrl'
checklist.c:(.text+0xd24): undefined reference to `scrollok'
checklist.c:(.text+0xd86): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xdc0): undefined reference to `wrefresh'
checklist.c:(.text+0xe8a): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xe96): undefined reference to `wrefresh'
checklist.c:(.text+0xf93): undefined reference to `delwin'
checklist.c:(.text+0x1007): undefined reference to `wrefresh'
checklist.c:(.text+0x1075): undefined reference to `wmove'
checklist.c:(.text+0x10ce): undefined reference to `wprintw'
checklist.c:(.text+0x11bd): undefined reference to `wnoutrefresh'
checklist.c:(.text+0x11c9): undefined reference to `wrefresh'
checklist.c:(.text+0x1273): undefined reference to `delwin'
checklist.c:(.text+0x12f4): undefined reference to `doupdate'
checklist.c:(.text+0x1316): undefined reference to `delwin'
lxdialog/lxdialog.a(menubox.o): In function `print_item':
menubox.c:(.text+0xe4): undefined reference to `wmove'
menubox.c:(.text+0xf0): undefined reference to `wclrtoeol'
menubox.c:(.text+0x12c): undefined reference to `wmove'
menubox.c:(.text+0x149): undefined reference to `waddnstr'
menubox.c:(.text+0x190): undefined reference to `wmove'
menubox.c:(.text+0x1b5): undefined reference to `waddch'
menubox.c:(.text+0x1d5): undefined reference to `wmove'
menubox.c:(.text+0x1e1): undefined reference to `wrefresh'
lxdialog/lxdialog.a(menubox.o): In function `print_arrows':
menubox.c:(.text+0x251): undefined reference to `wmove'
menubox.c:(.text+0x274): undefined reference to `acs_map'
menubox.c:(.text+0x283): undefined reference to `waddch'
menubox.c:(.text+0x299): undefined reference to `waddnstr'
menubox.c:(.text+0x2b8): undefined reference to `acs_map'
menubox.c:(.text+0x2c7): undefined reference to `waddch'
menubox.c:(.text+0x2ce): undefined reference to `acs_map'
menubox.c:(.text+0x2dd): undefined reference to `waddch'
menubox.c:(.text+0x2e4): undefined reference to `acs_map'
menubox.c:(.text+0x2f3): undefined reference to `waddch'
menubox.c:(.text+0x2fa): undefined reference to `acs_map'
menubox.c:(.text+0x309): undefined reference to `waddch'
menubox.c:(.text+0x32b): undefined reference to `wmove'
menubox.c:(.text+0x35d): undefined reference to `acs_map'
menubox.c:(.text+0x36c): undefined reference to `waddch'
menubox.c:(.text+0x382): undefined reference to `waddnstr'
menubox.c:(.text+0x3a1): undefined reference to `acs_map'
menubox.c:(.text+0x3b0): undefined reference to `waddch'
menubox.c:(.text+0x3b7): undefined reference to `acs_map'
menubox.c:(.text+0x3c6): undefined reference to `waddch'
menubox.c:(.text+0x3cd): undefined reference to `acs_map'
menubox.c:(.text+0x3dc): undefined reference to `waddch'
menubox.c:(.text+0x3e3): undefined reference to `acs_map'
menubox.c:(.text+0x3f2): undefined reference to `waddch'
menubox.c:(.text+0x406): undefined reference to `wmove'
lxdialog/lxdialog.a(menubox.o): In function `print_buttons':
menubox.c:(.text+0x4d0): undefined reference to `wmove'
menubox.c:(.text+0x4dc): undefined reference to `wrefresh'
lxdialog/lxdialog.a(menubox.o): In function `dialog_menu':
menubox.c:(.text+0x565): undefined reference to `COLS'
menubox.c:(.text+0x57d): undefined reference to `LINES'
menubox.c:(.text+0x596): undefined reference to `stdscr'
menubox.c:(.text+0x5cc): undefined reference to `newwin'
menubox.c:(.text+0x5e1): undefined reference to `keypad'
menubox.c:(.text+0x64f): undefined reference to `wmove'
menubox.c:(.text+0x65b): undefined reference to `acs_map'
menubox.c:(.text+0x66a): undefined reference to `waddch'
menubox.c:(.text+0x67a): undefined reference to `acs_map'
menubox.c:(.text+0x689): undefined reference to `waddch'
menubox.c:(.text+0x6cf): undefined reference to `wbkgdset'
menubox.c:(.text+0x6d6): undefined reference to `acs_map'
menubox.c:(.text+0x6e5): undefined reference to `waddch'
menubox.c:(.text+0x7b2): undefined reference to `wmove'
menubox.c:(.text+0x7c8): undefined reference to `waddch'
menubox.c:(.text+0x7e0): undefined reference to `waddnstr'
menubox.c:(.text+0x7f1): undefined reference to `waddch'
menubox.c:(.text+0x8a0): undefined reference to `subwin'
menubox.c:(.text+0x8b5): undefined reference to `keypad'
menubox.c:(.text+0xbee): undefined reference to `wnoutrefresh'
menubox.c:(.text+0xc54): undefined reference to `wmove'
menubox.c:(.text+0xc60): undefined reference to `wrefresh'
menubox.c:(.text+0xc71): undefined reference to `wgetch'
menubox.c:(.text+0xeb0): undefined reference to `scrollok'
menubox.c:(.text+0xec1): undefined reference to `wscrl'
menubox.c:(.text+0xed2): undefined reference to `scrollok'
menubox.c:(.text+0xff6): undefined reference to `scrollok'
menubox.c:(.text+0x1007): undefined reference to `wscrl'
menubox.c:(.text+0x1018): undefined reference to `scrollok'
menubox.c:(.text+0x10c1): undefined reference to `scrollok'
menubox.c:(.text+0x10e5): undefined reference to `wscrl'
menubox.c:(.text+0x1174): undefined reference to `scrollok'
menubox.c:(.text+0x11b4): undefined reference to `scrollok'
menubox.c:(.text+0x11c5): undefined reference to `wscrl'
menubox.c:(.text+0x11d6): undefined reference to `scrollok'
menubox.c:(.text+0x1308): undefined reference to `wnoutrefresh'
menubox.c:(.text+0x1314): undefined reference to `wrefresh'
menubox.c:(.text+0x1479): undefined reference to `wrefresh'
menubox.c:(.text+0x14c9): undefined reference to `delwin'
menubox.c:(.text+0x1560): undefined reference to `delwin'
menubox.c:(.text+0x15b0): undefined reference to `delwin'
lxdialog/lxdialog.a(textbox.o): In function `dialog_textbox':
textbox.c:(.text+0x71): undefined reference to `endwin'
textbox.c:(.text+0xc6): undefined reference to `endwin'
textbox.c:(.text+0x110): undefined reference to `endwin'
textbox.c:(.text+0x15a): undefined reference to `endwin'
textbox.c:(.text+0x1b4): undefined reference to `endwin'
textbox.c:(.text+0x205): undefined reference to `COLS'
textbox.c:(.text+0x220): undefined reference to `LINES'
textbox.c:(.text+0x23c): undefined reference to `stdscr'
textbox.c:(.text+0x27e): undefined reference to `newwin'
textbox.c:(.text+0x299): undefined reference to `keypad'
textbox.c:(.text+0x2cf): undefined reference to `subwin'
textbox.c:(.text+0x313): undefined reference to `wbkgdset'
textbox.c:(.text+0x327): undefined reference to `keypad'
textbox.c:(.text+0x3a1): undefined reference to `wmove'
textbox.c:(.text+0x3ad): undefined reference to `acs_map'
textbox.c:(.text+0x3bf): undefined reference to `waddch'
textbox.c:(.text+0x3d2): undefined reference to `acs_map'
textbox.c:(.text+0x3e4): undefined reference to `waddch'
textbox.c:(.text+0x439): undefined reference to `wbkgdset'
textbox.c:(.text+0x440): undefined reference to `acs_map'
textbox.c:(.text+0x452): undefined reference to `waddch'
textbox.c:(.text+0x54a): undefined reference to `wmove'
textbox.c:(.text+0x563): undefined reference to `waddch'
textbox.c:(.text+0x581): undefined reference to `waddnstr'
textbox.c:(.text+0x595): undefined reference to `waddch'
textbox.c:(.text+0x5d9): undefined reference to `wnoutrefresh'
textbox.c:(.text+0x6a8): undefined reference to `wmove'
textbox.c:(.text+0x6b7): undefined reference to `wrefresh'
textbox.c:(.text+0x6cb): undefined reference to `wgetch'
textbox.c:(.text+0x834): undefined reference to `delwin'
textbox.c:(.text+0x89d): undefined reference to `endwin'
textbox.c:(.text+0x8f9): undefined reference to `endwin'
textbox.c:(.text+0x953): undefined reference to `endwin'
textbox.c:(.text+0x9fb): undefined reference to `wmove'
textbox.c:(.text+0xa0a): undefined reference to `wrefresh'
textbox.c:(.text+0xa49): undefined reference to `endwin'
textbox.c:(.text+0xaa7): undefined reference to `endwin'
textbox.c:(.text+0xb01): undefined reference to `endwin'
textbox.c:(.text+0xbc4): undefined reference to `wmove'
textbox.c:(.text+0xbd3): undefined reference to `wrefresh'
textbox.c:(.text+0xc0a): undefined reference to `scrollok'
textbox.c:(.text+0xc1e): undefined reference to `wscrl'
textbox.c:(.text+0xc32): undefined reference to `scrollok'
textbox.c:(.text+0xc87): undefined reference to `wnoutrefresh'
textbox.c:(.text+0xd19): undefined reference to `wmove'
textbox.c:(.text+0xd28): undefined reference to `wrefresh'
textbox.c:(.text+0xdb6): undefined reference to `wmove'
textbox.c:(.text+0xdc5): undefined reference to `wrefresh'
textbox.c:(.text+0xdf6): undefined reference to `scrollok'
textbox.c:(.text+0xe0a): undefined reference to `wscrl'
textbox.c:(.text+0xe1e): undefined reference to `scrollok'
textbox.c:(.text+0xe50): undefined reference to `wnoutrefresh'
textbox.c:(.text+0xe8a): undefined reference to `wmove'
textbox.c:(.text+0xe99): undefined reference to `wrefresh'
textbox.c:(.text+0xf19): undefined reference to `wmove'
textbox.c:(.text+0xf28): undefined reference to `wrefresh'
textbox.c:(.text+0xfad): undefined reference to `wmove'
textbox.c:(.text+0xfbc): undefined reference to `wrefresh'
textbox.c:(.text+0x1029): undefined reference to `wmove'
textbox.c:(.text+0x1038): undefined reference to `wrefresh'
textbox.c:(.text+0x1060): undefined reference to `delwin'
lxdialog/lxdialog.a(textbox.o): In function `back_lines':
textbox.c:(.text+0x10fe): undefined reference to `endwin'
textbox.c:(.text+0x1167): undefined reference to `endwin'
textbox.c:(.text+0x11e9): undefined reference to `endwin'
textbox.c:(.text+0x1257): undefined reference to `endwin'
textbox.c:(.text+0x12ca): undefined reference to `endwin'
lxdialog/lxdialog.a(textbox.o):textbox.c:(.text+0x133a): more undefined references to `endwin' follow
lxdialog/lxdialog.a(textbox.o): In function `print_page':
textbox.c:(.text+0x15aa): undefined reference to `wnoutrefresh'
lxdialog/lxdialog.a(textbox.o): In function `print_line':
textbox.c:(.text+0x1611): undefined reference to `wmove'
textbox.c:(.text+0x1622): undefined reference to `waddch'
textbox.c:(.text+0x1662): undefined reference to `waddnstr'
textbox.c:(.text+0x16a1): undefined reference to `wclrtoeol'
lxdialog/lxdialog.a(textbox.o): In function `get_line':
textbox.c:(.text+0x16f8): undefined reference to `endwin'
textbox.c:(.text+0x175d): undefined reference to `endwin'
lxdialog/lxdialog.a(textbox.o): In function `print_position':
textbox.c:(.text+0x18a3): undefined reference to `endwin'
textbox.c:(.text+0x18ff): undefined reference to `wbkgdset'
textbox.c:(.text+0x197a): undefined reference to `wmove'
textbox.c:(.text+0x1993): undefined reference to `wprintw'
lxdialog/lxdialog.a(yesno.o): In function `print_buttons':
yesno.c:(.text+0x9f): undefined reference to `wmove'
yesno.c:(.text+0xab): undefined reference to `wrefresh'
lxdialog/lxdialog.a(yesno.o): In function `dialog_yesno':
yesno.c:(.text+0xd8): undefined reference to `COLS'
yesno.c:(.text+0xed): undefined reference to `LINES'
yesno.c:(.text+0x103): undefined reference to `stdscr'
yesno.c:(.text+0x12d): undefined reference to `newwin'
yesno.c:(.text+0x142): undefined reference to `keypad'
yesno.c:(.text+0x1a7): undefined reference to `wmove'
yesno.c:(.text+0x1b3): undefined reference to `acs_map'
yesno.c:(.text+0x1c2): undefined reference to `waddch'
yesno.c:(.text+0x1d2): undefined reference to `acs_map'
yesno.c:(.text+0x1e1): undefined reference to `waddch'
yesno.c:(.text+0x20d): undefined reference to `acs_map'
yesno.c:(.text+0x21c): undefined reference to `waddch'
yesno.c:(.text+0x2da): undefined reference to `wmove'
yesno.c:(.text+0x2f0): undefined reference to `waddch'
yesno.c:(.text+0x308): undefined reference to `waddnstr'
yesno.c:(.text+0x319): undefined reference to `waddch'
yesno.c:(.text+0x378): undefined reference to `wgetch'
yesno.c:(.text+0x3ec): undefined reference to `delwin'
yesno.c:(.text+0x402): undefined reference to `delwin'
yesno.c:(.text+0x46a): undefined reference to `wrefresh'
yesno.c:(.text+0x478): undefined reference to `delwin'
yesno.c:(.text+0x494): undefined reference to `delwin'
lxdialog/lxdialog.a(inputbox.o): In function `print_buttons':
inputbox.c:(.text+0xa1): undefined reference to `wmove'
inputbox.c:(.text+0xad): undefined reference to `wrefresh'
lxdialog/lxdialog.a(inputbox.o): In function `dialog_inputbox':
inputbox.c:(.text+0xf4): undefined reference to `COLS'
inputbox.c:(.text+0x109): undefined reference to `LINES'
inputbox.c:(.text+0x11f): undefined reference to `stdscr'
inputbox.c:(.text+0x149): undefined reference to `newwin'
inputbox.c:(.text+0x15e): undefined reference to `keypad'
inputbox.c:(.text+0x1c3): undefined reference to `wmove'
inputbox.c:(.text+0x1cf): undefined reference to `acs_map'
inputbox.c:(.text+0x1de): undefined reference to `waddch'
inputbox.c:(.text+0x1ee): undefined reference to `acs_map'
inputbox.c:(.text+0x1fd): undefined reference to `waddch'
inputbox.c:(.text+0x229): undefined reference to `acs_map'
inputbox.c:(.text+0x238): undefined reference to `waddch'
inputbox.c:(.text+0x2f6): undefined reference to `wmove'
inputbox.c:(.text+0x30c): undefined reference to `waddch'
inputbox.c:(.text+0x324): undefined reference to `waddnstr'
inputbox.c:(.text+0x335): undefined reference to `waddch'
inputbox.c:(.text+0x42d): undefined reference to `wmove'
inputbox.c:(.text+0x4c6): undefined reference to `waddch'
inputbox.c:(.text+0x4ef): undefined reference to `waddnstr'
inputbox.c:(.text+0x508): undefined reference to `wmove'
inputbox.c:(.text+0x514): undefined reference to `wrefresh'
inputbox.c:(.text+0x525): undefined reference to `wgetch'
inputbox.c:(.text+0x5e3): undefined reference to `wmove'
inputbox.c:(.text+0x63d): undefined reference to `waddch'
inputbox.c:(.text+0x695): undefined reference to `wmove'
inputbox.c:(.text+0x6ab): undefined reference to `waddch'
inputbox.c:(.text+0x6c4): undefined reference to `wmove'
inputbox.c:(.text+0x6d0): undefined reference to `wrefresh'
inputbox.c:(.text+0x789): undefined reference to `wmove'
inputbox.c:(.text+0x7b9): undefined reference to `waddch'
inputbox.c:(.text+0x7e9): undefined reference to `wmove'
inputbox.c:(.text+0x7fe): undefined reference to `waddch'
inputbox.c:(.text+0x80a): undefined reference to `wrefresh'
inputbox.c:(.text+0x814): undefined reference to `flash'
inputbox.c:(.text+0x8b5): undefined reference to `delwin'
inputbox.c:(.text+0x8cb): undefined reference to `delwin'
inputbox.c:(.text+0x942): undefined reference to `wmove'
inputbox.c:(.text+0x94e): undefined reference to `wrefresh'
inputbox.c:(.text+0xa01): undefined reference to `wmove'
inputbox.c:(.text+0xa0d): undefined reference to `wrefresh'
inputbox.c:(.text+0xa1c): undefined reference to `delwin'
inputbox.c:(.text+0xa54): undefined reference to `delwin'
lxdialog/lxdialog.a(util.o): In function `attr_clear':
util.c:(.text+0x44): undefined reference to `wmove'
util.c:(.text+0x5e): undefined reference to `waddch'
util.c:(.text+0xa5): undefined reference to `wtouchln'
lxdialog/lxdialog.a(util.o): In function `dialog_clear':
util.c:(.text+0xbc): undefined reference to `COLS'
util.c:(.text+0xc2): undefined reference to `LINES'
util.c:(.text+0xc9): undefined reference to `stdscr'
util.c:(.text+0xe8): undefined reference to `stdscr'
util.c:(.text+0xf4): undefined reference to `stdscr'
util.c:(.text+0x106): undefined reference to `stdscr'
util.c:(.text+0x118): undefined reference to `wmove'
util.c:(.text+0x12b): undefined reference to `stdscr'
util.c:(.text+0x13b): undefined reference to `waddnstr'
util.c:(.text+0x142): undefined reference to `stdscr'
util.c:(.text+0x154): undefined reference to `wmove'
util.c:(.text+0x164): undefined reference to `acs_map'
util.c:(.text+0x16b): undefined reference to `stdscr'
util.c:(.text+0x176): undefined reference to `waddch'
util.c:(.text+0x180): undefined reference to `COLS'
util.c:(.text+0x18f): undefined reference to `stdscr'
util.c:(.text+0x197): undefined reference to `wnoutrefresh'
lxdialog/lxdialog.a(util.o): In function `init_dialog':
util.c:(.text+0x1a2): undefined reference to `initscr'
util.c:(.text+0x1a9): undefined reference to `stdscr'
util.c:(.text+0x1b6): undefined reference to `keypad'
util.c:(.text+0x1bb): undefined reference to `cbreak'
util.c:(.text+0x1c0): undefined reference to `noecho'
lxdialog/lxdialog.a(util.o): In function `color_setup':
util.c:(.text+0x1e4): undefined reference to `has_colors'
util.c:(.text+0x1f1): undefined reference to `start_color'
util.c:(.text+0x248): undefined reference to `init_pair'
lxdialog/lxdialog.a(util.o): In function `end_dialog':
util.c:(.text+0x2b8): undefined reference to `endwin'
lxdialog/lxdialog.a(util.o): In function `print_autowrap':
util.c:(.text+0x3bc): undefined reference to `wmove'
util.c:(.text+0x3da): undefined reference to `waddnstr'
util.c:(.text+0x563): undefined reference to `wmove'
util.c:(.text+0x581): undefined reference to `waddnstr'
lxdialog/lxdialog.a(util.o): In function `print_button':
util.c:(.text+0x68e): undefined reference to `wmove'
util.c:(.text+0x6c9): undefined reference to `waddnstr'
util.c:(.text+0x725): undefined reference to `waddch'
util.c:(.text+0x770): undefined reference to `waddch'
util.c:(.text+0x7b1): undefined reference to `waddnstr'
util.c:(.text+0x7ec): undefined reference to `waddnstr'
util.c:(.text+0x808): undefined reference to `wmove'
lxdialog/lxdialog.a(util.o): In function `draw_box':
util.c:(.text+0x860): undefined reference to `wmove'
util.c:(.text+0x87f): undefined reference to `acs_map'
util.c:(.text+0x895): undefined reference to `waddch'
util.c:(.text+0x8b2): undefined reference to `acs_map'
util.c:(.text+0x8c8): undefined reference to `waddch'
util.c:(.text+0x8e5): undefined reference to `acs_map'
util.c:(.text+0x8fb): undefined reference to `waddch'
util.c:(.text+0x91d): undefined reference to `acs_map'
util.c:(.text+0x933): undefined reference to `waddch'
util.c:(.text+0x945): undefined reference to `acs_map'
util.c:(.text+0x95b): undefined reference to `waddch'
util.c:(.text+0x972): undefined reference to `acs_map'
util.c:(.text+0x988): undefined reference to `waddch'
util.c:(.text+0x997): undefined reference to `acs_map'
util.c:(.text+0x9ad): undefined reference to `waddch'
util.c:(.text+0x9c1): undefined reference to `acs_map'
util.c:(.text+0x9d7): undefined reference to `waddch'
util.c:(.text+0x9f3): undefined reference to `waddch'
lxdialog/lxdialog.a(util.o): In function `draw_shadow':
util.c:(.text+0xa33): undefined reference to `has_colors'
util.c:(.text+0xa6d): undefined reference to `wmove'
util.c:(.text+0xa82): undefined reference to `winch'
util.c:(.text+0xa94): undefined reference to `waddch'
util.c:(.text+0xac4): undefined reference to `wmove'
util.c:(.text+0xad0): undefined reference to `winch'
util.c:(.text+0xae2): undefined reference to `waddch'
util.c:(.text+0xaee): undefined reference to `winch'
util.c:(.text+0xb00): undefined reference to `waddch'
util.c:(.text+0xb20): undefined reference to `wnoutrefresh'
collect2: error: ld returned 1 exit status
Makefile:103: recipe for target 'mconf' failed

0 Kudos

1,926 Views
contributor3
Contributor III

Hi, I am building the LTIB for mpc8548e  on Ubuntu 12.04 64bit and I am having the same issue. 

gcc -lncurses mconf.o zconf.tab.o lxdialog/lxdialog.a -o mconf
lxdialog/lxdialog.a(checklist.o): In function `print_item':
checklist.c:(.text+0x42): undefined reference to `wmove'
checklist.c:(.text+0x5c): undefined reference to `waddch'
checklist.c:(.text+0x82): undefined reference to `wmove'
checklist.c:(.text+0xdc): undefined reference to `wprintw'

Is there any fix/workaround for this issue?

 

0 Kudos

2,199 Views
aarongeier
Contributor I

As far as I can tell, the script that is running to build LKC is not placing -lncurses in the correct location...

gcc -lncurses mconf.o zconf.tab.o lxdialog/lxdialog.a -o mconf

should be

gcc mconf.o zconf.tab.o lxdialog/lxdialog.a -o mconf -lncurses 

When I manually do the above, the linker links fine; however, I can't continue the ./ltib script because ./ltib doesn't like it when the LKC folder is in /opt/freescale/ltib/usr/src/rpm/BUILD.  But if you remove it, then you can't get the linker to link...

0 Kudos

2,199 Views
aarongeier
Contributor I

Hello,

I tried that and got the following error message after doing ./install, and then ./ltib.

"Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /home//ltib/bin/Ltibutils.pm line 362.
Compilation failed in require at ./ltib line 39.
BEGIN failed--compilation aborted at ./ltib line 39."

0 Kudos

2,199 Views
aarongeier
Contributor I

I removed the 'defined()' on line 362 and it's happy.  PERL has deprecated the use of 'defined()' on arrays and newer versions of Linux with newer versions of PERL do not accept 'defined()'.

0 Kudos