igraph-help
[Top][All Lists]
Advanced

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

[igraph] compilation failed at trunk revision #2445


From: Minh Nguyen
Subject: [igraph] compilation failed at trunk revision #2445
Date: Tue, 10 May 2011 20:23:35 +1000

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.

-- 
Regards
Minh Van Nguyen



reply via email to

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