WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Compiling tools?  (Read 6039 times)

Offline PingPing

  • Jr. Member
  • **
  • Posts: 99
Compiling tools?
« on: February 15, 2015, 11:19:33 AM »
Hi.  I wanted to compile Busybox from source.  Is compile-essentials.tcz all I need?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Compiling tools?
« Reply #1 on: February 15, 2015, 12:04:36 PM »
Hi.  I wanted to compile Busybox from source.  Is compile-essentials.tcz all I need?

Try and watch messages. You will see if something is missing.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline PingPing

  • Jr. Member
  • **
  • Posts: 99
Re: Compiling tools?
« Reply #2 on: February 15, 2015, 04:58:39 PM »
I got the following:

Code: [Select]
tc@box:/mnt/mmcblk0p2/wkg/busybox-1.23.1$ make defconfig
  HOSTCC  scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:160:0,
                 from /usr/include/limits.h:143,
                 from /usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.9.2/include-fixed/limits.h:168,
                 from /tmp/tcloop/gcc/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.9.2/include-fixed/limits.h:168,
                 from /tmp/tcloop/gcc/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.9.2/include-fixed/syslimits.h:7,
                 from /tmp/tcloop/gcc/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.9.2/include-fixed/limits.h:34,
                 from scripts/basic/fixdep.c:113:
/usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
 #include <linux/limits.h>
                          ^
compilation terminated.
scripts/Makefile.host:104: recipe for target 'scripts/basic/fixdep' failed
make[1]: *** [scripts/basic/fixdep] Error 1
Makefile:357: recipe for target 'scripts_basic' failed
make: *** [scripts_basic] Error 2
tc@box:/mnt/mmcblk0p2/wkg/busybox-1.23.1$

I'm not a developer so I can only suggest it's looking for the limits header file and can't find it.  Am I correct?  If so, where do I find it?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Compiling tools?
« Reply #3 on: February 15, 2015, 05:04:48 PM »
Install linux-3.12.y_api_headers.tcz
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Compiling tools?
« Reply #4 on: February 15, 2015, 05:12:07 PM »
Why is it not a dep on ARM? It is on x86 and x64.
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Compiling tools?
« Reply #5 on: February 15, 2015, 05:32:27 PM »
Why is it not a dep on ARM? It is on x86 and x64.

Will add.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline PingPing

  • Jr. Member
  • **
  • Posts: 99
Re: Compiling tools?
« Reply #6 on: February 16, 2015, 01:36:25 AM »
Thank you.  I've needed to install ncurses-dev.tcz as well.
Now I'm getting the below error (I've tried to keep it all in but I've had to cut it down as I'm only allowed 2000 characters in a post).
Any ideas?

Code: [Select]
tc@box:/mnt/mmcblk0p2/wkg/busybox-1.23.1$ sudo make menuconfig
  HOSTLD  scripts/kconfig/lxdialog/lxdialog
scripts/kconfig/lxdialog/lxdialog.o: In function `main':
lxdialog.c:(.text.startup+0x1fc): undefined reference to `wrefresh'
lxdialog.c:(.text.startup+0x210): undefined reference to `wrefresh'
lxdialog.c:(.text.startup+0x240): undefined reference to `stdscr'
lxdialog.c:(.text.startup+0x244): undefined reference to `LINES'
lxdialog.c:(.text.startup+0x248): undefined reference to `COLS'
scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
checklist.c:(.text+0x28): undefined reference to `wmove'
checklist.c:(.text+0x50): undefined reference to `waddch'
checklist.c:(.text+0x60): undefined reference to `waddnstr'
checklist.c:(.text+0x74): undefined reference to `wmove'
checklist.c:(.text+0xa8): undefined reference to `waddch'
checklist.c:(.text+0xbc): undefined reference to `waddnstr'
checklist.c:(.text+0xd8): undefined reference to `waddch'
checklist.c:(.text+0xe4): undefined reference to `waddch'
checklist.c:(.text+0xf0): undefined reference to `waddch'
checklist.c:(.text+0x100): undefined reference to `waddch'
checklist.c:(.text+0x120): undefined reference to `waddch'
scripts/kconfig/lxdialog/checklist.o:checklist.c:(.text+0x12c): more undefined references to `waddch' follow
scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
checklist.c:(.text+0x150): undefined reference to `acs_map'
scripts/kconfig/lxdialog/checklist.o: In function `print_buttons':
checklist.c:(.text+0x1cc): undefined reference to `wmove'
checklist.c:(.text+0x1dc): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/checklist.o: In function `print_item':
checklist.c:(.text+0x21c): undefined reference to `wmove'
.....

checklist.c:(.text+0x3c4): undefined reference to `wprintw'
checklist.c:(.text+0x3d8): undefined reference to `wmove'
scripts/kconfig/lxdialog/checklist.o: In function `dialog_checklist':
checklist.c:(.text+0x53c): undefined reference to `newwin'
checklist.c:(.text+0x548): undefined reference to `keypad'
checklist.c:(.text+0x590): undefined reference to `wmove'
checklist.c:(.text+0x5a8): undefined reference to `waddch'
checklist.c:(.text+0x5cc): undefined reference to `waddch'
checklist.c:(.text+0x5f0): undefined reference to `waddch'
checklist.c:(.text+0x670): undefined reference to `subwin'
checklist.c:(.text+0x67c): undefined reference to `keypad'
checklist.c:(.text+0x7ec): undefined reference to `wnoutrefresh'
checklist.c:(.text+0x7f4): undefined reference to `wnoutrefresh'
....

