Updated mc.hint

Steef Boerrigter sxmboer at sci.kun.nl
Thu Aug 2 16:43:20 UTC 2001


Hi Pavel,


> My only idea is that you should run "make clean" before
Right! I forgot that. mc compiles&runs fine. However, after
./configure --disable-nls
make

I get:

vstofchem18[115]~/mc-4.5.54a>./gnome/plain-gmc 
 5135:./gnome/plain-gmc: rld: Fatal Error: attempted access to
unresolvable symbol in /usr/local/lib/libgnome.so.33: bindtextdomain
Exit 1

I guess a similar problem is at hand here. Should there also be a i18n.h
in gnome?


Other spurious warnings I get (in order of appearance):
I don't know which errors are caused by the old age of my gcc (2.7.2)
and glib (libglib-1.2.so.1.6a) nd gnome (libgnome.so.33.11) and which
are truly caused by the IRIX platform. The only thing that really worry
me are the "statement with no effect" warnings

Remember, I'm the guy with the IRIX 6.2 workstation.
using recent CVS version.


direntry.c: In function `vfs_s_dump':
direntry.c:1013: warning: int format, long int arg (arg 4)


screen.c: In function `string_file_perm_octal':
screen.c:312: warning: unsigned int format, mode_t arg (arg 4)
screen.c: In function `string_file_nlinks':
screen.c:322: warning: int format, long int arg (arg 4)
screen.c: In function `string_file_nuid':
screen.c:342: warning: int format, uid_t arg (arg 4)
screen.c: In function `string_file_ngid':
screen.c:352: warning: int format, gid_t arg (arg 4)

In file included from
/usr/local/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/include/limits.h:112,
                 from
/usr/local/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/include/syslimits.h:7,
                 from
/usr/local/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/include/limits.h:11,
                 from /usr/local/lib/glib/include/glibconfig.h:13,
                 from /usr/local/include/glib.h:66,
                 from global.h:6,
                 from file.c:84:
/usr/include/limits.h:185: warning: `RE_DUP_MAX' redefined
eregex.h:212: warning: this is the location of the previous definition

subshell.c: In function `init_subshell':
subshell.c:438: warning: int format, pid_t arg (arg 4)
subshell.c: In function `exit_subshell':
subshell.c:782: warning: int format, pid_t arg (arg 4)

main.c: In function `OS_Setup':
main.c:2389: warning: int format, pid_t arg (arg 4)
main.c: In function `main':
main.c:2974: warning: statement with no effect
main.c:2975: warning: statement with no effect

learn.c: In function `init_learn':
learn.c:235: warning: unused variable `i18n_flag'

In file included from
/usr/local/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/include/limits.h:112,
                 from
/usr/local/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/include/syslimits.h:7,
                 from
/usr/local/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/include/limits.h:11,
                 from /usr/local/lib/glib/include/glibconfig.h:13,
                 from /usr/local/include/glib.h:66,
                 from global.h:6,
                 from filegui.c:86:
/usr/include/limits.h:185: warning: `RE_DUP_MAX' redefined
eregex.h:212: warning: this is the location of the previous definition

filegui.c: In function `fmd_init_i18n':
filegui.c:817: warning: unused variable `len'
filegui.c:816: warning: unused variable `i'

gcc -c -I..  -I.. -I../slang  -I../vfs -I../slang
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/local/include
-DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include
-I/usr/local/lib/glib/include -I.. -DHAVE_CONFIG_H -g -O2 -Wall -DHAVE_X
-DHAVE_GNOME -DGTK edit.c
In file included from ../src/fs.h:10,
                 from ../src/util.h:52,
                 from edit.h:170,
                 from edit.c:33:
/usr/include/sys/param.h:348: warning: `MIN' redefined
/usr/local/include/glib.h:126: warning: this is the location of the
previous definition
/usr/include/sys/param.h:349: warning: `MAX' redefined
/usr/local/include/glib.h:123: warning: this is the location of the
previous definition


