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
