Ticket #2356 (closed defect: fixed)

Opened 14 years ago

Last modified 13 years ago

mc viewer: segmentation fault

Reported by: laborer Owned by: slavazanko
Priority: major Milestone: 4.7.5
Component: mcview Version: 4.7.4
Keywords: Cc: zaytsev
Blocked By: Blocking:
Branch state: Votes for changeset: commited-master

Description (last modified by slyfox) (diff)

I compiled mc with ncurses for ARM. It generally works. But when i open ANY text file in internal viewer the program crashes.

My system: armv5tel GNU/Linux, kernel 2.6.22.19
My compiler: arm-xscale-linux-gnueabi-gcc 4.2.3

$ mc -V
GNU Midnight Commander 4.7.4
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish
With builtin Editor
Using the ncurses library
With subshell support as default
With support for background operations
With mouse support on xterm
With internationalization support
With multiple codepages support
Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 32;

backtrace:

(gdb) bt
#0  0x401e1b14 in strlen () from /lib/libc.so.6
#1  0x401b3534 in vfprintf () from /lib/libc.so.6
#2  0x401d3f48 in vsnprintf () from /lib/libc.so.6
#3  0x401331e8 in _nc_printf_string () from /usr/lib/libncurses.so.5
#4  0x4012eff8 in vwprintw () from /usr/lib/libncurses.so.5
#5  0x0005fc44 in tty_printf (fmt=0xa40f8 "") at tty-ncurses.c:409
#6  0x0006ff9c in mcview_display_status (view=0x125140) at display.c:157
#7  0x0006db64 in mcview_callback (w=0x125140, msg=WIDGET_DRAW, parm=0)
    at actions_cmd.c:468
#8  0x00011508 in send_message (h=0x124e20, message=604, reverse=1, flags=0)
    at dialog.h:269
#9  dlg_broadcast_msg_to (h=0x124e20, message=604, reverse=1, flags=0)
    at dialog.c:444
#10 0x000115d4 in dlg_redraw (h=0x124e20) at dialog.c:693
#11 0x00011cd8 in init_dlg (h=0x124e20) at dialog.c:976
#12 0x00011d68 in run_dlg (h=0xa9118) at dialog.c:1074
#13 0x0004c828 in mcview_viewer (command=0x0, file=0x119840 ".ash_history", 
    start_line=267) at mcviewer.c:265
#14 0x0002d914 in view_file_at_line (filename=0x119840 ".ash_history", 
    plain_view=<value optimized out>, internal=<value optimized out>, 
    start_line=0) at cmd.c:176
#15 0x0002db9c in do_view_cmd (normal=0) at cmd.c:279
#16 0x00046608 in midnight_execute_cmd (sender=0x12a720, command=7071)
---Type <return> to continue, or q <return> to quit---q
 at main.cQuit
(gdb) bt
#0  0x401e1b14 in strlen () from /lib/libc.so.6
#1  0x401b3534 in vfprintf () from /lib/libc.so.6
#2  0x401d3f48 in vsnprintf () from /lib/libc.so.6
#3  0x401331e8 in _nc_printf_string () from /usr/lib/libncurses.so.5
#4  0x4012eff8 in vwprintw () from /usr/lib/libncurses.so.5
#5  0x0005fc44 in tty_printf (fmt=0xa40f8 "") at tty-ncurses.c:409
#6  0x0006ff9c in mcview_display_status (view=0x125140) at display.c:157
#7  0x0006db64 in mcview_callback (w=0x125140, msg=WIDGET_DRAW, parm=0)
    at actions_cmd.c:468
#8  0x00011508 in send_message (h=0x124e20, message=604, reverse=1, flags=0)
    at dialog.h:269
#9  dlg_broadcast_msg_to (h=0x124e20, message=604, reverse=1, flags=0)
    at dialog.c:444
#10 0x000115d4 in dlg_redraw (h=0x124e20) at dialog.c:693
#11 0x00011cd8 in init_dlg (h=0x124e20) at dialog.c:976
#12 0x00011d68 in run_dlg (h=0xa9118) at dialog.c:1074
#13 0x0004c828 in mcview_viewer (command=0x0, file=0x119840 ".ash_history", 
    start_line=267) at mcviewer.c:265
#14 0x0002d914 in view_file_at_line (filename=0x119840 ".ash_history", 
    plain_view=<value optimized out>, internal=<value optimized out>, 
    start_line=0) at cmd.c:176
#15 0x0002db9c in do_view_cmd (normal=0) at cmd.c:279
#16 0x00046608 in midnight_execute_cmd (sender=0x12a720, command=7071)
---Type <return> to continue, or q <return> to quit---
    at main.c:1251
#17 0x00046c08 in midnight_callback (h=<value optimized out>, sender=0xa9118, 
    msg=3201143928, parm=7071, data=0x40290000) at main.c:1604
#18 0x0001b240 in buttonbar_call (bb=0x25c, i=<value optimized out>)
    at widget.c:3019
#19 0x0001b890 in buttonbar_callback (w=0x12a720, msg=<value optimized out>, 
    parm=267) at widget.c:3107
#20 0x00011c0c in send_message (h=0x118878, key=267, 
    event=<value optimized out>) at dialog.h:269
#21 dlg_try_hotkey (h=0x118878, key=267, event=<value optimized out>)
    at dialog.c:888
#22 dlg_key_event (h=0x118878, key=267, event=<value optimized out>)
    at dialog.c:935
#23 dlg_process_event (h=0x118878, key=267, event=<value optimized out>)
    at dialog.c:1003
#24 0x00011e4c in frontend_run_dlg (h=0x118878) at dialog.c:1045
#25 run_dlg (h=0x118878) at dialog.c:1075
#26 0x000452a8 in create_panels_and_run_mc () at main.c:1716
#27 do_nc () at main.c:1798
#28 0x00045998 in main (argc=<value optimized out>, argv=<value optimized out>)
    at main.c:2048

Need some more information?

Change History

comment:1 follow-up: ↓ 4 Changed 14 years ago by slyfox

  • Description modified (diff)

Do you use some distro or you've built everything youself?

comment:2 Changed 14 years ago by slyfox

  • Description modified (diff)

comment:3 Changed 14 years ago by andrew_b

#5 0x0005fc44 in tty_printf (fmt=0xa40f8 "") at tty-ncurses.c:409
#6 0x0006ff9c in mcview_display_status (view=0x125140) at display.c:157

I want look at all arguments of tty_printf() at this point.

comment:4 in reply to: ↑ 1 Changed 14 years ago by laborer

Replying to slyfox:

Do you use some distro or you've built everything youself?

No disto. It's embedded system. I am build all manually.
My configure(with some shell variables):

./configure CC="${TOOLCHAIN_PREFIX}-gcc -L${NCURSES_ROOT}/build/lib" --host=${TOOLCHAIN_PREFIX} --prefix=$MC_ROOT/build --with-screen=ncurses --with-ncurses-includes=${NCURSES_ROOT}/build/include --with-ncurses-libs=${NCURSES_ROOT}/build/lib --without-x GLIB_CFLAGS="-I${GLIB_ROOT}/build/include/glib-2.0" GLIB_LIBS="${GLIB_ROOT}/build/lib/libglib-2.0.so" \

GMODULE_CFLAGS="-I${GLIB_ROOT}/build/include/glib-2.0" GMODULE_LIBS="${GLIB_ROOT}/build/lib/libgmodule-2.0.so" --with-subshell --disable-largefile

comment:5 follow-up: ↓ 7 Changed 14 years ago by laborer

Replying to andrew_b:

I want look at all arguments of tty_printf() at this point.

(gdb) frame 6
#6 0x0006ff9c in mcview_display_status (view=0x125140) at display.c:157
157 in display.c
(gdb) info locals
buffer = "755\000\n\000\000\000
\002\000\000L.\a\000\310t\t\000\334\b\000\000\000\000\000\000\001\000\000\000\304\000\000\000\000\000\000\000=\000\000\000\334\233\005@\n\000\000\000\001\000\000\000\000\000\000\000@Q\022"
top = 0
left = 0
width = 196
file_label = 0xea2b8 ".ash_history"
(gdb) print *view
$1 = {widget = {x = 0, y = 0, cols = 196, lines = 60, options = W_WANT_CURSOR,

pos_flags = 5, id = 0, callback = 0x6da9c <mcview_callback>,
mouse = 0x4c878 <mcview_real_event>, owner = 0x124e20},

filename = 0xea2b8 ".ash_history", workdir = 0x126300 "/root",
command = 0x0, datasource = DS_FILE, ds_stdio_pipe = 0x0, ds_vfs_pipe = 0,
ds_file_fd = 100, ds_file_filesize = 755, ds_file_offset = 0,
ds_file_data = 0x145970 "mc\nshowlog \nmc\nls -l /xbin/\n - /\nls -l /usr/local/bin/\nls -l etc\nls -l /etc\nls -l /\nls -l /bin/busybox \nbusybox \nmc\nwhich mc\nls -l $(which mc)\nstrace \nulimit\nulimit -c unlimited\nmc\nls -l\npwd\ncd ..\nls "..., ds_file_datalen = 755, ds_file_datasize = 4096,
ds_string_data = 0x0, ds_string_len = 0, growbuf_in_use = 0,
growbuf_blockptr = 0x0, growbuf_lastindex = 0, growbuf_finished = 0,
hex_mode = 0, hexedit_mode = 0, hexview_in_text = 0, text_nroff_mode = 0,
text_wrap_mode = 1, magic_mode = 1, hexedit_lownibble = 0, locked = 0,
utf8 = 0, coord_cache = 0x0, dpy_frame_size = 0, dpy_start = 0,
dpy_end = 604, dpy_text_column = 0, hex_cursor = 0, cursor_col = 0,
cursor_row = 0, change_list = 0x0, status_area = {top = 0, left = 0,

height = 1, width = 196}, ruler_area = {top = 0, left = 0, height = 0,
width = 196}, data_area = {top = 1, left = 0, height = 59, width = 196},

dirty = 11, dpy_bbar_dirty = 1, bytes_per_line = 40, search_start = 0,
search_end = 0, marker = 0, marks = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
move_dir = 0, update_steps = 0, update_activate = 0, converter = 0x126310,
plain_map = 0x11cb80, hex_map = 0x12c600, search = 0x0,

---Type <return> to continue, or q <return> to quit---

last_search_string = 0x0, search_nroff_seq = 0x0, search_numNeedSkipChar = 0}

(gdb)
(gdb) print source_codepage
$3 = -1
(gdb)
(gdb) print view->dpy_end
$5 = 604

comment:6 Changed 14 years ago by laborer

Bug was also observed in mc 4.7.2

comment:7 in reply to: ↑ 5 ; follow-up: ↓ 8 Changed 14 years ago by andrew_b

No. I've asked about tty_printf(). In your backtrace I see the following:

#5  0x0005fc44 in tty_printf (fmt=0xa40f8 "") at tty-ncurses.c:409

In my breakpoint I see

tty_printf (fmt=0x8117a93 "%9lli/%s%s %s") at tty-ncurses.c:408

I wonder why your fmt is empty. As you can see the code, fmt cannot be empty