checklist.c:(.text+0xe74): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xe7c): undefined reference to `wrefresh'
checklist.c:(.text+0xe8c): undefined reference to `LINES'
checklist.c:(.text+0xe90): undefined reference to `stdscr'
checklist.c:(.text+0xe94): undefined reference to `COLS'
checklist.c:(.text+0xe9c): undefined reference to `acs_map'
scripts/kconfig/lxdialog/menubox.o: In function `do_scroll':
menubox.c:(.text+0x14): undefined reference to `scrollok'
menubox.c:(.text+0x20): undefined reference to `wscrl'
menubox.c:(.text+0x2c): undefined reference to `scrollok'
menubox.c:(.text+0x44): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `print_arrows':
menubox.c:(.text+0x80): undefined reference to `wmove'
menubox.c:(.text+0xa4): undefined reference to `waddch'
...

menubox.c:(.text+0x1b8): undefined reference to `wmove'
menubox.c:(.text+0x1e0): undefined reference to `acs_map'
scripts/kconfig/lxdialog/menubox.o: In function `do_print_item':
menubox.c:(.text+0x268): undefined reference to `wmove'
menubox.c:(.text+0x270): undefined reference to `wclrtoeol'
menubox.c:(.text+0x294): undefined reference to `wmove'
menubox.c:(.text+0x2ac): undefined reference to `waddnstr'
menubox.c:(.text+0x2e4): undefined reference to `wmove'
menubox.c:(.text+0x2f8): undefined reference to `waddch'
menubox.c:(.text+0x314): undefined reference to `wmove'
menubox.c:(.text+0x32c): undefined reference to `wrefresh'
menubox.c:(.text+0x33c): undefined reference to `wmove'
menubox.c:(.text+0x344): undefined reference to `wclrtoeol'
scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
menubox.c:(.text+0x3ec): undefined reference to `wmove'
menubox.c:(.text+0x3fc): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `dialog_menu':
menubox.c:(.text+0x4c4): undefined reference to `newwin'
menubox.c:(.text+0x4d4): undefined reference to `keypad'
...

menubox.c:(.text+0xf88): undefined reference to `waddch'
menubox.c:(.text+0xfc8): undefined reference to `COLS'
menubox.c:(.text+0xfcc): undefined reference to `LINES'
menubox.c:(.text+0xfd0): undefined reference to `stdscr'
menubox.c:(.text+0xfd8): undefined reference to `acs_map'
scripts/kconfig/lxdialog/textbox.o: In function `get_line':
textbox.c:(.text+0x120): undefined reference to `endwin'
textbox.c:(.text+0x144): undefined reference to `endwin'
scripts/kconfig/lxdialog/textbox.o: In function `back_lines':
textbox.c:(.text+0x394): undefined reference to `endwin'
textbox.c:(.text+0x3b8): undefined reference to `endwin'
textbox.c:(.text+0x404): undefined reference to `endwin'
scripts/kconfig/lxdialog/textbox.o:textbox.c:(.text+0x42c): more undefined references to `endwin' follow
scripts/kconfig/lxdialog/textbox.o: In function `print_line':
textbox.c:(.text+0x4f4): undefined reference to `wmove'
textbox.c:(.text+0x500): undefined reference to `waddch'
textbox.c:(.text+0x520): undefined reference to `waddnstr'
textbox.c:(.text+0x52c): undefined reference to `wclrtoeol'
scripts/kconfig/lxdialog/textbox.o: In function `print_page':
textbox.c:(.text+0x598): undefined reference to `wnoutrefresh'
scripts/kconfig/lxdialog/textbox.o: In function `print_position':
textbox.c:(.text+0x5ec): undefined reference to `wbkgdset'
textbox.c:(.text+0x638): undefined reference to `wmove'
textbox.c:(.text+0x64c): undefined reference to `wprintw'
textbox.c:(.text+0x650): undefined reference to `endwin'
scripts/kconfig/lxdialog/textbox.o: In function `dialog_textbox':
textbox.c:(.text+0x78c): undefined reference to `newwin'
textbox.c:(.text+0x798): undefined reference to `keypad'
textbox.c:(.text+0x7c0): undefined reference to `subwin'
textbox.c:(.text+0x7e8): undefined reference to `wbkgdset'
textbox.c:(.text+0x7f4): undefined reference to `keypad'
textbox.c:(.text+0x838): undefined reference to `wmove'
textbox.c:(.text+0x850): undefined reference to `waddch'
textbox.c:(.text+0x86c): undefined reference to `waddch'
textbox.c:(.text+0x890): undefined reference to `wbkgdset'
textbox.c:(.text+0x89c): undefined reference to `waddch'
textbox.c:(.text+0x8d8): undefined reference to `wnoutrefresh'
textbox.c:(.text+0x934): undefined reference to `wmove'
textbox.c:(.text+0x93c): undefined reference to `wrefresh'
textbox.c:(.text+0x948): undefined reference to `wgetch'
textbox.c:(.text+0x9ac): undefined reference to `delwin'
textbox.c:(.text+0xa8c): undefined reference to `scrollok'
textbox.c:(.text+0xa98): undefined reference to `wscrl'
textbox.c:(.text+0xaa4): undefined reference to `scrollok'
textbox.c:(.text+0xabc): undefined reference to `wnoutrefresh'
textbox.c:(.text+0xafc): undefined reference to `delwin'
textbox.c:(.text+0xb68): undefined reference to `wmove'
textbox.c:(.text+0xb70): undefined reference to `wrefresh'
textbox.c:(.text+0xce8): undefined reference to `scrollok'
textbox.c:(.text+0xcf4): undefined reference to `wscrl'
textbox.c:(.text+0xd00): undefined reference to `scrollok'
textbox.c:(.text+0xdec): undefined reference to `wbkgdset'
textbox.c:(.text+0xdf8): undefined reference to `waddch'
textbox.c:(.text+0xe44): undefined reference to `wnoutrefresh'
textbox.c:(.text+0xe60): undefined reference to `wnoutrefresh'
textbox.c:(.text+0xe68): undefined reference to `endwin'
textbox.c:(.text+0xe8c): undefined reference to `endwin'
textbox.c:(.text+0xeb0): undefined reference to `endwin'
textbox.c:(.text+0xed8): undefined reference to `endwin'
textbox.c:(.text+0xefc): undefined reference to `endwin'
scripts/kconfig/lxdialog/textbox.o:textbox.c:(.text+0xf24): more undefined references to `endwin' follow
scripts/kconfig/lxdialog/textbox.o: In function `dialog_textbox':
textbox.c:(.text+0xf74): undefined reference to `COLS'
textbox.c:(.text+0xf78): undefined reference to `LINES'
textbox.c:(.text+0xf7c): undefined reference to `stdscr'
textbox.c:(.text+0xf84): undefined reference to `acs_map'
scripts/kconfig/lxdialog/yesno.o: In function `print_buttons':
yesno.c:(.text+0x74): undefined reference to `wmove'
yesno.c:(.text+0x84): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/yesno.o: In function `dialog_yesno':
yesno.c:(.text+0x100): undefined reference to `newwin'
yesno.c:(.text+0x10c): undefined reference to `keypad'
yesno.c:(.text+0x150): undefined reference to `wmove'
yesno.c:(.text+0x168): undefined reference to `waddch'
yesno.c:(.text+0x188): undefined reference to `waddch'
yesno.c:(.text+0x1ac): undefined reference to `waddch'
yesno.c:(.text+0x200): undefined reference to `wgetch'
yesno.c:(.text+0x234): undefined reference to `delwin'
yesno.c:(.text+0x25c): undefined reference to `delwin'
yesno.c:(.text+0x294): undefined reference to `wrefresh'
yesno.c:(.text+0x2a4): undefined reference to `delwin'
yesno.c:(.text+0x2b4): undefined reference to `delwin'
yesno.c:(.text+0x2c8): undefined reference to `delwin'
yesno.c:(.text+0x30c): undefined reference to `waddch'
yesno.c:(.text+0x324): undefined reference to `COLS'
yesno.c:(.text+0x328): undefined reference to `LINES'
yesno.c:(.text+0x32c): undefined reference to `stdscr'
yesno.c:(.text+0x334): undefined reference to `acs_map'
scripts/kconfig/lxdialog/inputbox.o: In function `print_buttons':
inputbox.c:(.text+0x70): undefined reference to `wmove'
inputbox.c:(.text+0x80): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/inputbox.o: In function `dialog_inputbox':
inputbox.c:(.text+0xfc): undefined reference to `newwin'
inputbox.c:(.text+0x108): undefined reference to `keypad'
inputbox.c:(.text+0x14c): undefined reference to `wmove'
inputbox.c:(.text+0x164): undefined reference to `waddch'
inputbox.c:(.text+0x184): undefined reference to `waddch'
inputbox.c:(.text+0x1ac): undefined reference to `waddch'
inputbox.c:(.text+0x234): undefined reference to `wmove'
inputbox.c:(.text+0x2b0): undefined reference to `waddch'
inputbox.c:(.text+0x2c8): undefined reference to `wmove'
inputbox.c:(.text+0x2d0): undefined reference to `wrefresh'
inputbox.c:(.text+0x2e8): undefined reference to `wgetch'
inputbox.c:(.text+0x334): undefined reference to `delwin'
inputbox.c:(.text+0x418): undefined reference to `wmove'
inputbox.c:(.text+0x428): undefined reference to `waddch'
inputbox.c:(.text+0x430): undefined reference to `wrefresh'
inputbox.c:(.text+0x44c): undefined reference to `delwin'
inputbox.c:(.text+0x4c8): undefined reference to `wmove'
inputbox.c:(.text+0x500): undefined reference to `waddch'
inputbox.c:(.text+0x540): undefined reference to `wmove'
inputbox.c:(.text+0x554): undefined reference to `waddch'
inputbox.c:(.text+0x564): undefined reference to `wmove'
inputbox.c:(.text+0x56c): undefined reference to `wrefresh'
inputbox.c:(.text+0x5a0): undefined reference to `delwin'
inputbox.c:(.text+0x5b4): undefined reference to `delwin'
inputbox.c:(.text+0x5d8): undefined reference to `delwin'
inputbox.c:(.text+0x62c): undefined reference to `wmove'
inputbox.c:(.text+0x634): undefined reference to `wrefresh'
inputbox.c:(.text+0x660): undefined reference to `waddnstr'
inputbox.c:(.text+0x6e4): undefined reference to `waddch'
inputbox.c:(.text+0x758): undefined reference to `wmove'
inputbox.c:(.text+0x78c): undefined reference to `wmove'
inputbox.c:(.text+0x794): undefined reference to `wrefresh'
inputbox.c:(.text+0x7a0): undefined reference to `flash'
inputbox.c:(.text+0x7b8): undefined reference to `wmove'
inputbox.c:(.text+0x7ec): undefined reference to `waddch'
inputbox.c:(.text+0x804): undefined reference to `COLS'
inputbox.c:(.text+0x808): undefined reference to `LINES'
inputbox.c:(.text+0x80c): undefined reference to `stdscr'
inputbox.c:(.text+0x814): undefined reference to `acs_map'
scripts/kconfig/lxdialog/util.o: In function `attr_clear':
util.c:(.text+0x30): undefined reference to `wmove'
util.c:(.text+0x4c): undefined reference to `waddch'
util.c:(.text+0x84): undefined reference to `wtouchln'
scripts/kconfig/lxdialog/util.o: In function `dialog_clear':
util.c:(.text+0xe8): undefined reference to `wmove'
util.c:(.text+0x100): undefined reference to `waddnstr'
util.c:(.text+0x110): undefined reference to `wmove'
util.c:(.text+0x130): undefined reference to `waddch'
util.c:(.text+0x150): undefined reference to `wnoutrefresh'
util.c:(.text+0x154): undefined reference to `LINES'
util.c:(.text+0x158): undefined reference to `stdscr'
util.c:(.text+0x15c): undefined reference to `COLS'
util.c:(.text+0x168): undefined reference to `acs_map'
scripts/kconfig/lxdialog/util.o: In function `color_setup':
util.c:(.text+0x170): undefined reference to `has_colors'
util.c:(.text+0x180): undefined reference to `start_color'
util.c:(.text+0x19c): undefined reference to `init_pair'
scripts/kconfig/lxdialog/util.o: In function `init_dialog':
util.c:(.text+0x1ec): undefined reference to `initscr'
util.c:(.text+0x1fc): undefined reference to `keypad'
util.c:(.text+0x200): undefined reference to `cbreak'
util.c:(.text+0x204): undefined reference to `noecho'
util.c:(.text+0x224): undefined reference to `stdscr'
scripts/kconfig/lxdialog/util.o: In function `end_dialog':
util.c:(.text+0x22c): undefined reference to `endwin'
scripts/kconfig/lxdialog/util.o: In function `print_title':
util.c:(.text+0x284): undefined reference to `wmove'
util.c:(.text+0x298): undefined reference to `waddch'
util.c:(.text+0x2a8): undefined reference to `wmove'
util.c:(.text+0x2c0): undefined reference to `waddnstr'
util.c:(.text+0x2d0): undefined reference to `waddch'
scripts/kconfig/lxdialog/util.o: In function `print_autowrap':
util.c:(.text+0x40c): undefined reference to `wmove'
util.c:(.text+0x41c): undefined reference to `waddnstr'
util.c:(.text+0x484): undefined reference to `wmove'
util.c:(.text+0x494): undefined reference to `waddnstr'
util.c:(.text+0x4e8): undefined reference to `wmove'
util.c:(.text+0x4f8): undefined reference to `waddnstr'
util.c:(.text+0x51c): undefined reference to `wmove'
util.c:(.text+0x52c): undefined reference to `waddnstr'
scripts/kconfig/lxdialog/util.o: In function `print_button':
util.c:(.text+0x55c): undefined reference to `wmove'
util.c:(.text+0x588): undefined reference to `waddnstr'
util.c:(.text+0x5b4): undefined reference to `waddnstr'
util.c:(.text+0x620): undefined reference to `waddch'
util.c:(.text+0x650): undefined reference to `waddch'
util.c:(.text+0x668): undefined reference to `waddnstr'
util.c:(.text+0x680): undefined reference to `waddnstr'
util.c:(.text+0x698): undefined reference to `wmove'
util.c:(.text+0x6ac): undefined reference to `waddnstr'
util.c:(.text+0x6d8): undefined reference to `waddch'
util.c:(.text+0x6f0): undefined reference to `waddnstr'
util.c:(.text+0x720): undefined reference to `waddch'
util.c:(.text+0x730): undefined reference to `waddnstr'
scripts/kconfig/lxdialog/util.o: In function `draw_box':
util.c:(.text+0x790): undefined reference to `wmove'
util.c:(.text+0x7f4): undefined reference to `waddch'
util.c:(.text+0x820): undefined reference to `waddch'
util.c:(.text+0x85c): undefined reference to `waddch'
util.c:(.text+0x874): undefined reference to `waddch'
util.c:(.text+0x894): undefined reference to `waddch'
scripts/kconfig/lxdialog/util.o:util.c:(.text+0x8ac): more undefined references to `waddch' follow
scripts/kconfig/lxdialog/util.o: In function `draw_box':
util.c:(.text+0x8e4): undefined reference to `acs_map'
scripts/kconfig/lxdialog/util.o: In function `draw_shadow':
util.c:(.text+0x900): undefined reference to `has_colors'
util.c:(.text+0x92c): undefined reference to `wmove'
util.c:(.text+0x940): undefined reference to `winch'
util.c:(.text+0x950): undefined reference to `waddch'
util.c:(.text+0x978): undefined reference to `wmove'
util.c:(.text+0x980): undefined reference to `winch'
util.c:(.text+0x98c): undefined reference to `waddch'
util.c:(.text+0x994): undefined reference to `winch'
util.c:(.text+0x9a4): undefined reference to `waddch'
util.c:(.text+0x9b8): undefined reference to `wnoutrefresh'
scripts/kconfig/lxdialog/msgbox.o: In function `dialog_msgbox':
msgbox.c:(.text+0x74): undefined reference to `newwin'
msgbox.c:(.text+0x80): undefined reference to `keypad'
msgbox.c:(.text+0x108): undefined reference to `wmove'
msgbox.c:(.text+0x120): undefined reference to `waddch'
msgbox.c:(.text+0x13c): undefined reference to `waddch'
msgbox.c:(.text+0x15c): undefined reference to `waddch'
msgbox.c:(.text+0x188): undefined reference to `wrefresh'
msgbox.c:(.text+0x1a8): undefined reference to `wgetch'
msgbox.c:(.text+0x1c4): undefined reference to `delwin'
msgbox.c:(.text+0x204): undefined reference to `wrefresh'
msgbox.c:(.text+0x20c): undefined reference to `delwin'
msgbox.c:(.text+0x21c): undefined reference to `LINES'
msgbox.c:(.text+0x220): undefined reference to `COLS'
msgbox.c:(.text+0x224): undefined reference to `stdscr'
msgbox.c:(.text+0x22c): undefined reference to `acs_map'
collect2: error: ld returned 1 exit status
scripts/Makefile.host:113: recipe for target 'scripts/kconfig/lxdialog/lxdialog' failed
make[2]: *** [scripts/kconfig/lxdialog/lxdialog] Error 1
/mnt/mmcblk0p2/wkg/busybox-1.23.1/scripts/kconfig/Makefile:14: recipe for target 'menuconfig' failed
make[1]: *** [menuconfig] Error 2
Makefile:443: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
tc@box:/mnt/mmcblk0p2/wkg/busybox-1.23.1$

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: Compiling tools?
« Reply #7 on: February 16, 2015, 01:49:31 AM »
Hi PingPing
Did you install ncurses.tcz?

