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.