mc-4.5.30 compilation



Greets all,

Blah, i'm thinking this has to be associated with the problem i was
having with INT_MAX although this seems to be a function not a
definition

Compiing mc-4.5.30 on slackware 4.0 beta with egcs 1.1.2 glib/gtk 1.2.1,
gnome-libs-1.0.8 (everything in gnome latest)

In gscreen.c:951 there's
        if (MAX (abs (panel->click_x - event->x),
                 abs (panel->click_y - event->y)) <= 3)
                return FALSE;

I'm getting undefinfed references to that MAX function.  I've been
looking through all the header files included within gscreen.c but can't
find any definition for it.  Output from failed compilation is below



-Brian

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



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