mc compilation error: undefined reference to `MAX'



Compiling mc checked out from CVS today dies with the following error:

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/home/ned/filez/src/gnome/mc/intl -lintl
-rdynamic -L/usr/local/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl
-lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lintl -lXext -lX11 -lgnome
-lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl -lintl
-L/usr/local/lib -lglib -lext2fs -lcom_err    
gscreen.o: In function `panel_widget_motion':
/home/ned/filez/src/gnome/mc/gnome/gscreen.c:951: undefined reference to
`MAX'
collect2: ld returned 1 exit status
make[2]: *** [plain-gmc] Error 1
make[2]: Leaving directory `/home/ned/filez/src/gnome/mc/gnome'
make[1]: *** [mx] Error 2
make[1]: Leaving directory `/home/ned/filez/src/gnome/mc/gnome'
make: *** [all] Error 1


Slackware Linux 3.6
kernel 2.0.36
glib, gtk+, imlib, ORBit, gnome-libs, gnome-xml, gnome-core -> all from CVS
within the last 5 days

Any suggestions will be appreciated.

Ned



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