Re: Compile from git clone fails.
On Thu, 26 Dec 2013 22:38:24 -0800, Andrew Borodin aboro...@vmail.ru wrote: Could you please show config.log and full make log: make V=1 make.log 21 tar cjf mc-log.tar.bz2 config.log make.log Certainly. See attached. -- Peace and Cheer mc-log.tar.bz2 Description: Unix tar archive ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: Compile from git clone fails (SOLVED).
Problem solved: I just now upgraded m4, autoconf, and automake to the freshest from http://ftp.gnu.org/gnu, and then it couldn't even get through autogen.sh. I upgraded libtool, and now everything works. Strange thing too, because I remembered upgrading these within the last year, but when I looked at the versions, I must have done a deliberate *minimal* upgrade, because even though they were compiled on Jan 29 2013, the versions were ancient (2006). Heh, you can see what a dinosaur I am. :) Anyway, now I can keep going on my git tutorial and stuff. Thank you very much. -- Peace and Cheer ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Compile from git clone fails.
Normally I compile from tarball. git clone git://github.com/MidnightCommander/mc.git I used standard process: autogen.sh, ./configure, make, and everything goes fine until the very end. I get this: gcc -std=gnu99 -Wcomment -Wdeclaration-after-statement -Wfloat-equal -Wformat -Wformat-security -Wimplicit -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-long-long -Wno-unreachable-code -Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wuninitialized -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings -g -O2 -o mc main.o ./.libs/libinternal.al -L/usr/lib ../lib/.libs/libmc.al -lslang -lgpm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so ./.libs/libinternal.al(mcviewer.lo)(.text+0x2c1): In function `mcview_new': /home/miven/src/Managers/mc/git/mc-4.8.11-131225b/src/viewer/mcviewer.c:214: undefined reference to `mcview_init' ./.libs/libinternal.al(mcviewer.lo)(.text+0x304):/home/miven/src/Managers/mc/git/mc-4.8.11-131225b/src/viewer/mcviewer.c:217: undefined reference to `mcview_toggle_hex_mode' ./.libs/libinternal.al(mcviewer.lo)(.text+0x324):/home/miven/src/Managers/mc/git/mc-4.8.11-131225b/src/viewer/mcviewer.c:219: undefined reference to `mcview_toggle_nroff_mode' ./.libs/libinternal.al(mcviewer.lo)(.text+0x344):/home/miven/src/Managers/mc/git/mc-4.8.11-131225b/src/viewer/mcviewer.c:221: undefined reference to `mcview_toggle_wrap_mode' ./.libs/libinternal.al(mcviewer.lo)(.text+0x364):/home/miven/src/Managers/mc/git/mc-4.8.11-131225b/src/viewer/mcviewer.c:223: undefined reference to `mcview_toggle_magic_mode' ... etc etc etc ... I've never seen this before and I haven't been able to track it down yet. Any ideas? -- Peace and Cheer ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: Compile from git clone fails.
On Thu, 26 Dec 2013 13:50:24 -0800 Mike Smithson mdooli...@gmail.com wrote: Normally I compile from tarball. git clone git://github.com/MidnightCommander/mc.git I used standard process: autogen.sh, ./configure, make, and everything goes fine until the very end. I get this: gcc -std=gnu99 -Wcomment -Wdeclaration-after-statement -Wfloat-equal -Wformat -Wformat-security -Wimplicit -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-long-long -Wno-unreachable-code -Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wuninitialized -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings -g -O2 -o mc main.o ./.libs/libinternal.al -L/usr/lib ../lib/.libs/libmc.al -lslang -lgpm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so ./.libs/libinternal.al(mcviewer.lo)(.text+0x2c1): In function `mcview_new': /home/miven/src/Managers/mc/git/mc-4.8.11-131225b/src/viewer/mcviewer.c:214: undefined reference to `mcview_init' ./.libs/libinternal.al(mcviewer.lo)(.text+0x304):/home/miven/src/Managers/mc/git/mc-4.8.11-131225b/src/viewer/mcviewer.c:217: undefined reference to `mcview_toggle_hex_mode' ./.libs/libinternal.al(mcviewer.lo)(.text+0x324):/home/miven/src/Managers/mc/git/mc-4.8.11-131225b/src/viewer/mcviewer.c:219: undefined reference to `mcview_toggle_nroff_mode' ./.libs/libinternal.al(mcviewer.lo)(.text+0x344):/home/miven/src/Managers/mc/git/mc-4.8.11-131225b/src/viewer/mcviewer.c:221: undefined reference to `mcview_toggle_wrap_mode' ./.libs/libinternal.al(mcviewer.lo)(.text+0x364):/home/miven/src/Managers/mc/git/mc-4.8.11-131225b/src/viewer/mcviewer.c:223: undefined reference to `mcview_toggle_magic_mode' ... etc etc etc ... Cannot reproduce. Works fine for me. Could you please show config.log and full make log: make V=1 make.log 21 tar cjf mc-log.tar.bz2 config.log make.log -- Andrew ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc