gmc compile fails on Solaris 2.6



Hi,

Here is the output of make in mc-4.5.30/gnome:

[root@stat01 gnome]# make
ok
ok
make plain-gmc
make[1]: Entering directory `/usr/local/src/mc-4.5.30/gnome'
gcc -c -I..  -I./.. -I../slang  -I./../vfs -I./../slang -I.. -DBINDIR=\""/usr/local/pkg/gnome/bin/"\" -DLIBDIR=\""/usr/local/pkg/gnome/lib/mc/"\" -DICONDIR=\""/usr/local/pkg/gnome/share/pixmaps/mc/"\"  -DLOCALEDIR=\""/usr/local/pkg/gnome/share/locale/"\" -DCONFDIR=\""/usr/local/pkg/gnome/etc/"\" -DDESKTOP_INIT_DIR=\""/usr/local/pkg/gnome/lib/mc/desktop-scripts/"\" -I./../vfs -DHAVE_X -DHAVE_GNOME -I/usr/local/pkg/gnome/include -DNEED_GNOMESUPPORT_H -I/usr/local/pkg/gnome/lib/gnome-libs/include -I/usr/local/pkg/gnome/lib/glib/include -I/usr/local/pkg/gnome//include -I/usr/local/X11R6.4/include  -DHAVE_CONFIG_H -g -g -I/usr/local/pkg/gnome/lib/glib/include -I/usr/local/pkg/gnome/include  -I/usr/local/X11R6.4/include -I. -I./../src gscreen.c
gcc -o plain-gmc main.o mad.o dlg.o screen.o widget.o wtools.o info.o boxes.o file.o find.o dialog.o key.o chmod.o chown.o view.o panelize.o hotlist.o background.o dir.o util.o win.o color.o profile.o user.o ext.o setup.o subshell.o terms.o achown.o fsusage.o mountlist.o regex.o complete.o command.o option.o cmd.o utilunix.o xslint.o gdialogs.o filenot.o fileopctx.o treestore.o gaction.o gcache.o gcliplabel.o gcmd.o gcustom-layout.o gdesktop-icon.o gdesktop-init.o gdesktop.o gdnd.o ghelp.o gicon.o ginfo.o gkey.o glayout.o gmain.o gmount.o gmc-chargrid.o gmenu.o gmetadata.o gpageprop.o gpopup2.o gprefs.o gprint.o gprop.o gnome-file-property-dialog.o gnome-open-dialog.o gscreen.o gsession.o gtools.o gtree.o gutil.o gview.o gtkdtree.o gtkflist.o gwidget.o -L../vfs -lvfs-mc -L../gtkedit -lgtkedit   -L/usr/local/pkg/gnome/lib -L/usr/local/pkg/gnome//lib -L/usr/local/X11R6.4/lib -R/usr/local/X11R6.4/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -!
!
!
lsocket -lnsl -lm -lgnome -lgnomesupport -ldb -lglib -ldl -lsocket -lnsl -lsocket -lnsl -lgen -lgen -lintl  -L/usr/local/pkg/gnome/lib -lglib -lsocket -lsocket -lcurses
Undefined                       first referenced
 symbol                             in file
MAX                                 gscreen.o
ld: fatal: Symbol referencing errors. No output written to plain-gmc
make[1]: *** [plain-gmc] Error 1
make[1]: Leaving directory `/usr/local/src/mc-4.5.30/gnome'
make: *** [mx] Error 2


I can of course define MAX without too much trouble, but this should probably be fixed.

This is on Solaris 2.6 with gcc 2.8.

Lyndon



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]