рано радовался ))
теперь вот это
Code:
cons.handler.c: In function 'handle_console':
cons.handler.c:146: error: 'LIBDIR' undeclared (first use in this function)
cons.handler.c:146: error: (Each undeclared identifier is reported only once
cons.handler.c:146: error: for each function it appears in.)
make[2]: *** [cons.handler.o] Error 1
make[2]: Leaving directory `/home/downloads/makesub/mc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/downloads/makesub/mc'
make: *** [all] Error 2
все окончательно запоролся на этом
Code:
gcc -I/opt/include/glib-2.0 -I/opt/lib/glib-2.0/include -g -O2 -Wall -o mc achown.o background.o boxes.o chmod.o chown.o cmd.o color.o command.o complete.o cons.handler.o dialog.o dir.o dlg.o ext.o file.o filegui.o filenot.o fileopctx.o find.o findme.o fsusage.o help.o hotlist.o info.o key.o keyxdef.o layout.o learn.o listmode.o main.o menu.o mountlist.o mouse.o option.o panelize.o popt.o poptconfig.o popthelp.o poptparse.o profile.o regex.o rxvt.o screen.o setup.o slint.o subshell.o terms.o text.o textconf.o tree.o treestore.o user.o util.o utilunix.o view.o widget.o win.o wtools.o charsets.o selcodepage.o ../edit/libedit.a ../vfs/libvfs-mc.a -L/opt/lib -lglib-2.0 -lintl -lslang
slint.o: In function `SLang_getkey2':
/home/downloads/makesub/mc/src/slint.c:102: undefined reference to `_SLsys_getkey'
slint.o: In function `SLang_input_pending2':
/home/downloads/makesub/mc/src/slint.c:115: undefined reference to `_SLsys_input_pending'
collect2: ld returned 1 exit status
make[2]: *** [mc] Error 1
make[2]: Leaving directory `/home/downloads/makesub/mc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/downloads/makesub/mc'
make: *** [all] Error 2
были еще косяки со статическим объявлением, но это я легко победил.
дико извиняюсь, а если собирать на PC то не будет такой фигни?