[Nauty-list] installation question

Brendan McKay bdm at cs.anu.edu.au
Mon Jul 7 23:22:17 EST 2008

You need to link it with nauty!

   gcc nautyex.c nauty.o nautil.o naugraph.o

Some sample programs need nausparse.o, nautinv.o and gtools.o as well.


* Bryan Petrak <petrak at math.udel.edu> [080707 23:14]:
> I have installed nauty and can get dreadnaut to work, but when i try 
> compiling the example program i get errors that say the nauty commands 
> are not defined.  In particular this is what happens
> [ananke:~ petrak]$ gcc nautyex.c
> /tmp/cc0MArY7.o: In function `main':
> nautyex.c:(.text+0xbe): undefined reference to `nauty_check'
> nautyex.c:(.text+0x252): undefined reference to `nauty'
> /tmp/cc0MArY7.o:(.data+0x8c4): undefined reference to `dispatch_graph'
> collect2: ld returned 1 exit status
> How do i work around this problem?
> Thanks
> _______________________________________________
> 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