On 2006-06-02, at 13.17, Marko Asplund wrote:

i'm trying to build UW Imap 2004g on HP-UX 11i using the HP C/Ansi C compiler.

the compiler issues a huge number of warnings (2400+) and then the compilation aborts due to linking errors with the mtest program.

here's the error message:

`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/ CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/ LDFLAGS`
ld: Can't find library or mismatched ABI for -lnet
Fatal error.
*** Error exit code 1

Stop.

The problem seems to be with the linker flags in c-client/LDFLAGS:

-lnet -lV3
-L/opt/kronodoc/openssl/kb3406/lib -lssl -lcrypto

i'm able to compile mtest manually with the following command line:

cc -I../c-client -g -Ae +DA2.0W +DS2.0 +Z -o mtest mtest.o \
  ../c-client/c-client.a \
  -L/opt/kronodoc/openssl/kb3406/lib -lssl -lcrypto

i've removed the '-lnet -lV3' flags from the compile command.


what would be the correct way to work around this issue?


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

Reply via email to