7 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Problems using rfc822...
FromSent OnAttachments
Dave HartburnFeb 26, 2007 5:16 am 
Sam VarshavchikFeb 26, 2007 3:15 pm 
Dave HartburnFeb 27, 2007 2:04 am 
Sam VarshavchikFeb 27, 2007 4:06 am 
Dave HartburnFeb 27, 2007 6:04 am 
Sam VarshavchikFeb 27, 2007 3:19 pm 
Dave HartburnFeb 28, 2007 2:28 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Problems using rfc822 and rfc2045 librariesActions...
From:Dave Hartburn (dave@samndave.org.uk)
Date:Feb 27, 2007 2:04:38 am
List:net.sourceforge.lists.courier-maildrop

No joy I'm afraid. I've tried copying libunicode.a and libunicode.la to /usr/local/lib, then compiling with -lunicode.

I have also tried pointing directly at that directory: $ gcc -o mdtest -L/usr/local/src/maildrop-2.0.3/unicode/.libs -lunicode -lrfc2045 -lrfc822 mdtest.c /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../librfc822.so: undefined reference to `unicode_convert_fromchset' /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../librfc2045.so: undefined reference to `libmail_str_pid_t' /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../librfc2045.so: undefined reference to `libmail_str_time_t' /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../librfc822.so: undefined reference to `unicode_ISO8859_1' /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../librfc822.so: undefined reference to `unicode_xconvert' /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../librfc2045.so: undefined reference to `libmail_str_size_t' /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../librfc2045.so: undefined reference to `rfc2045_error' /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../librfc822.so: undefined reference to `unicode_find'

Any other suggestions?

Dave

Dave Hartburn writes:

Hi,

I'm looking at using the maildrop libraries for an application I'm working on, and have a few problems getting a basic test working. When I compile, I get the following errors: $ gcc -o mdtest -lrfc822 -lrfc2045 mdtest.c /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../librfc822.so: undefined reference to `unicode_convert_fromchset'

You also need to link with libunicode, in the unicode subdirectory.