Re: undefined references to <function name>

Marian Sorin Nasoi <[email protected]>
Newsgroups gmane.mail.imap.uw.c-client
Message-ID <[email protected]>
Hi,
you have to define those yourself.

I would suggest to download the UW IMAP toolkit
(ftp://ftp.cac.washington.edu/imap) and check out the
src/mtest/mtest.c.
In there you will find want you need to know about every mm_ method.

Best,
Sorin Nasoi

On 11/16/09, Mike T <[email protected]> wrote:
> I am just testing out the c-client library by using mail_open and
> mail_close in a very simple program.
>
> When I try to compile, I get these linker errors. What are these mm_?
> functions? I see they are prototyped in mail.h, but not defined in mail.c.
>
> //usr/lib/libc-client.so: undefined reference to `mm_status'
> /usr/lib/libc-client.so: undefined reference to `mm_nocritical'
> /usr/lib/libc-client.so: undefined reference to `mm_critical'
> /usr/lib/libc-client.so: undefined reference to `mm_fatal'
> /usr/lib/libc-client.so: undefined reference to `mm_list'
> /usr/lib/libc-client.so: undefined reference to `mm_login'
> /usr/lib/libc-client.so: undefined reference to `mm_log'
> /usr/lib/libc-client.so: undefined reference to `mm_diskerror'
> /usr/lib/libc-client.so: undefined reference to `mm_dlog'
> /usr/lib/libc-client.so: undefined reference to `mm_exists'
> /usr/lib/libc-client.so: undefined reference to `mm_flags'
> /usr/lib/libc-client.so: undefined reference to `mm_notify'
> /usr/lib/libc-client.so: undefined reference to `mm_expunged'
> /usr/lib/libc-client.so: undefined reference to `mm_lsub'
> /usr/lib/libc-client.so: undefined reference to `mm_searched'
> collect2: ld returned 1 exit status
>
>
> /
> _______________________________________________
> Imap-uw mailing list
> [email protected]
> http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
>
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.