igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] compilation failed at trunk revision #2445


From: Tamas Nepusz
Subject: Re: [igraph] compilation failed at trunk revision #2445
Date: Tue, 10 May 2011 12:30:11 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10

Hi Minh,

Thanks for the heads up -- I am aware of the missing distances.c and I
already asked Gabor to commit it, but he's in a different timezone so we
have to wait a bit :) As for the warnings, I'll fix them soon.

-- 
Tamas

On 05/10/2011 12:23 PM, Minh Nguyen wrote:
> Hi folks,
> 
> I checked out trunk revision #2445 and configured it as follows
> 
> ./configure --prefix=/scratch/mvngu/usr --disable-graphml
> --disable-gmp --disable-glpk --enable-gcc-warnings
> 
> Doing make resulted in a compilation failure. Here's a relevant snippet:
> 
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -Wall -g -O2
> -MT libigraph_la-igraph_hrg_types.lo -MD -MP -MF
> .deps/libigraph_la-igraph_hrg_types.Tpo -c igraph_hrg_types.cc  -fPIC
> -DPIC -o .libs/libigraph_la-igraph_hrg_types.o
> igraph_hrg_types.cc: In member function ‘fitHRG::elementd*
> fitHRG::dendro::findCommonAncestor(fitHRG::list**, int, int)’:
> igraph_hrg_types.cc:1260: warning: ‘lastStep’ may be used
> uninitialized in this function
> igraph_hrg_types.cc: In member function ‘fitHRG::list*
> fitHRG::dendro::binarySearchFind(double)’:
> igraph_hrg_types.cc:713: warning: ‘tail’ may be used uninitialized in
> this function
> igraph_hrg_types.cc:713: warning: ‘head’ may be used uninitialized in
> this function
> igraph_hrg_types.cc: In member function ‘fitHRG::slist*
> fitHRG::splittree::returnListOfKeys()’:
> igraph_hrg_types.cc:2776: warning: ‘tail’ may be used uninitialized in
> this function
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -Wall -g -O2
> -MT libigraph_la-igraph_hrg_types.lo -MD -MP -MF
> .deps/libigraph_la-igraph_hrg_types.Tpo -c igraph_hrg_types.cc -o
> libigraph_la-igraph_hrg_types.o >/dev/null 2>&1
> mv -f .deps/libigraph_la-igraph_hrg_types.Tpo
> .deps/libigraph_la-igraph_hrg_types.Plo
> /bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
> -I. -I..    -I../include -I../include -Wall -g -O2 -MT
> libigraph_la-igraph_hrg.lo -MD -MP -MF
> .deps/libigraph_la-igraph_hrg.Tpo -c -o libigraph_la-igraph_hrg.lo
> `test -f 'igraph_hrg.cc' || echo './'`igraph_hrg.cc
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -Wall -g -O2
> -MT libigraph_la-igraph_hrg.lo -MD -MP -MF
> .deps/libigraph_la-igraph_hrg.Tpo -c igraph_hrg.cc  -fPIC -DPIC -o
> .libs/libigraph_la-igraph_hrg.o
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -Wall -g -O2
> -MT libigraph_la-igraph_hrg.lo -MD -MP -MF
> .deps/libigraph_la-igraph_hrg.Tpo -c igraph_hrg.cc -o
> libigraph_la-igraph_hrg.o >/dev/null 2>&1
> mv -f .deps/libigraph_la-igraph_hrg.Tpo .deps/libigraph_la-igraph_hrg.Plo
> make[3]: *** No rule to make target `distances.c', needed by
> `libigraph_la-distances.lo'.  Stop.
> make[3]: Leaving directory `/disk/scratch/mvngu/apps/igraph/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/disk/scratch/mvngu/apps/igraph/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/disk/scratch/mvngu/apps/igraph'
> make: *** [all] Error 2
> 
> Also note the compiler warnings in the above snippet.
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]