Offline PingPing

  • Jr. Member
  • **
  • Posts: 99
Re: Compiling tools?
« Reply #8 on: February 16, 2015, 02:23:27 AM »
Thanks.  Yes.  It was already installed:
Code: [Select]
A)bout I)nstall O)nDemand D)epends T)ree F)iles siZ)e L)ist S)earch P)rovides K)eywords or Q)uit:
ncurses is already installed!
 ncurses.tcz
A)bout I)nstall O)nDemand D)epends T)ree F)iles siZ)e L)ist S)earch P)rovides K)eywords or Q)uit:

Offline PingPing

  • Jr. Member
  • **
  • Posts: 99
Re: Compiling tools?
« Reply #9 on: February 17, 2015, 02:13:49 AM »
I tried compiling with Core-6.0 and got the same error messages.  Can anyone help point me in the right direction?

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: Compiling tools?
« Reply #10 on: February 17, 2015, 02:32:49 AM »
Hi PingPing
Those  "undefined reference to"  messages are referring to ncurses functions it can't find.

Offline PingPing

  • Jr. Member
  • **
  • Posts: 99
Re: Compiling tools?
« Reply #11 on: February 17, 2015, 03:26:19 PM »
Thanks Rich.

I've installed:

1.  ncurses-dev.tcz
2.  ncurses-terminfo.tcz
3.  ncurses-utils.tcz
4.  ncurses.tcz

and I'm still getting the same errors.  Maybe I'm doing something wrong?  I 'installed' them by using 'tce-ab' and, when it came up, I used 'I' for (I)nstall.

 :'(

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: Compiling tools?
« Reply #12 on: February 17, 2015, 04:27:48 PM »
Hi PingPing
Are you using the source file from the repo? It's located here:
http://tinycorelinux.net/6.x/armv6/tcz/src/busybox-httpd/

Offline PingPing

  • Jr. Member
  • **
  • Posts: 99
Re: Compiling tools?
« Reply #13 on: February 18, 2015, 03:43:44 PM »
Hi Rich.

No, I was trying to compile source from http://www.busybox.net/downloads.
I've tried compiling the source file in the tiny core repo you pointed to but I'm still getting the same message.
Interestingly (or maybe not) I can still compile the code if I don't chose 'make menuconfig', ie. if I manually edit the .config file and make my selections in there.