gcc -c -I..  -I.. -I../slang  -I../vfs -I../slang
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/local/include
-DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include
-I/usr/local/lib/glib/include -I.. -DHAVE_CONFIG_H -g -O2 -Wall -DHAVE_X
-DHAVE_GNOME -DGTK editcmd.c
In file included from ../src/fs.h:10,
                 from ../src/util.h:52,
                 from edit.h:170,
                 from editcmd.c:34:
/usr/include/sys/param.h:348: warning: `MIN' redefined
/usr/local/include/glib.h:126: warning: this is the location of the
previous definition
/usr/include/sys/param.h:349: warning: `MAX' redefined
/usr/local/include/glib.h:123: warning: this is the location of the
previous definition
editcmd.c:1408: warning: `B_ENTER' redefined
../src/dlg.h:20: warning: this is the location of the previous
definition
editcmd.c:1412: warning: `B_CANCEL' redefined
../src/dlg.h:19: warning: this is the location of the previous
definition


gcc -c -I..  -I.. -I../slang  -I../vfs -I../slang
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/local/include
-DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include
-I/usr/local/lib/glib/include -I.. -DHAVE_CONFIG_H -g -O2 -Wall -DHAVE_X
-DHAVE_GNOME -DGTK editdraw.c
In file included from ../src/fs.h:10,
                 from ../src/util.h:52,
                 from edit.h:170,
                 from editdraw.c:26:
/usr/include/sys/param.h:348: warning: `MIN' redefined
/usr/local/include/glib.h:126: warning: this is the location of the
previous definition
/usr/include/sys/param.h:349: warning: `MAX' redefined
/usr/local/include/glib.h:123: warning: this is the location of the
previous definition


MIN/MAX happens a lot more


screen.c: In function `string_file_perm_octal':
screen.c:312: warning: unsigned int format, mode_t arg (arg 4)
screen.c: In function `string_file_nlinks':
screen.c:322: warning: int format, long int arg (arg 4)
screen.c: In function `string_file_nuid':
screen.c:342: warning: int format, uid_t arg (arg 4)
screen.c: In function `string_file_ngid':
screen.c:352: warning: int format, gid_t arg (arg 4)

/usr/include/limits.h:185: warning: `RE_DUP_MAX' redefined


gmc-chargrid.c: In function `gmc_char_grid_set_font':
gmc-chargrid.c:523: warning: passing arg 1 of `gdk_fontset_load'
discards `const' from pointer target type


gnome-file-property-dialog.c: In function `perm_group_new':
gnome-file-property-dialog.c:909: warning: int format, gid_t arg (arg 4)


gview.c: In function `gview_quit':
gview.c:253: warning: implicit declaration of function `view_ok_to_quit'


./magicdev.idl:3: Warning: `reread_config' underscores within
identifiers are discouraged for use with C-language IDL mappings


main.c: In function `OS_Setup':
main.c:2389: warning: int format, pid_t arg (arg 4)
main.c: In function `main':
main.c:2974: warning: statement with no effect
main.c:2975: warning: statement with no effect


cc1: warning: `-g' not supported by this configuration of GCC
main.c: In function `OS_Setup':
main.c:2389: warning: int format, pid_t arg (arg 4)
main.c: In function `main':
main.c:2974: warning: statement with no effect
main.c:2975: warning: statement with no effect
orbit-idl `gnome-config --cflags idl` ./../idl/FileManager.idl


magicdev-stubs.c: In function `GNOME_MagicDev_is_running':
magicdev-stubs.c:95: warning: `_ORBIT_retval' might be used
uninitialized in this function


FileManager-stubs.c: In function
`GNOME_FileManager_WindowFactory__get_the_desktop':
FileManager-stubs.c:327: warning: `_ORBIT_retval' might be used
uninitialized in this function
FileManager-stubs.c: In function
`GNOME_FileManager_WindowFactory_create_window':
FileManager-stubs.c:416: warning: `_ORBIT_retval' might be used
uninitialized in this function
FileManager-stubs.c: In function
`GNOME_FileManager_WindowFactory_get_windows_by_directory':
FileManager-stubs.c:681: warning: `_ORBIT_retval' might be used
uninitialized in this function


gmc-client.c: In function `main':
gmc-client.c:231: warning: statement with no effect
gmc-client.c:232: warning: statement with no effect




More information about the mc-devel mailing list