[Nauty-list] Re: problem with PREPRUNE

Brendan McKay bdm at cs.anu.edu.au
Mon Jun 5 13:05:56 EST 2006


I'm not sure why, but probably the following will help.
Near line 550 of geng.c you will find three lines like:

#ifdef PRUNE
extern int PRUNE(graph*,int,int);
#endif

Please add three similar lines as well:

#ifdef PREPRUNE
extern int PREPRUNE(graph*,int,int);
#endif

I guess it will work now; please let me know if it doesn't.

Brendan.


* "José Ra. Portillo Fernández" <josera at us.es> [060605 12:11]:
> José Ra. Portillo Fernández escribió:
>  I compile good with PRUNE option:
> 
>  josera$ cc -o w4f -O4 -DPRUNE=w4f -DMAXN=32 geng.c w4f.c gtools.o /
>  nauty1.o nautil1.o naugraph1.o
> 
>  but, I obain error with PREPRUNE option:
> 
>  josera$ cc -o w4f -O4 -DPREPRUNE=w4f -DMAXN=32 geng.c w4f.c gtools.o /
>  nauty1.o nautil1.o naugraph1.o
> 
>  /usr/bin/ld: Undefined symbols:
>  _w4f
>  collect2: ld returned 1 exit status
> 
>  Can anyone help me? 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