[Nauty-list] Nauty Link problem again

Brendan McKay bdm at cs.anu.edu.au
Mon Jan 10 22:39:00 EST 2011


nausparse.c is not a program, you can't just compile and link it
like that. It is only a part of other programs (like dreadnaut.c).

Brendan.


* Jiajii Peng <jiajiep at gmail.com> [110110 18:44]:
> Hello Nauty members?$B!$
> 
>  
> 
> Sorry to bother you.  I have some details to supplement. We I compile
> nausparse.c. It does not work.  Some parts of the mistakes are as follows.
> 
> $ gcc nausparse.c
> 
> /tmp/cc1PEC9u.o:nausparse.c:(.text+0x61): undefined reference to
> `_alloc_error'
> 
> /tmp/cc1PEC9u.o:nausparse.c:(.text+0xe5): undefined reference to
> `_alloc_error'
> 
> /tmp/cc1PEC9u.o:nausparse.c:(.text+0x4df): undefined reference to
> `_alloc_error'
> 
>  
> 
> /tmp/cc1PEC9u.o:nausparse.c:(.text+0x7c4): undefined reference to
> `_alloc_error'
> 
>  
> 
> /tmp/cc1PEC9u.o:nausparse.c:(.text+0xc6b): undefined reference to
> `_alloc_error'
> 
>  
> 
> /tmp/cc1PEC9u.o:nausparse.c:(.text+0xccf): more undefined references to
> `_alloc_
> 
> error' follow
> 
> /tmp/cc1PEC9u.o:nausparse.c:(.text+0x1085): undefined reference to
> `_nextelement
> 
> '
> 
> /tmp/cc1PEC9u.o:nausparse.c:(.text+0x2805): undefined reference to
> `_alloc_error
> 
> '?$B!D..
> 
> ?$B!D!D.
> 
> /tmp/cc1PEC9u.o:nausparse.c:(.text+0x347c): undefined reference to
> `_alloc_error
> 
> '
> 
> /tmp/cc1PEC9u.o:nausparse.c:(.text+0x34ce): undefined reference to
> `_alloc_error
> 
> '
> 
> /tmp/cc1PEC9u.o:nausparse.c:(.text+0x38b2): undefined reference to
> `_alloc_error
> 
> '
> 
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../libcygwin.a(libcmain.o):(.text+0x
> a9):
> 
> undefined reference to `_WinMain at 16'
> 
> collect2: ld returned 1 exit status
> 
>  
> 
> Could someone help me? Thank you! 
> 
>  
> 
> Sincerely,
> 
> Jiajie
> 
>  
> 
>  
> 
>  
> 

> _______________________________________________
> Nauty-list mailing list
> Nauty-list at cs.anu.edu.au
> http://dcsmail.anu.edu.au/cgi-bin/mailman/listinfo/nauty-list





More information about the Nauty mailing list