GT-TDAlab / dagP

Multilevel Directed Acyclic Graph Partitioner
GNU Lesser General Public License v3.0
28 stars 5 forks source link

Build Issue #3

Closed Liangdayi closed 2 years ago

Liangdayi commented 2 years ago

when run scons
I got an error as follow: Linking Program ==> exe/rMLGP --> cc -o exe/rMLGP -m64 -static -s src/recBisection/rMLGP.o $( -Llib $) -ldagp -lm /usr/bin/ld: lib/libdagp.a(dgraphDotReader.o): in function 'readDGraphDot': dgraphDotReader.cpp:(.text+0xc4): undefined reference to 'operator new(unsigned long)' /usr/bin/ld: dgraphDotReader.cpp:(.text+0x2c1): undefined reference to 'std::_Rb_tree_increment(std::_Rb_tree_node_base*)' .... /usr/bin/ld: lib/libdagp.a(dgraphDotReader.o):(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to '__gxx_personality_v0' collect2: error: ld returned 1 exit status scons: *** [exe/rMLGP] Error 1 scons: building terminated because of errors.

How can I solve it?