[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] [Igraph] Help
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] [Igraph] Help |
Date: |
Wed, 10 Jun 2015 14:42:47 -0400 |
Encountering what? The failed checks? That's probably because of the
incorrect setup. Can you compile and run a program by hand?
Gabor
On Wed, Jun 10, 2015 at 2:32 PM, mike <address@hidden> wrote:
> Gábor Csárdi <address@hidden> writes:
>
>>
>>
>> Add -lstdc++:
>>
>> http://stackoverflow.com/questions/10906275/undefined-reference-to-
> stdios-baseinitinit
>>
>>
>> Gabor
>>
>>
>> On Sat, May 3, 2014 at 12:14 AM, patricia <souza302418-
> address@hidden> wrote:
>>
>>
>>
>> I want to compile and run a program using the following command line :
>>
>> << gcc Teste.c -I/usr/local/include/igraph -L/usr/local/lib -
> ligraph -o Teste >>
>>
>> The following errors occur ( running via cygwin shell )
>>
>> PATRICIA APPEARED <at> ETEP_PATRICIA / cygdrive / c / TesteGrafo
>> $ Gcc -L/usr/local/lib - teste.c -I/usr/local/include/igraph ligraph -
> Test
>> / usr / local / lib / libigraph.a ( libigraph_la - gengraph_mr -
> connected.o ) : In function ` _ static_initialization_and_destruction_0
> ' :
>> / usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c + + / iostream : 74 :
> undefined reference to ` std :: ios_base :: Init :: Init ( ) '
>> / usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c + + / iostream : 74 :
> undefined reference to ` std :: ios_base :: Init :: ~ Init ( ) '
>> / usr / local / lib / libigraph.a ( libigraph_la - gengraph_mr -
> connected.o ) : gengraph_mr -con nected.cpp : ( . eh_frame xaf +0 ) :
> undefined reference to ` __gxx_personality_v0 '
>> / usr / local / lib / libigraph.a ( libigraph_la -
> gengraph_degree_sequence.o ) : In function `
> _static_initialization_and_destruction_0 ' :
>> / usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c + + / iostream : 74 :
> undefined reference to ` std :: ios_base :: Init :: Init ( ) '
>> / usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c + + / iostream : 74 :
> undefined reference to ` std :: ios_base :: Init :: ~ Init ( ) '
>> / usr / local / lib / libigraph.a ( libigraph_la -
> gengraph_degree_sequence.o ) : gengraph_deg ree_sequence.cpp : ( .
> eh_frame +0 x21f ) : undefined reference to ` __gxx_personality_v0 '
>> / usr / local / lib / libigraph.a ( libigraph_la -
> gengraph_graph_molloy_optimized.o ) : In f unction `
> _static_initialization_and_destruction_0 ' :
>> / usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c + + / iostream : 74 :
> undefined reference to ` std :: ios_base :: Init :: Init ( ) '
>> / usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c + + / iostream : 74 :
> undefined reference to ` std :: ios_base :: Init :: ~ Init ( ) '
>> / usr / local / lib / libigraph.a ( libigraph_la -
> gengraph_graph_molloy_optimized.o ) : gengr
> aph_graph_molloy_optimized.cpp : ( . eh_frame +0 x13 ) : undefined
> reference to ` __gxx_p ersonality_v0 '
>> / usr / local / lib / libigraph.a ( libigraph_la -
> gengraph_graph_molloy_hash.o ) : gengraph_g raph_molloy_hash.cpp : ( .
> eh_frame x1eb +0 ) : undefined reference to ` y_v0 __gxx_personalit '
>> / usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../libcygwin.a (
> _cygwin_crt0_common.o ) : _c ygwin_crt0_common.cc : ( . data +0 x0 ) :
> undefined reference to ` operator new (unsigned int ) '
>> / usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../libcygwin.a (
> _cygwin_crt0_common.o ) : _c ygwin_crt0_common.cc : ( . data +0 x4 ) :
> undefined reference to ` operator new [ ] ( unsigne d int ) '
>> / usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../libcygwin.a (
> _cygwin_crt0_common.o ) : _c ygwin_crt0_common.cc : ( . data +0 x8 ) :
> undefined reference to ` operator delete (void * ) '
>> / usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../libcygwin.a (
> _cygwin_crt0_common.o ) : _c ygwin_crt0_common.cc : ( . data +0 xc ) :
> undefined reference to ` operator delete [ ] (void * ) '
>> collect2 : error : ld returned 1 exit status
>>
>> How do I solve this problem , the same error also occurs in CodeBlocks
> .
>>
>> Please help me solve this problem , what should I do ?
>>
>> Thank you
>>
>> _______________________________________________
>> igraph-help mailing listigraph-help-
> address@hidden://lists.nongnu.org/mailman/
> listinfo/igraph-help
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/igraph-help
>>
>
> I am encountering this on my install of cygwin too (as in right now).
> All the tests in make check return FAILED, but all exit codes are 0.
>
> Should I be concerned?
>
> Mike
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help