[Nauty-list] Nauty Link problem again
jiajie peng
pengjj at msu.edu
Tue Jan 11 02:05:54 EST 2011
Hi,
Thank you for your reply. But I also can not compile the example code after
installation as I mentioned in last mail. It looks like link problem.
Sincerely, Jiajie
On Mon, Jan 10, 2011 at 6:39 AM, Brendan McKay <bdm at cs.anu.edu.au> wrote:
>
> 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
>
>
--
Sincerely,
Jiajie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.anu.edu.au/mailman/private/nauty/attachments/20110110/b27d1c04/attachment.html
More information about the Nauty
mailing list