Re: Compile from git clone fails.



On Thu, 26 Dec 2013 13:50:24 -0800 "Mike Smithson" <mdooligan 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 2>&1 && tar cjf mc-log.tar.bz2 config.log make.log

-- 
Andrew


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