157             tty_printf ("%9lli/%s%s %s", view->dpy_end,

comment:8 in reply to: ↑ 7 ; follow-up: ↓ 9 Changed 14 years ago by laborer

I understood the situation.
May be debugger or compiler bug?
How to debug further?

comment:9 in reply to: ↑ 8 ; follow-up: ↓ 17 Changed 14 years ago by laborer

Replying to laborer:

I tested the format string "%9lli" on my ARM-machine and discovered that it does not work correctly.
Code:

#include "stdio.h"

int main (void)
{
  printf("%d\n", 5);
  printf("%9lli\n", 5);

  return 0;
}

Output on x86:

5
        5

Output on ARM:

5
4294967296

It looks like a bug gcc/libc.
I'm using toolchain with gcc 4.2.3/glibc 2.8. Can anyone test this on a newer gcc/libc?

comment:10 follow-up: ↓ 11 Changed 14 years ago by zaytsev

No one has ARM in the first place. I think it's more reasonable to ask on gcc / glibc mailing lists.

comment:11 in reply to: ↑ 10 ; follow-up: ↓ 12 Changed 14 years ago by laborer

Replying to zaytsev:

Variable "view->dpy_end" has type "off_t". On 32-bits machines is int32(see <unistd.h>). On 64-bits machines is int64.
Format string "%lli" is intended for use with a variable of type int64, not int32.
May be necessary to change the format string depending on the size of off_t?
"%9li" -> 32 bits
"%9lli" -> 64 bits

To determine this POSIX provides macroses such USE_FILE_OFFSET64.

No one has ARM in the first place. I think it's more reasonable to ask on gcc / glibc mailing lists.

On many other platforms(such as mips) may be similar difficulties.

comment:12 in reply to: ↑ 11 ; follow-up: ↓ 18 Changed 14 years ago by laborer

Replying to laborer:
Here simple patch

--- src/viewer/display.c	2010-09-20 19:00:30.349286598 +0400
+++ src/viewer/display.c	2010-09-20 19:05:21.393285239 +0400
@@ -36,6 +36,7 @@
  */
 
 #include <config.h>
+#include <unistd.h>
 
 #include "lib/global.h"
 #include "lib/skin.h"
@@ -154,7 +155,11 @@
         else
         {
             size_trunc_len (buffer, 5, mcview_get_filesize (view), 0, panels_options.kilobyte_si);
+#ifdef _FILE_OFFSET_BITS
             tty_printf ("%9lli/%s%s %s", view->dpy_end,
+#else
+            tty_printf ("%9li/%s%s %s", view->dpy_end,
+#endif
                         buffer, mcview_may_still_grow (view) ? "+" : " ",
 #ifdef HAVE_CHARSET
                         source_codepage >= 0 ? get_codepage_id (source_codepage) : ""

It's work for me!

comment:13 follow-up: ↓ 14 Changed 14 years ago by andrew_b

Would you try %9ji instead of %9lli?

comment:14 in reply to: ↑ 13 Changed 14 years ago by laborer

Replying to andrew_b:

Would you try %9ji instead of %9lli?

Same result

comment:15 Changed 14 years ago by zaytsev

  • Cc zaytsev added

According to Stackoverflow, you should cast them and then use a standard macro:

http://stackoverflow.com/questions/1401526

That is cast to uintmax_t and use PRIXMAX, such as

  printf("%9" PRIXMAX "\n", (uintmax_t) 5);

On our MIPS boxes it's working fine. We don't have any ARM boxes.

comment:16 Changed 14 years ago by zaytsev

Sorry, PRIuMAX. This is my i386:

#include <stdio.h>
#include <inttypes.h>

int main (void)
{
  printf("%d\n", 27);
  printf("%9lli\n", 27);
  printf("%9" PRIuMAX "\n", (uintmax_t) 27);

  return 0;
}

zyv@mypride:~/Documents/test/mc-test/types$ gcc types.c 
zyv@mypride:~/Documents/test/mc-test/types$ ./a.out 
27
-4640412786927599589
       27

comment:17 in reply to: ↑ 9 Changed 14 years ago by slyfox

I tested the format string "%9lli" on my ARM-machine and discovered that it does not work correctly.
Code:

#include "stdio.h"

int main (void)
{
  printf("%d\n", 5);
  printf("%9lli\n", 5);

  return 0;
}

Your testcase is incorrect. 5 in secon case has int and you get garbage on stack.
gcc wans about it on high level of warnings:

slyfox@sheeva /tmp $ LANG=C gcc -Wall -W a.c -o a
a.c: In function 'main':
a.c:6: warning: format '%9lli' expects type 'long long int', but argument 2 has type 'int'

This thing should make it happier:

#include "stdio.h"

int main (void)
{
  printf("%d\n", 5);
  printf("%9lli\n", (long long int)5);

  return 0;
}

comment:18 in reply to: ↑ 12 ; follow-up: ↓ 22 Changed 14 years ago by slyfox

+#ifdef _FILE_OFFSET_BITS

tty_printf ("%9lli/%s%s %s", view->dpy_end,

+#else
+ tty_printf ("%9li/%s%s %s", view->dpy_end,
+#endif

I would simplify it a little. As we are sure long long would be enough:

  • tty_printf ("%9lli/%s%s %s", view->dpy_end,

+ tty_printf ("%9lli/%s%s %s", (long long)view->dpy_end,

BTW, when mc builds for you it should complain about printf argument mismatch aloud.
Can you post the whole build log here to fix all occurences? They must be fixed.

And the last question: Dou you glibc or other libc (uclibc or the like)?

comment:19 follow-up: ↓ 20 Changed 14 years ago by zaytsev

Hey, Sly. I am not entirely convinced by your solution. Why not

    - tty_printf ("%9lli/%s%s %s", view->dpy_end,
    + tty_printf ("%9" PRIuMAX "/%s%s %s", (uintmax_t) view->dpy_end,

? off_t is unsigned and also, I think, it's better to use built-in macros for portability.

comment:20 in reply to: ↑ 19 Changed 14 years ago by andrew_b

Replying to zaytsev:

off_t is unsigned

No, off_t is signed.

comment:21 Changed 14 years ago by slyfox

    - tty_printf ("%9lli/%s%s %s", view->dpy_end,
    + tty_printf ("%9" PRIuMAX "/%s%s %s", (uintmax_t) view->dpy_end,

? off_t is unsigned and also, I think, it's better to use built-in macros for portability.

I don't have special preference. Both are introduced in C99. Make it unsigned if you like.
Upper code uses it as unsigned, so I don't care.

P.S. (not directlty related):

-printf("%9" PRIXMAX "\n", (uintmax_t) 5);
+printf("%9" PRIXMAX "\n", UINTMAX_C(5)); /* will also work if you need to delcare veeeery large constants */

comment:22 in reply to: ↑ 18 Changed 14 years ago by laborer

Replying to slyfox:

I would simplify it a little. As we are sure long long would be enough:

Variant with PRIuMAX i also like more.

BTW, when mc builds for you it should complain about printf argument mismatch aloud.

This warning absent(absent -Wall option in Makefile?). But there are many others.

Can you post the whole build log here to fix all occurences? They must be fixed.

Yes. But sorry, i don't have en_US full locale for make output. It in russian.

sergey@host15:/tmp/r505/build/mc-4.7.4$ make
File not found: ./maint/version.sh
make  all-recursive
make[1]: Entering directory `/tmp/r505/build/mc-4.7.4'
File not found: ./maint/version.sh
Making all in intl
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/intl'
make[2]: Цель `all' не требует выполнения команд.
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/intl'
Making all in po
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/po'
make[2]: Цель `all' не требует выполнения команд.
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/po'
Making all in lib
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/lib'
Making all in filehighlight
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/filehighlight'
  CC     libmcfilehighlight_la-common.lo
  CC     libmcfilehighlight_la-get-color.lo
  CC     libmcfilehighlight_la-ini-file-read.lo
  CCLD   libmcfilehighlight.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/filehighlight'
Making all in mcconfig
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/mcconfig'
  CC     libmcconfig_la-common.lo
  CC     libmcconfig_la-get.lo
  CC     libmcconfig_la-set.lo
  CCLD   libmcconfig.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/mcconfig'
Making all in search
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/search'
  CC     libsearch_la-search.lo
  CC     libsearch_la-lib.lo
  CC     libsearch_la-normal.lo
  CC     libsearch_la-regex.lo
  CC     libsearch_la-glob.lo
  CC     libsearch_la-hex.lo
  CCLD   libsearch.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/search'
Making all in skin
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/skin'
  CC     libmcskin_la-colors.lo
  CC     libmcskin_la-colors-old.lo
  CC     libmcskin_la-common.lo
  CC     libmcskin_la-hc-skins.lo
  CC     libmcskin_la-ini-file.lo
  CC     libmcskin_la-lines.lo
  CCLD   libmcskin.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/skin'
Making all in tty
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/tty'
  CC     libmctty_la-color-internal.lo
  CC     libmctty_la-color.lo
  CC     libmctty_la-key.lo
  CC     libmctty_la-keyxdef.lo
  CC     libmctty_la-mouse.lo
  CC     libmctty_la-tty.lo
  CC     libmctty_la-win.lo
  CC     libmctty_la-x11conn.lo
  CC     libmctty_la-color-ncurses.lo
  CC     libmctty_la-tty-ncurses.lo
  CCLD   libmctty.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/tty'
Making all in vfs
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs'
Making all in mc-vfs
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs'
Making all in extfs
make[5]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs/extfs'
make[5]: Цель `all' не требует выполнения команд.
make[5]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs/extfs'
Making all in fish
make[5]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs/fish'
make[5]: Цель `all' не требует выполнения команд.
make[5]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs/fish'
make[5]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs'
  CC     vfs.lo
  CC     direntry.lo
  CC     utilvfs.lo
  CC     local.lo
  CC     gc.lo
  CC     cpio.lo
  CC     tar.lo
  CC     sfs.lo
  CC     extfs.lo
  CC     netutil.lo
  CC     ftpfs.lo
ftpfs.c: In function 'ftpfs_file_store':
ftpfs.c:1663: warning: format '%ju' expects type 'uintmax_t', but argument 2 has type 'off_t'
ftpfs.c:1663: warning: format '%ju' expects type 'uintmax_t', but argument 3 has type '__off_t'
  CC     fish.lo
fish.c: In function 'fish_file_store':
fish.c:852: warning: format '%ju' expects type 'uintmax_t', but argument 4 has type '__off_t'
  CCLD   libvfs-mc.la
make[5]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs'
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs'
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs'
make[4]: Цель `all-am' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs'
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs'
Making all in strutil
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/strutil'
  CC     libmcstrutil_la-strescape.lo
  CC     libmcstrutil_la-strutil8bit.lo
  CC     libmcstrutil_la-strutilascii.lo
  CC     libmcstrutil_la-strutil.lo
  CC     libmcstrutil_la-strutilutf8.lo
  CC     libmcstrutil_la-strverscmp.lo
  CCLD   libmcstrutil.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/strutil'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib'
  CC     libmc_la-utilunix.lo
  CC     libmc_la-util.lo
  CC     libmc_la-glibcompat.lo
  CC     libmc_la-lock.lo
  CCLD   libmc.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib'
Making all in src
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/src'
Making all in man2hlp
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/man2hlp'
make[3]: Цель `all' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/man2hlp'
Making all in viewer
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/viewer'
  CC     libmcviewer_la-actions_cmd.lo
  CC     libmcviewer_la-coord_cache.lo
  CC     libmcviewer_la-datasource.lo
  CC     libmcviewer_la-dialogs.lo
  CC     libmcviewer_la-display.lo
  CC     libmcviewer_la-growbuf.lo
growbuf.c: In function 'mcview_get_byte_growing_buffer':
growbuf.c:194: warning: comparison between signed and unsigned
growbuf.c:200: warning: comparison between signed and unsigned
growbuf.c: In function 'mcview_get_ptr_growing_buffer':
growbuf.c:225: warning: comparison between signed and unsigned
growbuf.c:227: warning: comparison between signed and unsigned
  CC     libmcviewer_la-hex.lo
  CC     libmcviewer_la-lib.lo
  CC     libmcviewer_la-mcviewer.lo
  CC     libmcviewer_la-move.lo
move.c: In function 'mcview_move_up':
move.c:124: warning: comparison between signed and unsigned
move.c:124: warning: signed and unsigned type in conditional expression
move.c: In function 'mcview_move_down':
move.c:167: warning: comparison between signed and unsigned
move.c:167: warning: signed and unsigned type in conditional expression
move.c:172: warning: comparison between signed and unsigned
move.c:172: warning: signed and unsigned type in conditional expression
move.c:184: warning: comparison between signed and unsigned
move.c:184: warning: signed and unsigned type in conditional expression
  CC     libmcviewer_la-nroff.lo
nroff.c: In function 'mcview_display_nroff':
nroff.c:178: warning: comparison between signed and unsigned
  CC     libmcviewer_la-plain.lo
plain.c: In function 'mcview_display_text':
plain.c:155: warning: comparison between signed and unsigned
  CC     libmcviewer_la-search.lo
  CCLD   libmcviewer.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/viewer'
Making all in editor
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/editor'
  CC     libedit_la-bookmark.lo
  CC     libedit_la-edit.lo
  CC     libedit_la-editcmd.lo
  CC     libedit_la-editwidget.lo
  CC     libedit_la-editdraw.lo
  CC     libedit_la-editkeys.lo
  CC     libedit_la-editmenu.lo
  CC     libedit_la-editoptions.lo
  CC     libedit_la-syntax.lo
  CC     libedit_la-wordproc.lo
  CC     libedit_la-choosesyntax.lo
  CC     libedit_la-etags.lo
  CC     libedit_la-editcmd_dialogs.lo
  CCLD   libedit.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/editor'
Making all in diffviewer
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/diffviewer'
  CC     libdiffviewer_la-search.lo
  CC     libdiffviewer_la-ydiff.lo
  CCLD   libdiffviewer.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/diffviewer'
Making all in consaver
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/consaver'
  CC     cons_saver-cons.saver.o
  CCLD   cons.saver
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/consaver'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src'
  CC     charsets.o
  CC     selcodepage.o
  CC     dialog.o
  CC     dialog-switch.o
  CC     menu.o
  CC     screen.o
  CC     tree.o
  CC     widget.o
  CC     wtools.o
  CC     cons.handler.o
  CC     learn.o
  CC     option.o
  CC     setup.o
  CC     keybind.o
  CC     achown.o
  CC     args.o
  CC     background.o
  CC     boxes.o
  CC     chmod.o
  CC     chown.o
  CC     clipboard.o
  CC     cmd.o
  CC     command.o
  CC     complete.o
  CC     dir.o
  CC     execute.o
  CC     ext.o
  CC     file.o
  CC     filegui.o
  CC     filenot.o
  CC     fileopctx.o
  CC     find.o
  CC     help.o
  CC     hotlist.o
  CC     info.o
  CC     layout.o
  CC     listmode.o
  CC     main.o
  CC     panelize.o
  CC     subshell.o
  CC     textconf.o
  CC     treestore.o
  CC     user.o
  CC     mountlist.o
mountlist.c: In function 'get_fs_usage':
mountlist.c:886: warning: unused parameter 'path'
mountlist.c:886: warning: unused parameter 'fsp'
mountlist.c: At top level:
mountlist.c:840: warning: 'fs_adjust_blocks' defined but not used
  CCLD   mc
  CC     mfmt.o
  CCLD   mcmfmt
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/src'
Making all in doc
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/doc'
Making all in hints
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hints'
make[3]: Цель `all' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hints'
Making all in man
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man'
Makefile:776: предупреждение: переопределение команд для цели `mc.1'
Makefile:398: предупреждение: старые команды для цели `mc.1' игнорируются
Makefile:782: предупреждение: переопределение команд для цели `mcedit.1'
Makefile:400: предупреждение: старые команды для цели `mcedit.1' игнорируются
Makefile:788: предупреждение: переопределение команд для цели `mcview.1'
Makefile:402: предупреждение: старые команды для цели `mcview.1' игнорируются
Making all in es
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/es'
Makefile:568: предупреждение: переопределение команд для цели `mc.1'
Makefile:356: предупреждение: старые команды для цели `mc.1' игнорируются
cd ../../.. && /bin/bash ./config.status doc/man/es/mc.1
config.status: creating doc/man/es/mc.1
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/es'
Making all in hu
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/hu'
Makefile:568: предупреждение: переопределение команд для цели `mc.1'
Makefile:356: предупреждение: старые команды для цели `mc.1' игнорируются
cd ../../.. && /bin/bash ./config.status doc/man/hu/mc.1
config.status: creating doc/man/hu/mc.1
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/hu'
Making all in it
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/it'
Makefile:568: предупреждение: переопределение команд для цели `mc.1'
Makefile:356: предупреждение: старые команды для цели `mc.1' игнорируются
cd ../../.. && /bin/bash ./config.status doc/man/it/mc.1
config.status: creating doc/man/it/mc.1
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/it'
Making all in pl
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/pl'
Makefile:568: предупреждение: переопределение команд для цели `mc.1'
Makefile:356: предупреждение: старые команды для цели `mc.1' игнорируются
cd ../../.. && /bin/bash ./config.status doc/man/pl/mc.1
config.status: creating doc/man/pl/mc.1
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/pl'
Making all in ru
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/ru'
Makefile:568: предупреждение: переопределение команд для цели `mc.1'
Makefile:356: предупреждение: старые команды для цели `mc.1' игнорируются
cd ../../.. && /bin/bash ./config.status doc/man/ru/mc.1
config.status: creating doc/man/ru/mc.1
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/ru'
Making all in sr
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/sr'
Makefile:568: предупреждение: переопределение команд для цели `mc.1'
Makefile:356: предупреждение: старые команды для цели `mc.1' игнорируются
cd ../../.. && /bin/bash ./config.status doc/man/sr/mc.1
config.status: creating doc/man/sr/mc.1
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/sr'
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man'
Makefile:776: предупреждение: переопределение команд для цели `mc.1'
Makefile:398: предупреждение: старые команды для цели `mc.1' игнорируются
Makefile:782: предупреждение: переопределение команд для цели `mcedit.1'
Makefile:400: предупреждение: старые команды для цели `mcedit.1' игнорируются
Makefile:788: предупреждение: переопределение команд для цели `mcview.1'
Makefile:402: предупреждение: старые команды для цели `mcview.1' игнорируются
cd ../.. && /bin/bash ./config.status doc/man/mc.1
config.status: creating doc/man/mc.1
cd ../.. && /bin/bash ./config.status doc/man/mcedit.1
config.status: creating doc/man/mcedit.1
cd ../.. && /bin/bash ./config.status doc/man/mcview.1
config.status: creating doc/man/mcview.1
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man'
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man'
Making all in hlp
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp'
Making all in es
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/es'
../../../src/man2hlp/man2hlp ../../../doc/man/es/mc.1 ./xnc.hlp mc.hlp.es
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/es'
Making all in hu
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/hu'
../../../src/man2hlp/man2hlp ../../../doc/man/hu/mc.1 ./xnc.hlp mc.hlp.hu
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/hu'
Making all in it
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/it'
../../../src/man2hlp/man2hlp ../../../doc/man/it/mc.1 ./xnc.hlp mc.hlp.it
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/it'
Making all in pl
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/pl'
../../../src/man2hlp/man2hlp ../../../doc/man/pl/mc.1 ./xnc.hlp mc.hlp.pl
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/pl'
Making all in ru
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/ru'
../../../src/man2hlp/man2hlp ../../../doc/man/ru/mc.1 ./xnc.hlp mc.hlp.ru
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/ru'
Making all in sr
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/sr'
../../../src/man2hlp/man2hlp ../../../doc/man/sr/mc.1 ./xnc.hlp mc.hlp.sr
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/sr'
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp'
../../src/man2hlp/man2hlp ../../doc/man/mc.1 ./xnc.hlp mc.hlp
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp'
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/doc'
make[3]: Цель `all-am' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc'
Making all in contrib
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib'
Making all in dist
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist'
Making all in debian
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist/debian'
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist/debian'
Making all in gentoo
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist/gentoo'
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist/gentoo'
Making all in redhat
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist/redhat'
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist/redhat'
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist'
make[4]: Цель `all-am' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist'
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib'
sed "s%@""pkglibexecdir@%/home/sergey/code/r505/build/mc-4.7.4/build/libexec/mc%" ./mc.csh.in > mc.csh
sed "s%@""pkglibexecdir@%/home/sergey/code/r505/build/mc-4.7.4/build/libexec/mc%" ./mc.sh.in > mc.sh
sed "s%@""bindir@%/home/sergey/code/r505/build/mc-4.7.4/build/bin%" ./mc-wrapper.csh.in > mc-wrapper.csh
sed "s%@""bindir@%/home/sergey/code/r505/build/mc-4.7.4/build/bin%" ./mc-wrapper.sh.in > mc-wrapper.sh
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib'
Making all in misc
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/misc'
Making all in skins
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/misc/skins'
make[3]: Цель `all' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/misc/skins'
Making all in syntax
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/misc/syntax'
make[3]: Цель `all' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/misc/syntax'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/misc'
make[3]: Цель `all-am' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/misc'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/misc'
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4'
File not found: ./maint/version.sh
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4'
make[1]: Leaving directory `/tmp/r505/build/mc-4.7.4'
sergey@host15:/tmp/r505/build/mc-4.7.4$

And the last question: Dou you glibc or other libc (uclibc or the like)?

I wrote earlier that i use glibc 2.8

comment:23 follow-ups: ↓ 24 ↓ 27 Changed 14 years ago by zaytsev

No, off_t is signed.

Sorry, you are right. Then one would use this instead:

tty_printf ("%9" PRIiMAX "/%s%s %s", (intmax_t) view->dpy_end,

That is, my suggestion is as follows:

For signed ints:
   PRIiMAX and cast to (intmax_t)

For unsigned ints:
   PRIuMAX and cast to (uintmax_t)

This warning absent(absent -Wall option in Makefile?).
But there are many others.

I think that --enable-maintainer-mode should also enable -Wall. Can you try this?

comment:24 in reply to: ↑ 23 Changed 14 years ago by laborer

Replying to zaytsev:

I think that --enable-maintainer-mode should also enable -Wall. Can you try this?

Maintainer mode adds (in my case) only "-g3 -O -ggdb".

comment:25 follow-up: ↓ 26 Changed 14 years ago by zaytsev

export CFLAGS=" -Wall $CFLAGS" before everything?

comment:26 in reply to: ↑ 25 Changed 14 years ago by laborer

Replying to zaytsev:

export CFLAGS=" -Wall $CFLAGS" before everything?

Not helped

comment:27 in reply to: ↑ 23 Changed 14 years ago by andrew_b

Replying to zaytsev:

That is, my suggestion is as follows:

For signed ints:
   PRIiMAX and cast to (intmax_t)

For unsigned ints:
   PRIuMAX and cast to (uintmax_t)

If casting to intmax_t or uintmax_t is performed than %j modifier can be used: %jd and %ju respectively.

comment:28 follow-up: ↓ 29 Changed 14 years ago by zaytsev

Why doesn't it work then?!

Do you know how to enable -Wall correctly, as my suggestions didn't work?

comment:29 in reply to: ↑ 28 ; follow-up: ↓ 30 Changed 14 years ago by andrew_b

Replying to zaytsev:

Why doesn't it work then?!

Possible because %j was used for off_t w/o casting to (u)intmax_t.

Do you know how to enable -Wall correctly, as my suggestions didn't work?

Seems it is impossible w/o little patch:

diff --git a/configure.ac b/configure.ac
index 0f72b6e..86e7989 100644
--- a/configure.ac
+++ b/configure.ac
@@ -511,6 +511,7 @@ AC_ARG_ENABLE(
 if test "x$enable_werror" = xyes; then
     MC_CHECK_ONE_CFLAG([-Werror])
 fi
+MC_CHECK_ONE_CFLAG([-Wall])
 CFLAGS="$mc_configured_cflags $CFLAGS_OPTS $CFLAGS"
 
 AC_SUBST(CFLAGS)

comment:30 in reply to: ↑ 29 ; follow-up: ↓ 33 Changed 14 years ago by laborer

Replying to andrew_b:

Possible because %j was used for off_t w/o casting to (u)intmax_t.

When I tested it, I did not do casting. Tomorrow check it out on ARM.

Seems it is impossible w/o little patch:

Strange, but this patch has not helped. Compare my previous report and this.
After configure

  Compiler:                   arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7/build/lib -std=gnu99
  Compiler flags:              -Wcomment -Wdeclaration-after-statement -Wformat -Wimplicit-
function-declaration -Wimplicit-int -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes 
-Wnested-externs -Wno-long-long -Wno-unreachable-code -Wparentheses -Wpointer-sign -Wreturn-type 
-Wshadow -Wsign-compare -Wswitch -Wuninitialized -Wunused-function -Wunused-label -Wunused-
parameter -Wunused-value -Wunused-variable -Wwrite-strings -Wall  -I/tmp/r505/build/glib-2.24.2
/build/include/glib-2.0 -g -O2

Switch -Wall is present.

make:

sergey@ixthost:/tmp/r505/build/mc-4.7.4$ make
File not found: ./maint/version.sh
make  all-recursive
make[1]: Entering directory `/tmp/r505/build/mc-4.7.4'
File not found: ./maint/version.sh
Making all in intl
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/intl'
make[2]: Цель `all' не требует выполнения команд.
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/intl'
Making all in po
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/po'
make[2]: Цель `all' не требует выполнения команд.
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/po'
Making all in lib
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/lib'
Making all in filehighlight
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/filehighlight'
  CC     libmcfilehighlight_la-common.lo
  CC     libmcfilehighlight_la-get-color.lo
  CC     libmcfilehighlight_la-ini-file-read.lo
  CCLD   libmcfilehighlight.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/filehighlight'
Making all in mcconfig
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/mcconfig'
  CC     libmcconfig_la-common.lo
  CC     libmcconfig_la-get.lo
  CC     libmcconfig_la-set.lo
  CCLD   libmcconfig.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/mcconfig'
Making all in search
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/search'
  CC     libsearch_la-search.lo
  CC     libsearch_la-lib.lo
  CC     libsearch_la-normal.lo
  CC     libsearch_la-regex.lo
  CC     libsearch_la-glob.lo
  CC     libsearch_la-hex.lo
  CCLD   libsearch.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/search'
Making all in skin
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/skin'
  CC     libmcskin_la-colors.lo
  CC     libmcskin_la-colors-old.lo
  CC     libmcskin_la-common.lo
  CC     libmcskin_la-hc-skins.lo
  CC     libmcskin_la-ini-file.lo
  CC     libmcskin_la-lines.lo
  CCLD   libmcskin.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/skin'
Making all in tty
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/tty'
  CC     libmctty_la-color-internal.lo
  CC     libmctty_la-color.lo
  CC     libmctty_la-key.lo
  CC     libmctty_la-keyxdef.lo
  CC     libmctty_la-mouse.lo
  CC     libmctty_la-tty.lo
  CC     libmctty_la-win.lo
  CC     libmctty_la-x11conn.lo
  CC     libmctty_la-color-ncurses.lo
  CC     libmctty_la-tty-ncurses.lo
  CCLD   libmctty.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/tty'
Making all in vfs
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs'
Making all in mc-vfs
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs'
Making all in extfs
make[5]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs/extfs'
make[5]: Цель `all' не требует выполнения команд.
make[5]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs/extfs'
Making all in fish
make[5]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs/fish'
make[5]: Цель `all' не требует выполнения команд.
make[5]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs/fish'
make[5]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs'
  CC     vfs.lo
  CC     direntry.lo
  CC     utilvfs.lo
  CC     local.lo
  CC     gc.lo
  CC     cpio.lo
  CC     tar.lo
  CC     sfs.lo
  CC     extfs.lo
  CC     netutil.lo
  CC     ftpfs.lo
  CC     fish.lo
  CCLD   libvfs-mc.la
make[5]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs'
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs'
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs'
make[4]: Цель `all-am' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs'
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs'
Making all in strutil
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/strutil'
  CC     libmcstrutil_la-strescape.lo
  CC     libmcstrutil_la-strutil8bit.lo
  CC     libmcstrutil_la-strutilascii.lo
  CC     libmcstrutil_la-strutil.lo
  CC     libmcstrutil_la-strutilutf8.lo
  CC     libmcstrutil_la-strverscmp.lo
  CCLD   libmcstrutil.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/strutil'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib'
  CC     libmc_la-utilunix.lo
  CC     libmc_la-util.lo
  CC     libmc_la-glibcompat.lo
  CC     libmc_la-lock.lo
  CCLD   libmc.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib'
Making all in src
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/src'
Making all in man2hlp
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/man2hlp'
make[3]: Цель `all' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/man2hlp'
Making all in viewer
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/viewer'
  CC     libmcviewer_la-actions_cmd.lo
  CC     libmcviewer_la-coord_cache.lo
  CC     libmcviewer_la-datasource.lo
  CC     libmcviewer_la-dialogs.lo
dialogs.c: In function 'mcview_dialog_search':
dialogs.c:103: warning: dereferencing type-punned pointer will break strict-aliasing rules
dialogs.c: In function 'mcview_dialog_goto':
dialogs.c:194: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC     libmcviewer_la-display.lo
  CC     libmcviewer_la-growbuf.lo
  CC     libmcviewer_la-hex.lo
  CC     libmcviewer_la-lib.lo
  CC     libmcviewer_la-mcviewer.lo
  CC     libmcviewer_la-move.lo
  CC     libmcviewer_la-nroff.lo
  CC     libmcviewer_la-plain.lo
  CC     libmcviewer_la-search.lo
  CCLD   libmcviewer.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/viewer'
Making all in editor
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/editor'
  CC     libedit_la-bookmark.lo
  CC     libedit_la-edit.lo
  CC     libedit_la-editcmd.lo
editcmd.c: In function 'edit_get_save_file_as':
editcmd.c:548: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC     libedit_la-editwidget.lo
  CC     libedit_la-editdraw.lo
  CC     libedit_la-editkeys.lo
  CC     libedit_la-editmenu.lo
  CC     libedit_la-editoptions.lo
  CC     libedit_la-syntax.lo
  CC     libedit_la-wordproc.lo
  CC     libedit_la-choosesyntax.lo
  CC     libedit_la-etags.lo
  CC     libedit_la-editcmd_dialogs.lo
editcmd_dialogs.c: In function 'editcmd_dialog_replace_show':
editcmd_dialogs.c:123: warning: dereferencing type-punned pointer will break strict-aliasing rules
editcmd_dialogs.c: In function 'editcmd_dialog_search_show':
editcmd_dialogs.c:201: warning: dereferencing type-punned pointer will break strict-aliasing rules
editcmd_dialogs.c: In function 'editcmd_dialog_select_definition_show':
editcmd_dialogs.c:492: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CCLD   libedit.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/editor'
Making all in diffviewer
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/diffviewer'
  CC     libdiffviewer_la-search.lo
search.c: In function 'mcdiffview_dialog_search':
search.c:124: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC     libdiffviewer_la-ydiff.lo
  CCLD   libdiffviewer.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/diffviewer'
Making all in consaver
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/consaver'
  CC     cons_saver-cons.saver.o
  CCLD   cons.saver
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/consaver'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src'
  CC     charsets.o
  CC     selcodepage.o
  CC     dialog.o
  CC     dialog-switch.o
  CC     menu.o
  CC     screen.o
  CC     tree.o
  CC     widget.o
  CC     wtools.o
  CC     cons.handler.o
  CC     learn.o
  CC     option.o
option.c: In function 'panel_options_box':
option.c:281: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC     setup.o
  CC     keybind.o
  CC     achown.o
  CC     args.o
  CC     background.o
  CC     boxes.o
boxes.c: In function 'task_cb':
boxes.c:960: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC     chmod.o
  CC     chown.o
  CC     clipboard.o
  CC     cmd.o
  CC     command.o
  CC     complete.o
  CC     dir.o
  CC     execute.o
  CC     ext.o
  CC     file.o
  CC     filegui.o
  CC     filenot.o
  CC     fileopctx.o
  CC     find.o
find.c: In function 'view_edit_currently_selected_file':
find.c:1108: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC     help.o
  CC     hotlist.o
hotlist.c: In function 'hotlist_button_callback':
hotlist.c:326: warning: dereferencing type-punned pointer will break strict-aliasing rules
hotlist.c:333: warning: dereferencing type-punned pointer will break strict-aliasing rules
hotlist.c:387: warning: dereferencing type-punned pointer will break strict-aliasing rules
hotlist.c: In function 'add2hotlist':
hotlist.c:830: warning: dereferencing type-punned pointer will break strict-aliasing rules
hotlist.c: In function 'hotlist_cmd':
hotlist.c:1230: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC     info.o
  CC     layout.o
  CC     listmode.o
  CC     main.o
  CC     panelize.o
panelize.c: In function 'update_command':
panelize.c:103: warning: dereferencing type-punned pointer will break strict-aliasing rules
panelize.c: In function 'external_panelize':
panelize.c:323: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC     subshell.o
  CC     textconf.o
  CC     treestore.o
  CC     user.o
  CC     mountlist.o
mountlist.c:840: warning: 'fs_adjust_blocks' defined but not used
  CCLD   mc
  CC     mfmt.o
  CCLD   mcmfmt
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/src'
Making all in doc
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/doc'
Making all in hints
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hints'
make[3]: Цель `all' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hints'
Making all in man
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man'
Makefile:778: предупреждение: переопределение команд для цели `mc.1'
Makefile:400: предупреждение: старые команды для цели `mc.1' игнорируются
Makefile:784: предупреждение: переопределение команд для цели `mcedit.1'
Makefile:402: предупреждение: старые команды для цели `mcedit.1' игнорируются
Makefile:790: предупреждение: переопределение команд для цели `mcview.1'
Makefile:404: предупреждение: старые команды для цели `mcview.1' игнорируются
Making all in es
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/es'
Makefile:570: предупреждение: переопределение команд для цели `mc.1'
Makefile:358: предупреждение: старые команды для цели `mc.1' игнорируются
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/es'
Making all in hu
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/hu'
Makefile:570: предупреждение: переопределение команд для цели `mc.1'
Makefile:358: предупреждение: старые команды для цели `mc.1' игнорируются
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/hu'
Making all in it
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/it'
Makefile:570: предупреждение: переопределение команд для цели `mc.1'
Makefile:358: предупреждение: старые команды для цели `mc.1' игнорируются
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/it'
Making all in pl
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/pl'
Makefile:570: предупреждение: переопределение команд для цели `mc.1'
Makefile:358: предупреждение: старые команды для цели `mc.1' игнорируются
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/pl'
Making all in ru
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/ru'
Makefile:570: предупреждение: переопределение команд для цели `mc.1'
Makefile:358: предупреждение: старые команды для цели `mc.1' игнорируются
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/ru'
Making all in sr
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/sr'
Makefile:570: предупреждение: переопределение команд для цели `mc.1'
Makefile:358: предупреждение: старые команды для цели `mc.1' игнорируются
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/sr'
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man'
Makefile:778: предупреждение: переопределение команд для цели `mc.1'
Makefile:400: предупреждение: старые команды для цели `mc.1' игнорируются
Makefile:784: предупреждение: переопределение команд для цели `mcedit.1'
Makefile:402: предупреждение: старые команды для цели `mcedit.1' игнорируются
Makefile:790: предупреждение: переопределение команд для цели `mcview.1'
Makefile:404: предупреждение: старые команды для цели `mcview.1' игнорируются
make[4]: Цель `all-am' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man'
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man'
Making all in hlp
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp'
Making all in es
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/es'
../../../src/man2hlp/man2hlp ../../../doc/man/es/mc.1 ./xnc.hlp mc.hlp.es
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/es'
Making all in hu
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/hu'
../../../src/man2hlp/man2hlp ../../../doc/man/hu/mc.1 ./xnc.hlp mc.hlp.hu
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/hu'
Making all in it
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/it'
../../../src/man2hlp/man2hlp ../../../doc/man/it/mc.1 ./xnc.hlp mc.hlp.it
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/it'
Making all in pl
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/pl'
../../../src/man2hlp/man2hlp ../../../doc/man/pl/mc.1 ./xnc.hlp mc.hlp.pl
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/pl'
Making all in ru
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/ru'
../../../src/man2hlp/man2hlp ../../../doc/man/ru/mc.1 ./xnc.hlp mc.hlp.ru
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/ru'
Making all in sr
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/sr'
../../../src/man2hlp/man2hlp ../../../doc/man/sr/mc.1 ./xnc.hlp mc.hlp.sr
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/sr'
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp'
../../src/man2hlp/man2hlp ../../doc/man/mc.1 ./xnc.hlp mc.hlp
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp'
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/doc'
make[3]: Цель `all-am' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc'
Making all in contrib
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib'
Making all in dist
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist'
Making all in debian
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist/debian'
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist/debian'
Making all in gentoo
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist/gentoo'
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist/gentoo'
Making all in redhat
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist/redhat'
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist/redhat'
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist'
make[4]: Цель `all-am' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist'
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib'
sed "s%@""pkglibexecdir@%/home/sergey/code/r505/build/mc-4.7.4/build/libexec/mc%" ./mc.csh.in > mc.csh
sed "s%@""pkglibexecdir@%/home/sergey/code/r505/build/mc-4.7.4/build/libexec/mc%" ./mc.sh.in > mc.sh
sed "s%@""bindir@%/home/sergey/code/r505/build/mc-4.7.4/build/bin%" ./mc-wrapper.csh.in > mc-wrapper.csh
sed "s%@""bindir@%/home/sergey/code/r505/build/mc-4.7.4/build/bin%" ./mc-wrapper.sh.in > mc-wrapper.sh
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib'
Making all in misc
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/misc'
Making all in skins
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/misc/skins'
make[3]: Цель `all' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/misc/skins'
Making all in syntax
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/misc/syntax'
make[3]: Цель `all' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/misc/syntax'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/misc'
make[3]: Цель `all-am' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/misc'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/misc'
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4'
File not found: ./maint/version.sh
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4'
make[1]: Leaving directory `/tmp/r505/build/mc-4.7.4'

comment:31 follow-up: ↓ 32 Changed 14 years ago by zaytsev

Hi Andrew! You forgot the hash (#) before the ticket number in your branch. Please rebase.

comment:32 in reply to: ↑ 31 ; follow-up: ↓ 36 Changed 14 years ago by andrew_b

Replying to zaytsev:

Hi Andrew! You forgot the hash (#) before the ticket number in your branch. Please rebase.

Done.

comment:33 in reply to: ↑ 30 ; follow-up: ↓ 34 Changed 14 years ago by andrew_b

Replying to laborer:

Replying to andrew_b:

Possible because %j was used for off_t w/o casting to (u)intmax_t.

When I tested it, I did not do casting. Tomorrow check it out on ARM.

Ping. :)

comment:34 in reply to: ↑ 33 ; follow-up: ↓ 35 Changed 14 years ago by laborer

Replying to andrew_b:

When I tested it, I did not do casting. Tomorrow check it out on ARM.

Ping. :)

It's work.

comment:35 in reply to: ↑ 34 ; follow-up: ↓ 37 Changed 14 years ago by andrew_b

  • Keywords stable-candidate added; viewer segmentation fault removed
  • Status changed from new to accepted
  • severity changed from no branch to on review
  • Owner set to andrew_b
  • Milestone changed from 4.7 to 4.7.5

Replying to laborer:

It's work.

Fine.

Created 2356_view_segfault_arm branch. Parent branch is master.
Initial changeset:6a50ecb7d72fb225a3f7eb2d08275fda7f89ede3

Would you check the entire 2356_view_segfault_arm branch or at least 1st and 2nd commits in it?

comment:36 in reply to: ↑ 32 Changed 14 years ago by andrew_b

Replying to andrew_b:

Replying to zaytsev:

Hi Andrew! You forgot the hash (#) before the ticket number in your branch. Please rebase.

Done.

Oops... I've forced updated that change. I hope that I'll not forget to fix that before merge :)

comment:37 in reply to: ↑ 35 ; follow-up: ↓ 38 Changed 14 years ago by laborer

Replying to andrew_b:

Created 2356_view_segfault_arm branch. Parent branch is master.
Initial changeset:6a50ecb7d72fb225a3f7eb2d08275fda7f89ede3

Would you check the entire 2356_view_segfault_arm branch or at least 1st and 2nd commits in it?

Yes, but hard tests only on Monday, not before.
And, you need a building log to check the warnings?

comment:38 in reply to: ↑ 37 ; follow-up: ↓ 39 Changed 14 years ago by andrew_b

Replying to laborer:

Replying to andrew_b:

Created 2356_view_segfault_arm branch. Parent branch is master.
Initial changeset:6a50ecb7d72fb225a3f7eb2d08275fda7f89ede3

Would you check the entire 2356_view_segfault_arm branch or at least 1st and 2nd commits in it?

Yes, but hard tests only on Monday, not before.

OK.

And, you need a building log to check the warnings?

I tried fix warnings in comment:22 but new log will be useful in any case.

comment:39 in reply to: ↑ 38 ; follow-up: ↓ 41 Changed 14 years ago by laborer

Replying to andrew_b:
Minor difficulties. I'm poorly familiar with autoconf/automake. How do I get the source code for the assembly?
My actions:
$ git clone git://midnight-commander.org/git/mc.git
$ git checkout 2356_view_segfault_arm
configure absent. I run ./autogen.sh
sergey@host15:/tmp/r505/build/mc$ ./autogen.sh
maint/autopoint: 418: cannot open /usr/share/gettext/archive.tar.gz: No such file
tar: Это не похоже на tar-архив
tar: Завершение работы с состоянием неисправности с из-за возникших ошибок
cvs checkout: cannot find module `archive' - ignored
find: `archive': Нет такого файла или каталога
find: `archive': Нет такого файла или каталога
find: `archive': Нет такого файла или каталога
autopoint: * infrastructure files for version 0.14.3 not found; this is autopoint from GNU gettext-tools 0.17
autopoint:
* Stop.

Looks like it is missing some packages, which ones? My system is Debian squeeze.

comment:40 follow-up: ↓ 43 Changed 14 years ago by zaytsev

gettext

comment:41 in reply to: ↑ 39 Changed 14 years ago by andrew_b

Replying to laborer:

My actions:
$ git clone git://midnight-commander.org/git/mc.git
$ git checkout 2356_view_segfault_arm

To checkout requested branch use

$ git checkout -b 2356_view_segfault_arm origin/2356_view_segfault_arm

comment:42 Changed 14 years ago by zaytsev

git checkout -t origin/2356_view_segfault_arm

comment:43 in reply to: ↑ 40 Changed 14 years ago by laborer

Replying to zaytsev:

gettext

Installed

comment:44 Changed 14 years ago by laborer

at this

    if (width > 40)
    {
        char buffer[BUF_TINY];
        widget_move (view, top, width - 32);
        if (view->hex_mode)
            tty_printf ("0x%08" PRIxMAX, (uintmax_t) view->hex_cursor);
        else
        {
            size_trunc_len (buffer, 5, mcview_get_filesize (view), 0, panels_options.kilobyte_si);
            tty_printf ("%9ju/%s%s %s", (uintmax_t) view->dpy_end,
                        buffer, mcview_may_still_grow (view) ? "+" : " ",
#ifdef HAVE_CHARSET
                        source_codepage >= 0 ? get_codepage_id (source_codepage) : ""
#else
                        ""
#endif
                );
        }
    }

compilation error(You forgot to replace PRIxMAX?)

make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/viewer'
  CC     libmcviewer_la-display.lo
display.c: In function 'mcview_display_status':
display.c:152: error: expected ')' before 'PRIxMAX'
make[3]: *** [libmcviewer_la-display.lo] Ошибка 1

comment:45 Changed 14 years ago by andrew_b

Ah. sorry...

comment:46 follow-up: ↓ 47 Changed 14 years ago by andrew_b

Fixed.

comment:47 in reply to: ↑ 46 Changed 14 years ago by laborer

So, mc works and does not fall!

Here is the full log for configure and make:
configure:

sergey@host15:/tmp/r505/build/mc-4.7.4$ ./configure CC="${TOOLCHAIN_PREFIX}-gcc -L${NCURSES_ROOT}/build/lib" --host=${TOOLCHAIN_PREFIX} --prefix=$MC_ROOT/build --with-screen=ncurses --with-ncurses-includes=${NCURSES_ROOT}/build/include --with-ncurses-libs=${NCURSES_ROOT}/build/lib --without-x GLIB_CFLAGS="-I${GLIB_ROOT}/build/include/glib-2.0" GLIB_LIBS="${GLIB_ROOT}/build/lib/libglib-2.0.so" GMODULE_CFLAGS="-I${GLIB_ROOT}/build/include/glib-2.0" GMODULE_LIBS="${GLIB_ROOT}/build/lib/libgmodule-2.0.so" --with-subshell
configure: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-xscale-linux-gnueabi-strip... arm-xscale-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-xscale-linux-gnueabi
checking for style of include used by make... GNU
checking for arm-xscale-linux-gnueabi-gcc... arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib accepts -g... yes
checking for arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib option to accept ISO C89... none needed
checking dependency style of arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib... gcc3
checking how to run the C preprocessor... arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib... /opt/OSELAS.Toolchain-1.99.3.3/arm-xscale-linux-gnueabi/gcc-4.2.3-glibc-2.8-binutils-2.18-kernel-2.6.22.19-sanitized/arm-xscale-linux-gnueabi/bin/ld
checking if the linker (/opt/OSELAS.Toolchain-1.99.3.3/arm-xscale-linux-gnueabi/gcc-4.2.3-glibc-2.8-binutils-2.18-kernel-2.6.22.19-sanitized/arm-xscale-linux-gnueabi/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /opt/OSELAS.Toolchain-1.99.3.3/arm-xscale-linux-gnueabi/gcc-4.2.3-glibc-2.8-binutils-2.18-kernel-2.6.22.19-sanitized/bin/arm-xscale-linux-gnueabi-nm -B
checking the name lister (/opt/OSELAS.Toolchain-1.99.3.3/arm-xscale-linux-gnueabi/gcc-4.2.3-glibc-2.8-binutils-2.18-kernel-2.6.22.19-sanitized/bin/arm-xscale-linux-gnueabi-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /opt/OSELAS.Toolchain-1.99.3.3/arm-xscale-linux-gnueabi/gcc-4.2.3-glibc-2.8-binutils-2.18-kernel-2.6.22.19-sanitized/arm-xscale-linux-gnueabi/bin/ld option to reload object files... -r
checking for arm-xscale-linux-gnueabi-objdump... arm-xscale-linux-gnueabi-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-xscale-linux-gnueabi-ar... arm-xscale-linux-gnueabi-ar
checking for arm-xscale-linux-gnueabi-strip... (cached) arm-xscale-linux-gnueabi-strip
checking for arm-xscale-linux-gnueabi-ranlib... arm-xscale-linux-gnueabi-ranlib
checking command to parse /opt/OSELAS.Toolchain-1.99.3.3/arm-xscale-linux-gnueabi/gcc-4.2.3-glibc-2.8-binutils-2.18-kernel-2.6.22.19-sanitized/bin/arm-xscale-linux-gnueabi-nm -B output from arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib supports -fno-rtti -fno-exceptions... no
checking for arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib option to produce PIC... -fPIC -DPIC
checking if arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib PIC flag -fPIC -DPIC works... yes
checking if arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib static flag -static works... yes
checking if arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib supports -c -o file.o... yes
checking if arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib supports -c -o file.o... (cached) yes
checking whether the arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib linker (/opt/OSELAS.Toolchain-1.99.3.3/arm-xscale-linux-gnueabi/gcc-4.2.3-glibc-2.8-binutils-2.18-kernel-2.6.22.19-sanitized/arm-xscale-linux-gnueabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for arm-xscale-linux-gnueabi-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking for perl... /usr/bin/perl
checking for strerror in -lcposix... no
checking for arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib option to accept ISO C99... -std=gnu99
checking for arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking whether arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib -std=gnu99 and cc understand -c and -o together... yes
checking for arm-xscale-linux-gnueabi-doxygen... no
checking for doxygen... /usr/bin/doxygen
checking for arm-xscale-linux-gnueabi-perl... no
checking for perl... /usr/bin/perl
checking for arm-xscale-linux-gnueabi-dot... no
checking for dot... no
configure: WARNING: dot not found - will not generate graphics for doxygen documentation
checking for GLIB... yes
checking for GMODULE... yes
checking if gmodule functionality is supported... checking for GMODULE... yes
yes
checking whether sys/types.h defines makedev... yes
checking for an ANSI C-conforming const... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether ln -s works... yes
checking for arm-xscale-linux-gnueabi-ar... (cached) arm-xscale-linux-gnueabi-ar
checking for gnome-moz-remote... no
checking for mozilla... no
checking for konqueror... no
checking for opera... opera
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether we are using the GNU C Library 2 or newer... yes
checking for arm-xscale-linux-gnueabi-ranlib... (cached) arm-xscale-linux-gnueabi-ranlib
checking for signed... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... guessing yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... guessing no
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for ld used by GCC... /opt/OSELAS.Toolchain-1.99.3.3/arm-xscale-linux-gnueabi/gcc-4.2.3-glibc-2.8-binutils-2.18-kernel-2.6.22.19-sanitized/arm-xscale-linux-gnueabi/bin/ld
checking if the linker (/opt/OSELAS.Toolchain-1.99.3.3/arm-xscale-linux-gnueabi/gcc-4.2.3-glibc-2.8-binutils-2.18-kernel-2.6.22.19-sanitized/arm-xscale-linux-gnueabi/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for ptrdiff_t... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for wcslen... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 2.4.1, ok
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for limits.h... (cached) yes
checking for malloc.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking security/pam_misc.h usability... no
checking security/pam_misc.h presence... no
checking for security/pam_misc.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking for sys/types.h... (cached) yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_blocks... yes
checking for atoll... yes
checking for cfgetospeed... yes
checking for initgroups... yes
checking for isascii... yes
checking for setreuid... yes
checking for statfs... yes
checking for sysconf... yes
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for truncate... yes
checking for strverscmp... yes
checking for strncasecmp... yes
checking for realpath... yes
checking for posix_openpt... yes
checking for grantpt... yes
checking for statlstat... no
checking for AIX defines... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... (cached) yes
checking sys/fs_types.h usability... no
checking sys/fs_types.h presence... no
checking for sys/fs_types.h... no
checking for fcntl.h... (cached) yes
checking for utime.h... (cached) yes
checking for listmntent... no
checking for getmntinfo... no
checking for sys/ucred.h... no
checking for sys/mount.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking for sys/fs_types.h... (cached) no
checking for struct fsstat.f_fstypename... no
checking for library containing getmntent... none required
checking for getmntent... yes
checking for listmntent of Cray/Unicos-9... no
checking for mntctl function and struct vmount... no
checking for one-argument getmntent function... yes
checking for sys/mount.h... (cached) yes
configure: checking how to get file system space usage
checking for statvfs function (SVR4)... no
checking for 3-argument statfs function (DEC OSF/1)... no
checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... no
checking for four-argument statfs (AIX-3.2.5, SVR3)... no
checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)... no
checking for two-argument statfs with struct fs_data (Ultrix)... no
checking for struct statfs.f_fstypename... no
checking for struct statvfs.f_fstypename... no
checking for struct statvfs.f_basetype... no
checking size of long... 4
checking size of long long... 8
checking for mode_t... yes
checking for off_t... (cached) yes
checking size of off_t... 8
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for nlink_t... yes
checking for socklen_t... yes
checking for uintptr_t... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for working strcoll... no
checking for X... disabled
checking for get_process_stats in -lseq... no
configure: Enabling VFS code
checking for zip... /usr/bin/zip
checking for unzip... /usr/bin/unzip
checking for zipinfo code in unzip... yes
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for struct linger.l_linger... yes
checking for nlink_t... (cached) yes
checking for socklen_t... (cached) yes
checking for pmap_set... yes
checking for pmap_getport... yes
checking for pmap_getmaps... yes
checking for rresvport... yes
checking for rpc/pmap_clnt.h... yes
checking for Gpm_Repeat in -lgpm... no
configure: WARNING: libgpm is missing or older than 0.18
checking for nroff... true
checking for manual formatting macros... -mandoc
checking for option to disable ANSI color in manuals... none
checking if nroff accepts -Tlatin1 or -Tascii... -Tlatin1
checking for file... true
checking for -L option to file command... yes
checking for subshell support... yes
checking for ncurses/ncurses.h and ncurses/term.h... yes
checking for library containing has_colors... -lncurses
checking for ESCDELAY variable... yes
checking for resizeterm... yes
configure: using internal editor
configure: using diff viewer
checking if gcc accepts -Wcomment... yes
checking if gcc accepts -Wdeclaration-after-statement... yes
checking if gcc accepts -Wformat... yes
checking if gcc accepts -Wimplicit-function-declaration... yes
checking if gcc accepts -Wimplicit-int... yes
checking if gcc accepts -Wmissing-braces... yes
checking if gcc accepts -Wmissing-declarations... yes
checking if gcc accepts -Wmissing-parameter-type... no
checking if gcc accepts -Wmissing-prototypes... yes
checking if gcc accepts -Wnested-externs... yes
checking if gcc accepts -Wno-long-long... yes
checking if gcc accepts -Wno-unreachable-code... yes
checking if gcc accepts -Wparentheses... yes
checking if gcc accepts -Wpointer-sign... yes
checking if gcc accepts -Wreturn-type... yes
checking if gcc accepts -Wshadow... yes
checking if gcc accepts -Wsign-compare... yes
checking if gcc accepts -Wswitch... yes
checking if gcc accepts -Wuninitialized... yes
checking if gcc accepts -Wunused-function... yes
checking if gcc accepts -Wunused-label... yes
checking if gcc accepts -Wunused-parameter... yes
checking if gcc accepts -Wunused-result... no
checking if gcc accepts -Wunused-value... yes
checking if gcc accepts -Wunused-variable... yes
checking if gcc accepts -Wwrite-strings... yes
configure: creating ./config.status
config.status: creating src/man2hlp/man2hlp
config.status: creating Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/dist/Makefile
config.status: creating contrib/dist/debian/Makefile
config.status: creating contrib/dist/gentoo/Makefile
config.status: creating contrib/dist/redhat/Makefile
config.status: creating contrib/dist/redhat/mc.spec
config.status: creating contrib/dist/mc.qpg
config.status: creating contrib/dist/pkginfo
config.status: creating contrib/dist/prototype
config.status: creating misc/Makefile
config.status: creating misc/skins/Makefile
config.status: creating misc/mc.ext
config.status: creating src/Makefile
config.status: creating src/consaver/Makefile
config.status: creating src/editor/Makefile
config.status: creating src/man2hlp/Makefile
config.status: creating src/viewer/Makefile
config.status: creating src/diffviewer/Makefile
config.status: creating lib/Makefile
config.status: creating lib/filehighlight/Makefile
config.status: creating lib/mcconfig/Makefile
config.status: creating lib/search/Makefile
config.status: creating lib/skin/Makefile
config.status: creating lib/strutil/Makefile
config.status: creating lib/tty/Makefile
config.status: creating lib/vfs/Makefile
config.status: creating lib/vfs/mc-vfs/Makefile
config.status: creating lib/vfs/mc-vfs/extfs/Makefile
config.status: creating lib/vfs/mc-vfs/extfs/a+
config.status: creating lib/vfs/mc-vfs/extfs/apt+
config.status: creating lib/vfs/mc-vfs/extfs/audio
config.status: creating lib/vfs/mc-vfs/extfs/deb
config.status: creating lib/vfs/mc-vfs/extfs/deba
config.status: creating lib/vfs/mc-vfs/extfs/debd
config.status: creating lib/vfs/mc-vfs/extfs/dpkg+
config.status: creating lib/vfs/mc-vfs/extfs/iso9660
config.status: creating lib/vfs/mc-vfs/extfs/hp48+
config.status: creating lib/vfs/mc-vfs/extfs/lslR
config.status: creating lib/vfs/mc-vfs/extfs/mailfs
config.status: creating lib/vfs/mc-vfs/extfs/patchfs
config.status: creating lib/vfs/mc-vfs/extfs/rpms+
config.status: creating lib/vfs/mc-vfs/extfs/s3+
config.status: creating lib/vfs/mc-vfs/extfs/uace
config.status: creating lib/vfs/mc-vfs/extfs/ualz
config.status: creating lib/vfs/mc-vfs/extfs/uar
config.status: creating lib/vfs/mc-vfs/extfs/uarc
config.status: creating lib/vfs/mc-vfs/extfs/uarj
config.status: creating lib/vfs/mc-vfs/extfs/uc1541
config.status: creating lib/vfs/mc-vfs/extfs/uha
config.status: creating lib/vfs/mc-vfs/extfs/ulha
config.status: creating lib/vfs/mc-vfs/extfs/urar
config.status: creating lib/vfs/mc-vfs/extfs/uzip
config.status: creating lib/vfs/mc-vfs/extfs/uzoo
config.status: creating lib/vfs/mc-vfs/fish/Makefile
config.status: creating misc/syntax/Makefile
config.status: creating doc/Makefile
config.status: creating doc/hints/Makefile
config.status: creating doc/man/mc.1
config.status: creating doc/man/mcedit.1
config.status: creating doc/man/mcview.1
config.status: creating doc/man/Makefile
config.status: creating doc/man/es/mc.1
config.status: creating doc/man/es/Makefile
config.status: creating doc/man/hu/mc.1
config.status: creating doc/man/hu/Makefile
config.status: creating doc/man/it/mc.1
config.status: creating doc/man/it/Makefile
config.status: creating doc/man/pl/mc.1
config.status: creating doc/man/pl/Makefile
config.status: creating doc/man/ru/mc.1
config.status: creating doc/man/ru/Makefile
config.status: creating doc/man/sr/mc.1
config.status: creating doc/man/sr/Makefile
config.status: creating doc/hlp/Makefile
config.status: creating doc/hlp/es/Makefile
config.status: creating doc/hlp/hu/Makefile
config.status: creating doc/hlp/it/Makefile
config.status: creating doc/hlp/pl/Makefile
config.status: creating doc/hlp/ru/Makefile
config.status: creating doc/hlp/sr/Makefile
config.status: creating intl/Makefile
config.status: WARNING:  'intl/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Configuration:

  Source code location:       .
  Compiler:                   arm-xscale-linux-gnueabi-gcc -L/tmp/r505/build/ncurses-5.7//build/lib -std=gnu99
  Compiler flags:              -Wcomment -Wdeclaration-after-statement -Wformat -Wimplicit-function-declaration -Wimplicit-int -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-long-long -Wno-unreachable-code -Wparentheses -Wpointer-sign -Wreturn-type -Wshadow -Wsign-compare -Wswitch -Wuninitialized -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings  -I/tmp/r505/build/glib-2.24.2//build/include/glib-2.0 -g -O2
  File system:                Midnight Commander Virtual Filesystem
                              cpio, tar, sfs, extfs, ftp, fish
  Screen library:             ncurses library
  Mouse support:              xterm only
  X11 events support:         no
  With subshell support:      yes
  Internal editor:            yes
  Diff viewer:                yes
  Support for charset:        yes
  Search type:                glib-regexp

and make

sergey@host15:/tmp/r505/build/mc-4.7.4$ make
make  all-recursive
make[1]: Entering directory `/tmp/r505/build/mc-4.7.4'
Making all in intl
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/intl'
make[2]: Цель `all' не требует выполнения команд.
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/intl'
Making all in po
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/po'
make mc.pot-update
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/po'
sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
if test -n 'http://www.midnight-commander.org/' || test '' = '@'PACKAGE_BUGREPORT'@'; then \
	  msgid_bugs_address='http://www.midnight-commander.org/'; \
	else \
	  msgid_bugs_address=''; \
	fi; \
	/usr/bin/xgettext --default-domain=mc --directory=.. \
	  --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ --keyword=Q_ \
	  --files-from=./POTFILES.in \
	  --copyright-holder='Free Software Foundation, Inc.' \
	  --msgid-bugs-address="$msgid_bugs_address"
test ! -f mc.po || { \
	  if test -f ./mc.pot; then \
	    sed -f remove-potcdate.sed < ./mc.pot > mc.1po && \
	    sed -f remove-potcdate.sed < mc.po > mc.2po && \
	    if cmp mc.1po mc.2po >/dev/null 2>&1; then \
	      rm -f mc.1po mc.2po mc.po; \
	    else \
	      rm -f mc.1po mc.2po ./mc.pot && \
	      mv mc.po ./mc.pot; \
	    fi; \
	  else \
	    mv mc.po ./mc.pot; \
	  fi; \
	}
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/po'
test ! -f ./mc.pot || \
	  test -z "az.gmo be.gmo be@tarask.gmo bg.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo es.gmo eu.gmo fi.gmo fr.gmo gl.gmo hu.gmo it.gmo ja.gmo ko.gmo lt.gmo lv.gmo mn.gmo nb.gmo nl.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo ta.gmo tr.gmo uk.gmo vi.gmo wa.gmo zh_CN.gmo zh_TW.gmo" || make az.gmo be.gmo be@tarask.gmo bg.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo es.gmo eu.gmo fi.gmo fr.gmo gl.gmo hu.gmo it.gmo ja.gmo ko.gmo lt.gmo lv.gmo mn.gmo nb.gmo nl.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo ta.gmo tr.gmo uk.gmo vi.gmo wa.gmo zh_CN.gmo zh_TW.gmo
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/po'
msgmerge --update --no-location az.po mc.pot
.............................................................................................................................................................................. завершено.
rm -f az.gmo && /usr/bin/msgfmt -c --statistics -o az.gmo az.po
407 переведенных сообщений, 515 неточных переводов, 171 непереведенное сообщение.
msgmerge --update --no-location be.po mc.pot
....................................................................................................................................................................... завершено.
be.po:974: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:974: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:974: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:974: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:974: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:974: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:974: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:974: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:974: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:1004: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:1004: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:1004: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:1004: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:1004: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:2523: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:2523: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:2523: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:2715: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:2715: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
be.po:2715: предупреждение: Переводимые сообщения не должны содержать escape-последовательность `\r'
rm -f be.gmo && /usr/bin/msgfmt -c --statistics -o be.gmo be.po
632 переведенных сообщения, 381 неточный перевод, 80 непереведенных сообщений.
msgmerge --update --no-location be@tarask.po mc.pot
................................................................................................................... завершено.
rm -f be@tarask.gmo && /usr/bin/msgfmt -c --statistics -o be@tarask.gmo be@tarask.po
411 переведенных сообщений, 514 неточных переводов, 168 непереведенных сообщений.
msgmerge --update --no-location bg.po mc.pot
.................................................................................................................................................................................................. завершено.
rm -f bg.gmo && /usr/bin/msgfmt -c --statistics -o bg.gmo bg.po
441 переведенное сообщение, 503 неточных перевода, 149 непереведенных сообщений.
msgmerge --update --no-location ca.po mc.pot
............................................................................................................................................................................................................... завершено.
rm -f ca.gmo && /usr/bin/msgfmt -c --statistics -o ca.gmo ca.po
407 переведенных сообщений, 516 неточных переводов, 170 непереведенных сообщений.
msgmerge --update --no-location cs.po mc.pot
............................................................................................................................................................................................. завершено.
rm -f cs.gmo && /usr/bin/msgfmt -c --statistics -o cs.gmo cs.po
1082 переведенных сообщения, 11 неточных переводов.
msgmerge --update --no-location da.po mc.pot
..................................................................................................................................................................................................... завершено.
rm -f da.gmo && /usr/bin/msgfmt -c --statistics -o da.gmo da.po
407 переведенных сообщений, 515 неточных переводов, 171 непереведенное сообщение.
msgmerge --update --no-location de.po mc.pot
....................................................................................................................................... завершено.
rm -f de.gmo && /usr/bin/msgfmt -c --statistics -o de.gmo de.po
1083 переведенных сообщения, 10 неточных переводов.
msgmerge --update --no-location el.po mc.pot
............................................................................................................................................................................................... завершено.
rm -f el.gmo && /usr/bin/msgfmt -c --statistics -o el.gmo el.po
101 переведенное сообщение, 283 неточных перевода, 709 непереведенных сообщений.
msgmerge --update --no-location es.po mc.pot
........................................................................................................................................................................................... завершено.
rm -f es.gmo && /usr/bin/msgfmt -c --statistics -o es.gmo es.po
1083 переведенных сообщения, 10 неточных переводов.
msgmerge --update --no-location eu.po mc.pot
..................................................................................................................................................... завершено.
rm -f eu.gmo && /usr/bin/msgfmt -c --statistics -o eu.gmo eu.po
408 переведенных сообщений, 515 неточных переводов, 170 непереведенных сообщений.
msgmerge --update --no-location fi.po mc.pot
.................................................................................................................................................................................................. завершено.
rm -f fi.gmo && /usr/bin/msgfmt -c --statistics -o fi.gmo fi.po
118 переведенных сообщений, 398 неточных переводов, 577 непереведенных сообщений.
msgmerge --update --no-location fr.po mc.pot
...................................................................................................................................................................................................... завершено.
rm -f fr.gmo && /usr/bin/msgfmt -c --statistics -o fr.gmo fr.po
712 переведенных сообщений, 346 неточных переводов, 35 непереведенных сообщений.
msgmerge --update --no-location gl.po mc.pot
....................................................................................................................................................................... завершено.
rm -f gl.gmo && /usr/bin/msgfmt -c --statistics -o gl.gmo gl.po
1084 переведенных сообщения, 9 неточных переводов.
msgmerge --update --no-location hu.po mc.pot
.............................................................................................................................................................................................................. завершено.
rm -f hu.gmo && /usr/bin/msgfmt -c --statistics -o hu.gmo hu.po
1088 переведенных сообщений, 4 неточных перевода, 1 непереведенное сообщение.
msgmerge --update --no-location it.po mc.pot
........................................................................................................................................................................................ завершено.
rm -f it.gmo && /usr/bin/msgfmt -c --statistics -o it.gmo it.po
1083 переведенных сообщения, 10 неточных переводов.
msgmerge --update --no-location ja.po mc.pot
................................................................................................................................................................................ завершено.
rm -f ja.gmo && /usr/bin/msgfmt -c --statistics -o ja.gmo ja.po
407 переведенных сообщений, 515 неточных переводов, 171 непереведенное сообщение.
msgmerge --update --no-location ko.po mc.pot
........................................................................................................................................................................................... завершено.
rm -f ko.gmo && /usr/bin/msgfmt -c --statistics -o ko.gmo ko.po
729 переведенных сообщений, 347 неточных переводов, 17 непереведенных сообщений.
msgmerge --update --no-location lt.po mc.pot
................................................................................................................................................................................................... завершено.
rm -f lt.gmo && /usr/bin/msgfmt -c --statistics -o lt.gmo lt.po
476 переведенных сообщений, 509 неточных переводов, 108 непереведенных сообщений.
msgmerge --update --no-location lv.po mc.pot
.......................................................................................................................................................................................................... завершено.
rm -f lv.gmo && /usr/bin/msgfmt -c --statistics -o lv.gmo lv.po
404 переведенных сообщения, 515 неточных переводов, 174 непереведенных сообщения.
msgmerge --update --no-location mn.po mc.pot
................................................................................................................................................................................................. завершено.
rm -f mn.gmo && /usr/bin/msgfmt -c --statistics -o mn.gmo mn.po
431 переведенное сообщение, 505 неточных переводов, 157 непереведенных сообщений.
msgmerge --update --no-location nb.po mc.pot
................................................................................................................................................................................................... завершено.
rm -f nb.gmo && /usr/bin/msgfmt -c --statistics -o nb.gmo nb.po
421 переведенное сообщение, 511 неточных переводов, 161 непереведенное сообщение.
msgmerge --update --no-location nl.po mc.pot
.............................................................................................................................................................................................. завершено.
rm -f nl.gmo && /usr/bin/msgfmt -c --statistics -o nl.gmo nl.po
672 переведенных сообщения, 382 неточных перевода, 39 непереведенных сообщений.
msgmerge --update --no-location pl.po mc.pot
.............................................................................................................. завершено.
rm -f pl.gmo && /usr/bin/msgfmt -c --statistics -o pl.gmo pl.po
1093 переведенных сообщения.
msgmerge --update --no-location pt.po mc.pot
................................................................................................................................................................................................... завершено.
rm -f pt.gmo && /usr/bin/msgfmt -c --statistics -o pt.gmo pt.po
412 переведенных сообщений, 515 неточных переводов, 166 непереведенных сообщений.
msgmerge --update --no-location pt_BR.po mc.pot
................................................................................................................................................................................. завершено.
rm -f pt_BR.gmo && /usr/bin/msgfmt -c --statistics -o pt_BR.gmo pt_BR.po
382 переведенных сообщения, 531 неточный перевод, 180 непереведенных сообщений.
msgmerge --update --no-location ro.po mc.pot
.............................................................................................................. завершено.
rm -f ro.gmo && /usr/bin/msgfmt -c --statistics -o ro.gmo ro.po
431 переведенное сообщение, 505 неточных переводов, 157 непереведенных сообщений.
msgmerge --update --no-location ru.po mc.pot
.............................................................................................................. завершено.
rm -f ru.gmo && /usr/bin/msgfmt -c --statistics -o ru.gmo ru.po
1092 переведенных сообщения, 1 непереведенное сообщение.
msgmerge --update --no-location sk.po mc.pot
........................................................................................................................................................................................ завершено.
rm -f sk.gmo && /usr/bin/msgfmt -c --statistics -o sk.gmo sk.po
677 переведенных сообщений, 384 неточных перевода, 32 непереведенных сообщения.
msgmerge --update --no-location sl.po mc.pot
...................................................................................................................................................................................... завершено.
rm -f sl.gmo && /usr/bin/msgfmt -c --statistics -o sl.gmo sl.po
431 переведенное сообщение, 505 неточных переводов, 157 непереведенных сообщений.
msgmerge --update --no-location sr.po mc.pot
.................................................................................................................................................................................................... завершено.
rm -f sr.gmo && /usr/bin/msgfmt -c --statistics -o sr.gmo sr.po
443 переведенных сообщения, 501 неточный перевод, 149 непереведенных сообщений.
msgmerge --update --no-location sv.po mc.pot
.................................................................................................................................................................................... завершено.
rm -f sv.gmo && /usr/bin/msgfmt -c --statistics -o sv.gmo sv.po
431 переведенное сообщение, 505 неточных переводов, 157 непереведенных сообщений.
msgmerge --update --no-location ta.po mc.pot
.............................................................................................................................................................................................................. завершено.
rm -f ta.gmo && /usr/bin/msgfmt -c --statistics -o ta.gmo ta.po
26 переведенных сообщений, 255 неточных переводов, 812 непереведенных сообщений.
msgmerge --update --no-location tr.po mc.pot
......................................................................................................................................................................................................... завершено.
rm -f tr.gmo && /usr/bin/msgfmt -c --statistics -o tr.gmo tr.po
407 переведенных сообщений, 515 неточных переводов, 171 непереведенное сообщение.
msgmerge --update --no-location uk.po mc.pot
......................................................................................................................................................................................... завершено.
rm -f uk.gmo && /usr/bin/msgfmt -c --statistics -o uk.gmo uk.po
1093 переведенных сообщения.
msgmerge --update --no-location vi.po mc.pot
.................................................................................................................................................................................. завершено.
rm -f vi.gmo && /usr/bin/msgfmt -c --statistics -o vi.gmo vi.po
474 переведенных сообщения, 508 неточных переводов, 111 непереведенных сообщений.
msgmerge --update --no-location wa.po mc.pot
.................................................................................................................................................................................................... завершено.
rm -f wa.gmo && /usr/bin/msgfmt -c --statistics -o wa.gmo wa.po
306 переведенных сообщений, 482 неточных перевода, 305 непереведенных сообщений.
msgmerge --update --no-location zh_CN.po mc.pot
............................................................................................................................... завершено.
rm -f zh_CN.gmo && /usr/bin/msgfmt -c --statistics -o zh_CN.gmo zh_CN.po
1083 переведенных сообщения, 10 неточных переводов.
msgmerge --update --no-location zh_TW.po mc.pot
....................................................................................................................................................................................... завершено.
rm -f zh_TW.gmo && /usr/bin/msgfmt -c --statistics -o zh_TW.gmo zh_TW.po
402 переведенных сообщения, 520 неточных переводов, 171 непереведенное сообщение.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/po'
touch stamp-po
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/po'
Making all in lib
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/lib'
Making all in filehighlight
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/filehighlight'
  CC     libmcfilehighlight_la-common.lo
  CC     libmcfilehighlight_la-get-color.lo
  CC     libmcfilehighlight_la-ini-file-read.lo
  CCLD   libmcfilehighlight.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/filehighlight'
Making all in mcconfig
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/mcconfig'
  CC     libmcconfig_la-common.lo
  CC     libmcconfig_la-get.lo
  CC     libmcconfig_la-set.lo
  CCLD   libmcconfig.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/mcconfig'
Making all in search
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/search'
  CC     libsearch_la-search.lo
  CC     libsearch_la-lib.lo
  CC     libsearch_la-normal.lo
  CC     libsearch_la-regex.lo
  CC     libsearch_la-glob.lo
  CC     libsearch_la-hex.lo
  CCLD   libsearch.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/search'
Making all in skin
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/skin'
  CC     libmcskin_la-colors.lo
  CC     libmcskin_la-colors-old.lo
  CC     libmcskin_la-common.lo
  CC     libmcskin_la-hc-skins.lo
  CC     libmcskin_la-ini-file.lo
  CC     libmcskin_la-lines.lo
  CCLD   libmcskin.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/skin'
Making all in tty
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/tty'
  CC     libmctty_la-color-internal.lo
  CC     libmctty_la-color.lo
  CC     libmctty_la-key.lo
  CC     libmctty_la-keyxdef.lo
  CC     libmctty_la-mouse.lo
  CC     libmctty_la-tty.lo
  CC     libmctty_la-win.lo
  CC     libmctty_la-x11conn.lo
  CC     libmctty_la-color-ncurses.lo
  CC     libmctty_la-tty-ncurses.lo
  CCLD   libmctty.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/tty'
Making all in vfs
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs'
Making all in mc-vfs
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs'
Making all in extfs
make[5]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs/extfs'
make[5]: Цель `all' не требует выполнения команд.
make[5]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs/extfs'
Making all in fish
make[5]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs/fish'
make[5]: Цель `all' не требует выполнения команд.
make[5]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs/fish'
make[5]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs'
  CC     vfs.lo
  CC     direntry.lo
  CC     utilvfs.lo
  CC     local.lo
  CC     gc.lo
  CC     cpio.lo
  CC     tar.lo
  CC     sfs.lo
  CC     extfs.lo
  CC     netutil.lo
  CC     ftpfs.lo
  CC     fish.lo
  CCLD   libvfs-mc.la
make[5]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs'
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs/mc-vfs'
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/vfs'
make[4]: Цель `all-am' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs'
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/vfs'
Making all in strutil
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib/strutil'
  CC     libmcstrutil_la-strescape.lo
  CC     libmcstrutil_la-strutil8bit.lo
  CC     libmcstrutil_la-strutilascii.lo
  CC     libmcstrutil_la-strutil.lo
  CC     libmcstrutil_la-strutilutf8.lo
  CC     libmcstrutil_la-strverscmp.lo
  CCLD   libmcstrutil.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib/strutil'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/lib'
  CC     libmc_la-utilunix.lo
  CC     libmc_la-util.lo
  CC     libmc_la-glibcompat.lo
  CC     libmc_la-lock.lo
  CCLD   libmc.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/lib'
Making all in src
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/src'
Making all in man2hlp
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/man2hlp'
make[3]: Цель `all' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/man2hlp'
Making all in viewer
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/viewer'
  CC     libmcviewer_la-actions_cmd.lo
  CC     libmcviewer_la-coord_cache.lo
  CC     libmcviewer_la-datasource.lo
  CC     libmcviewer_la-dialogs.lo
  CC     libmcviewer_la-display.lo
  CC     libmcviewer_la-growbuf.lo
  CC     libmcviewer_la-hex.lo
  CC     libmcviewer_la-lib.lo
  CC     libmcviewer_la-mcviewer.lo
  CC     libmcviewer_la-move.lo
  CC     libmcviewer_la-nroff.lo
  CC     libmcviewer_la-plain.lo
  CC     libmcviewer_la-search.lo
  CCLD   libmcviewer.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/viewer'
Making all in editor
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/editor'
  CC     libedit_la-bookmark.lo
  CC     libedit_la-edit.lo
  CC     libedit_la-editcmd.lo
  CC     libedit_la-editwidget.lo
  CC     libedit_la-editdraw.lo
  CC     libedit_la-editkeys.lo
  CC     libedit_la-editmenu.lo
  CC     libedit_la-editoptions.lo
  CC     libedit_la-syntax.lo
  CC     libedit_la-wordproc.lo
  CC     libedit_la-choosesyntax.lo
  CC     libedit_la-etags.lo
  CC     libedit_la-editcmd_dialogs.lo
  CCLD   libedit.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/editor'
Making all in diffviewer
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/diffviewer'
  CC     libdiffviewer_la-search.lo
  CC     libdiffviewer_la-ydiff.lo
  CCLD   libdiffviewer.la
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/diffviewer'
Making all in consaver
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src/consaver'
  CC     cons_saver-cons.saver.o
  CCLD   cons.saver
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src/consaver'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/src'
  CC     charsets.o
  CC     selcodepage.o
  CC     dialog.o
  CC     dialog-switch.o
  CC     menu.o
  CC     screen.o
  CC     tree.o
  CC     widget.o
  CC     wtools.o
  CC     cons.handler.o
  CC     learn.o
  CC     option.o
  CC     setup.o
  CC     keybind.o
  CC     achown.o
  CC     args.o
  CC     background.o
  CC     boxes.o
  CC     chmod.o
  CC     chown.o
  CC     clipboard.o
  CC     cmd.o
  CC     command.o
  CC     complete.o
  CC     dir.o
  CC     execute.o
  CC     ext.o
  CC     file.o
  CC     filegui.o
  CC     filenot.o
  CC     fileopctx.o
  CC     find.o
  CC     help.o
  CC     hotlist.o
  CC     info.o
  CC     layout.o
  CC     listmode.o
  CC     main.o
  CC     panelize.o
  CC     subshell.o
  CC     textconf.o
  CC     treestore.o
  CC     user.o
  CC     mountlist.o
mountlist.c: In function 'get_fs_usage':
mountlist.c:886: warning: unused parameter 'path'
mountlist.c:886: warning: unused parameter 'fsp'
mountlist.c: At top level:
mountlist.c:840: warning: 'fs_adjust_blocks' defined but not used
  CCLD   mc
  CC     mfmt.o
  CCLD   mcmfmt
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/src'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/src'
Making all in doc
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/doc'
Making all in hints
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hints'
make[3]: Цель `all' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hints'
Making all in man
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man'
Makefile:778: предупреждение: переопределение команд для цели `mc.1'
Makefile:400: предупреждение: старые команды для цели `mc.1' игнорируются
Makefile:784: предупреждение: переопределение команд для цели `mcedit.1'
Makefile:402: предупреждение: старые команды для цели `mcedit.1' игнорируются
Makefile:790: предупреждение: переопределение команд для цели `mcview.1'
Makefile:404: предупреждение: старые команды для цели `mcview.1' игнорируются
Making all in es
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/es'
Makefile:570: предупреждение: переопределение команд для цели `mc.1'
Makefile:358: предупреждение: старые команды для цели `mc.1' игнорируются
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/es'
Making all in hu
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/hu'
Makefile:570: предупреждение: переопределение команд для цели `mc.1'
Makefile:358: предупреждение: старые команды для цели `mc.1' игнорируются
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/hu'
Making all in it
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/it'
Makefile:570: предупреждение: переопределение команд для цели `mc.1'
Makefile:358: предупреждение: старые команды для цели `mc.1' игнорируются
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/it'
Making all in pl
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/pl'
Makefile:570: предупреждение: переопределение команд для цели `mc.1'
Makefile:358: предупреждение: старые команды для цели `mc.1' игнорируются
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/pl'
Making all in ru
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/ru'
Makefile:570: предупреждение: переопределение команд для цели `mc.1'
Makefile:358: предупреждение: старые команды для цели `mc.1' игнорируются
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/ru'
Making all in sr
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man/sr'
Makefile:570: предупреждение: переопределение команд для цели `mc.1'
Makefile:358: предупреждение: старые команды для цели `mc.1' игнорируются
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man/sr'
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/man'
Makefile:778: предупреждение: переопределение команд для цели `mc.1'
Makefile:400: предупреждение: старые команды для цели `mc.1' игнорируются
Makefile:784: предупреждение: переопределение команд для цели `mcedit.1'
Makefile:402: предупреждение: старые команды для цели `mcedit.1' игнорируются
Makefile:790: предупреждение: переопределение команд для цели `mcview.1'
Makefile:404: предупреждение: старые команды для цели `mcview.1' игнорируются
make[4]: Цель `all-am' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man'
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/man'
Making all in hlp
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp'
Making all in es
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/es'
../../../src/man2hlp/man2hlp ../../../doc/man/es/mc.1 ./xnc.hlp mc.hlp.es
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/es'
Making all in hu
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/hu'
../../../src/man2hlp/man2hlp ../../../doc/man/hu/mc.1 ./xnc.hlp mc.hlp.hu
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/hu'
Making all in it
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/it'
../../../src/man2hlp/man2hlp ../../../doc/man/it/mc.1 ./xnc.hlp mc.hlp.it
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/it'
Making all in pl
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/pl'
../../../src/man2hlp/man2hlp ../../../doc/man/pl/mc.1 ./xnc.hlp mc.hlp.pl
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/pl'
Making all in ru
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/ru'
../../../src/man2hlp/man2hlp ../../../doc/man/ru/mc.1 ./xnc.hlp mc.hlp.ru
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/ru'
Making all in sr
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp/sr'
../../../src/man2hlp/man2hlp ../../../doc/man/sr/mc.1 ./xnc.hlp mc.hlp.sr
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp/sr'
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/doc/hlp'
../../src/man2hlp/man2hlp ../../doc/man/mc.1 ./xnc.hlp mc.hlp
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp'
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc/hlp'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/doc'
make[3]: Цель `all-am' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/doc'
Making all in contrib
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib'
Making all in dist
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist'
Making all in debian
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist/debian'
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist/debian'
Making all in gentoo
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist/gentoo'
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist/gentoo'
Making all in redhat
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist/redhat'
make[4]: Цель `all' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist/redhat'
make[4]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib/dist'
make[4]: Цель `all-am' не требует выполнения команд.
make[4]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist'
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib/dist'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/contrib'
sed "s%@""pkglibexecdir@%/tmp/r505/build/mc-4.7.4//build/libexec/mc%" ./mc.csh.in > mc.csh
sed "s%@""pkglibexecdir@%/tmp/r505/build/mc-4.7.4//build/libexec/mc%" ./mc.sh.in > mc.sh
sed "s%@""bindir@%/tmp/r505/build/mc-4.7.4//build/bin%" ./mc-wrapper.csh.in > mc-wrapper.csh
sed "s%@""bindir@%/tmp/r505/build/mc-4.7.4//build/bin%" ./mc-wrapper.sh.in > mc-wrapper.sh
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/contrib'
Making all in misc
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4/misc'
Making all in skins
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/misc/skins'
make[3]: Цель `all' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/misc/skins'
Making all in syntax
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/misc/syntax'
make[3]: Цель `all' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/misc/syntax'
make[3]: Entering directory `/tmp/r505/build/mc-4.7.4/misc'
make[3]: Цель `all-am' не требует выполнения команд.
make[3]: Leaving directory `/tmp/r505/build/mc-4.7.4/misc'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4/misc'
make[2]: Entering directory `/tmp/r505/build/mc-4.7.4'
make[2]: Leaving directory `/tmp/r505/build/mc-4.7.4'
make[1]: Leaving directory `/tmp/r505/build/mc-4.7.4'
sergey@host15:/tmp/r505/build/mc-4.7.4$ 

comment:48 Changed 13 years ago by angel_il

  • Votes for changeset set to angel_il

comment:49 Changed 13 years ago by slavazanko

  • Owner changed from andrew_b to slavazanko
  • Votes for changeset changed from angel_il to angel_il slavazanko
  • severity changed from on review to approved

comment:50 Changed 13 years ago by slavazanko

  • Status changed from accepted to testing
  • Votes for changeset changed from angel_il slavazanko to commited-master
  • Resolution set to fixed
  • severity changed from approved to merged

comment:51 follow-up: ↓ 52 Changed 13 years ago by zaytsev

Are we gonna fix the warnings in the clean-up?

mountlist.c: In function 'get_fs_usage':
mountlist.c:886: warning: unused parameter 'path'
mountlist.c:886: warning: unused parameter 'fsp'
mountlist.c: At top level:
mountlist.c:840: warning: 'fs_adjust_blocks' defined but not used

comment:52 in reply to: ↑ 51 ; follow-up: ↓ 53 Changed 13 years ago by laborer

Replying to zaytsev:

Are we gonna fix the warnings in the clean-up?

mountlist.c: In function 'get_fs_usage':
mountlist.c:886: warning: unused parameter 'path'
mountlist.c:886: warning: unused parameter 'fsp'
mountlist.c: At top level:
mountlist.c:840: warning: 'fs_adjust_blocks' defined but not used

Too many preprocessor directives in this area. It is not trivially.
May be use gcc c extention attribute((unused))?

comment:53 in reply to: ↑ 52 ; follow-up: ↓ 54 Changed 13 years ago by andrew_b

Replying to laborer:

May be use gcc c extention attribute((unused))?

No. Not gcc only is used to build mc in other platforms.

comment:54 in reply to: ↑ 53 Changed 13 years ago by laborer

Replying to andrew_b:

Replying to laborer:

May be use gcc c extention attribute((unused))?

No. Not gcc only is used to build mc in other platforms.

Another way:
path=path;
fsp=fsp;

comment:55 Changed 13 years ago by zap

The standard way to do this is:

(void)path;
(void)fsp;

this works with all compilers.

comment:56 Changed 13 years ago by andrew_b

  • Keywords stable-candidate removed
  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.