Hello All,

 

I built imap-2007 and successfully ran mtest on numerous UNIX platforms.


 

However, when I attempted to build my own application which uses
c-client.a on Solaris and HP-UX I received the following error:

 

/home/sambuild/TESTS/MAIL> make 

cc  -g -o test TestMail.o -I/home/sambuild/imap-2007/src/c-client
-I/home/sambuild/imap-2007/c-client -I/usr/local/ssl/include
-I/usr/local/ssl/include/openssl
-DSSL_CERT_DIRECTORY="/usr/local/ssl/certs"
-DSSL_KEY_DIRECTORY="/usr/local/ssl/certs"
/home/sambuild/imap-2007/c-client/c-client.a -L/usr/local/ssl/lib -lssl
-lcrypto 

/usr/ccs/bin/ld: Unsatisfied symbols:

   mm_login (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(osdep.o)) (code)

   mm_log (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(osdep.o)) (code)

   mm_fatal (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(osdep.o)) (code)

   mm_flags (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(mail.o)) (code)

   mm_expunged (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(mail.o)) (code)

   mm_exists (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(mail.o)) (code)

   mm_dlog (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(mail.o)) (code)

   mm_notify (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(osdep.o)) (code)

   mm_critical (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(osdep.o)) (code)

   mm_nocritical (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(osdep.o)) (code)

   mm_list (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(dummy.o)) (code)

   mm_diskerror (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(osdep.o)) (code)

   mm_status (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(osdep.o)) (code)

   mm_searched (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(mail.o)) (code)

   mm_lsub (first referenced in
/home/sambuild/imap-2007/c-client/c-client.a(dummy.o)) (code)

make: *** [test] Error 1

 

 

This is my Makefile:

 

all:    test

C=$(HOME)/imap-2007/c-client

 

TestMail.o: TestMail.c $C/mail.h $C/misc.h $C/osdep.h $C/rfc822.h
$C/smtp.h $C/n

ntp.h

        cc -g -Ae -c -o TestMail.o TestMail.c
-I$(HOME)/imap-2007/src/c-client -

I$(C)  -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl
-DSSL_CERT_DIRE

CTORY="/usr/local/ssl/certs" -DSSL_KEY_DIRECTORY="/usr/local/ssl/certs"

 

 

test: $C/c-client.a TestMail.o

         cc  -g -o test TestMail.o -I$(HOME)/imap-2007/src/c-client
-I$(C) -I/us

r/local/ssl/include -I/usr/local/ssl/include/openssl
-DSSL_CERT_DIRECTORY="/usr/

local/ssl/certs" -DSSL_KEY_DIRECTORY="/usr/local/ssl/certs"
$(C)/c-client.a -L/u

sr/local/ssl/lib -lssl -lcrypto

 

 

clean:

        rm test *.o

 

 

Please suggest where I went wrong in my Makefile.

 

 

Thank you, 

Alla

_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to