Bandi, Uma (GE Indust, Plastics, consultant)
2007-Jul-24 18:06 UTC
[Dovecot] Dovecot for HP-UX
Hi I am trying to install Dovecot on HP-UX .I did ./configure but when I did make i am getting following error, please advice me what I have to do . uasng074 at root# make No suffix list. make all-recursive No suffix list. Making all in src No suffix list. Making all in lib source='ioloop-epoll.c' object='ioloop-epoll.o' libtool=no \ DEPDIR=.deps depmode=hp /bin/sh ../../depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I../.. -g -D_XOPEN_SOURCE_EXTENDED -c ioloop-epoll.c cc: "array.h", line 63: error 1588: "__inline_func_array_create_from_buffer_para m_2_buffer__" undefined. cc: "array.h", line 63: error 1531: Invalid member of struct or union. cc: "array.h", line 64: error 1588: "__inline_func_array_create_from_buffer_para m_3_element_size__" undefined. cc: "array.h", line 64: error 1531: Invalid member of struct or union. *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop.
On 24.7.2007, at 21.06, Bandi, Uma (GE Indust, Plastics, consultant) wrote:> cc: "array.h", line 63: error 1588: > "__inline_func_array_create_from_buffer_para > m_2_buffer__" undefined. > cc: "array.h", line 63: error 1531: Invalid member of struct or union.I'm not sure why it fails there. You could try replacing that code (src/lib/array.h lines 60-65) with: static inline void array_create_from_buffer(array_t *arr, buffer_t *buffer, size_t element_size) { arr->buffer = buffer; arr->element_size = element_size; } Also you could try figuring out if your cc has a separate option to enable C99 support. That might help too. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070725/cbb1a1bd/attachment-0002.bin>