mail_versioncheck() is in the c-client.a library (it's in mail.c) so you should not be getting an undefined by referencing it. What is the EXACT text of the error message?

On Fri, 20 Feb 2009, Marian Sorin Nasoi wrote:
I am linking against c-client.a that is with the c-client sources, no
RPM or other package from a third party because the application has to
compile on Windows, Linux and also Mac OS.


On Fri, Feb 20, 2009 at 10:21 PM, Mark Crispin <markrcris...@panda.com> wrote:
On Fri, 20 Feb 2009, Marian Sorin Nasoi wrote:

I have only included "c-client.h" because I thought that was enough...

It isn't.  You must do all the linkage

I have added the   #include "linkage.c" at the start of your
application's main() function and I have to solve an error I get:
"undefined reference to `mail_versioncheck' "

Are you linking with the same version of c-client.a that is with the
c-client sources (where you have c-client.h, linkage.c, etc.)?

If you are using some RPM or other package from a third party distribution,
delete it and install the tarball from the UW FTP server:
       ftp://ftp.cac.washington.edu/mail/imap.tar.Z

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
_______________________________________________
Imap-uw mailing list
Imap-uw@u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to