[Dovecot] [dovecot] Compile problem on AIX with dovecot 1.2 rev 10449:a164075ea33a
- exec /usr/vac/bin/xlc -g -qarch=pwr5x -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib -I../../src/lib-test -I../../src/lib-mail -q64 -c -M mail-index-transaction.c -DPIC "../../src/lib/bsearch-insert-pos.h", line 39.9: 1506-236 (W) Macro name array_bsearch has been redefined. "../../src/lib/bsearch-insert-pos.h", line 39.9: 1506-358 (I) "array_bsearch" is defined on line 285 of ../../src/lib/array.h. "mail-index-transaction.c", line 34.16: 1506-045 (S) Undeclared identifier idx_r. gmake[3]: *** [mail-index-transaction.lo] Error 1 gmake[3]: Leaving directory `/usr/sadmin/src/imapservers/dovecothg/dovecot-2.0psu/src/lib-index'
thanks, Jonathan
On Dec 10, 2009, at 9:41 AM, Jonathan Siegle wrote:
- exec /usr/vac/bin/xlc -g -qarch=pwr5x -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib -I../../src/lib-test -I../../src/lib-mail -q64 -c -M mail-index-transaction.c -DPIC "../../src/lib/bsearch-insert-pos.h", line 39.9: 1506-236 (W) Macro name array_bsearch has been redefined. "../../src/lib/bsearch-insert-pos.h", line 39.9: 1506-358 (I) "array_bsearch" is defined on line 285 of ../../src/lib/array.h. "mail-index-transaction.c", line 34.16: 1506-045 (S) Undeclared identifier idx_r.
Fixed.
On Dec 10, 2009, at 10:56 AM, Timo Sirainen wrote:
On Dec 10, 2009, at 9:41 AM, Jonathan Siegle wrote:
- exec /usr/vac/bin/xlc -g -qarch=pwr5x -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib -I../../src/lib-test -I../../src/lib-mail -q64 -c -M mail-index-transaction.c -DPIC "../../src/lib/bsearch-insert-pos.h", line 39.9: 1506-236 (W) Macro name array_bsearch has been redefined. "../../src/lib/bsearch-insert-pos.h", line 39.9: 1506-358 (I) "array_bsearch" is defined on line 285 of ../../src/lib/array.h. "mail-index-transaction.c", line 34.16: 1506-045 (S) Undeclared identifier idx_r.
Fixed.
I'm not making another thread at this point, just say something if I should. Haven't compiled this in weeks... Next:
- exec /usr/vac/bin/xlc -g -qarch=pwr5x -I/usr/ladmin/include/ -q64 -bexpall -brtl -o test-dsync-brain test-dsync-brain.o test-dsync-worker.o test-dsync-common.o dsync-data.o dsync-brain.o dsync-worker.o -L/usr/ladmin/lib/ ../lib-test/.libs/libtest.a ../lib-mail/.libs/libmail.a ../lib-imap/.libs/libimap.a ../lib/.libs/liblib.a -lrt -bE:.libs/libtest.exp -bE:.libs/libmail.exp -bE:.libs/libimap.exp -bE:.libs/liblib.exp ld: 0711-317 ERROR: Undefined symbol: .charset_to_utf8_end ld: 0711-317 ERROR: Undefined symbol: .charset_to_utf8_begin ld: 0711-317 ERROR: Undefined symbol: .charset_to_utf8 ld: 0711-317 ERROR: Undefined symbol: .charset_is_utf8 ld: 0711-317 ERROR: Undefined symbol: .charset_to_utf8_str
On Thu, 2009-12-10 at 13:40 -0500, Jonathan Siegle wrote:
I'm not making another thread at this point, just say something if I should. Haven't compiled this in weeks...
That's fine.
- exec /usr/vac/bin/xlc -g -qarch=pwr5x -I/usr/ladmin/include/ -q64 -bexpall -brtl -o test-dsync-brain test-dsync-brain.o test-dsync-worker.o test-dsync-common.o dsync-data.o dsync-brain.o dsync-worker.o -L/usr/ladmin/lib/ ../lib-test/.libs/libtest.a ../lib-mail/.libs/libmail.a ../lib-imap/.libs/libimap.a ../lib/.libs/liblib.a -lrt -bE:.libs/libtest.exp -bE:.libs/libmail.exp -bE:.libs/libimap.exp -bE:.libs/liblib.exp ld: 0711-317 ERROR: Undefined symbol: .charset_to_utf8_end
Fixed now, I think?
On Dec 10, 2009, at 1:44 PM, Timo Sirainen wrote:
On Thu, 2009-12-10 at 13:40 -0500, Jonathan Siegle wrote:
I'm not making another thread at this point, just say something if I should. Haven't compiled this in weeks...
That's fine.
- exec /usr/vac/bin/xlc -g -qarch=pwr5x -I/usr/ladmin/include/ -q64 -bexpall -brtl -o test-dsync-brain test-dsync-brain.o test-dsync-worker.o test-dsync-common.o dsync-data.o dsync-brain.o dsync-worker.o -L/usr/ladmin/lib/ ../lib-test/.libs/libtest.a ../lib-mail/.libs/libmail.a ../lib-imap/.libs/libimap.a ../lib/.libs/liblib.a -lrt -bE:.libs/libtest.exp -bE:.libs/libmail.exp -bE:.libs/libimap.exp -bE:.libs/liblib.exp ld: 0711-317 ERROR: Undefined symbol: .charset_to_utf8_end
Fixed now, I think?
No. I found my fix from http://www.mail-archive.com/dovecot@dovecot.org/msg18813.html and that fixed it.
Here is the fix if you don't want to read the above page:
I add this ../lib-charset/.libs/libcharset.a -liconv to the Makefile for src/dsync. I doubt I need -liconv at this point.
I think I noticed it on the compile line.
thanks for the fast commits.. -Jonathan
On Thu, 2009-12-10 at 15:00 -0500, Jonathan Siegle wrote:
- exec /usr/vac/bin/xlc -g -qarch=pwr5x -I/usr/ladmin/include/ -q64 -bexpall -brtl -o test-dsync-brain test-dsync-brain.o test-dsync-worker.o test-dsync-common.o dsync-data.o dsync-brain.o dsync-worker.o -L/usr/ladmin/lib/ ../lib-test/.libs/libtest.a ../lib-mail/.libs/libmail.a ../lib-imap/.libs/libimap.a ../lib/.libs/liblib.a -lrt -bE:.libs/libtest.exp -bE:.libs/libmail.exp -bE:.libs/libimap.exp -bE:.libs/liblib.exp ld: 0711-317 ERROR: Undefined symbol: .charset_to_utf8_end
Fixed now, I think?
No. I found my fix from http://www.mail-archive.com/dovecot@dovecot.org/msg18813.html and that fixed it.
Here is the fix if you don't want to read the above page:
I add this ../lib-charset/.libs/libcharset.a -liconv to the Makefile for src/dsync. I doubt I need -liconv at this point.
How about now? :)
participants (2)
-
Jonathan Siegle
-
Timo Sirainen