compiling errors
guo wang
gwang at iowa.mcs.kent.edu
Thu Feb 20 22:29:25 EST 2003
Hi all,
I'm trying to install cyrus-imap 2.1.12 on a machine running freeBSD4.7.
I've sucessfully installed cyrus-sasl 2.1.12. But no luck to get
cyrus-imap compile. The following are copy-and-paste. Anyone's help will
be greatly appreciated. Thank you in advance.
[root /usr/src/cyrus-imapd-2.1.12]# ./configure --with-auth=unix
--with-dbdir=/usr/src/include/db3
[root /usr/src/cyrus-imapd-2.1.12]# make
### Making all in /usr/src/cyrus-imapd-2.1.12/man
### Making all in /usr/src/cyrus-imapd-2.1.12/sieve
gcc -c -I. -I.. -I. -I./../lib -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 sieve_err.c
gcc -c -I. -I.. -I. -I./../lib -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 sieve.c
gcc -c -I. -I.. -I. -I./../lib -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 sieve-lex.c
sieve-lex.l: In function `yylex':
sieve-lex.l:119: warning: label `find_rule' defined but not used
sieve-lex.l: At top level:
sieve-lex.l:999: warning: `yy_flex_realloc' defined but not used
gcc -c -I. -I.. -I. -I./../lib -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 comparator.c
gcc -c -I. -I.. -I. -I./../lib -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 interp.c
gcc -c -I. -I.. -I. -I./../lib -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 message.c
gcc -c -I. -I.. -I. -I./../lib -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 script.c
gcc -c -I. -I.. -I. -I./../lib -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 tree.c
gcc -c -I. -I.. -I. -I./../lib -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 addr.c
gcc -c -I. -I.. -I. -I./../lib -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 addr-lex.c
rm -f libsieve.a
ar cr libsieve.a sieve_err.o sieve.o sieve-lex.o comparator.o interp.o
message.o script.o tree.o addr.o addr-lex.o
ranlib libsieve.a
### Making all in /usr/src/cyrus-imapd-2.1.12/acap
/usr/bin/compile_et ./acap_err.et
gcc -c -I/usr/local/include -I. -I.. -I. -I./../lib -DHAVE_CONFIG_H -Wall
-g -O2 acap.c
gcc -c -I/usr/local/include -I. -I.. -I. -I./../lib -DHAVE_CONFIG_H -Wall
-g -O2 acapsieve.c
gcc -c -I/usr/local/include -I. -I.. -I. -I./../lib -DHAVE_CONFIG_H -Wall
-g -O2 skip-list.c
gcc -c -I/usr/local/include -I. -I.. -I. -I./../lib -DHAVE_CONFIG_H -Wall
-g -O2 acap_err.c
rm -f libacap.a
ar cr libacap.a acap.o acapsieve.o skip-list.o acap_err.o
ranlib libacap.a
### Making all in /usr/src/cyrus-imapd-2.1.12/lib
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
acl.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
assert.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
bsearch.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
charset.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
glob.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
retry.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
util.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
mkgmtime.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
prot.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
parseaddr.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
imclient.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
imparse.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
xmalloc.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
lsort.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
stristr.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
hash.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
rfc822date.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
mpool.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
cyrusdb.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
mkchartable.c
gcc -L/usr/local/lib -R/usr/local/lib -o mkchartable mkchartable.o
xmalloc.o assert.o
### Building chartables...
rm -f chartable.c
./mkchartable -m ./charset/unifix.txt -m ./charset/unidata2.txt
./charset/*.t > chartable.c || (rm -f chartable.c && exit 1)
mkchartable: expanding unicode mappings...
mkchartable: expanding unicode mappings...
mkchartable: expanding unicode mappings...
mkchartable: building expansion table...
mkchartable: mapping unicode...
mkchartable: mapping UTF-8...
mkchartable: mapping UTF-7...
mkchartable: mapping ./charset/big5.t...
mkchartable: mapping ./charset/gb2312.t...
mkchartable: mapping ./charset/iso-2022-jp.t...
mkchartable: mapping ./charset/iso-2022-kr.t...
mkchartable: mapping ./charset/iso-8859-1.t...
mkchartable: mapping ./charset/iso-8859-15.t...
mkchartable: mapping ./charset/iso-8859-2.t...
mkchartable: mapping ./charset/iso-8859-3.t...
mkchartable: mapping ./charset/iso-8859-4.t...
mkchartable: mapping ./charset/iso-8859-5.t...
mkchartable: mapping ./charset/iso-8859-6.t...
mkchartable: mapping ./charset/iso-8859-7.t...
mkchartable: mapping ./charset/iso-8859-8.t...
mkchartable: mapping ./charset/iso-8859-9.t...
mkchartable: mapping ./charset/koi8-r.t...
mkchartable: mapping ./charset/us-ascii.t...
mkchartable: mapping ./charset/windows-1252.t...
### Done building chartables.
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
chartable.c
/tmp/ccWZ3W37.s: Assembler messages:
/tmp/ccWZ3W37.s:252134: Warning: .stabs: description field '102d4' too
big, try a different debug format
/tmp/ccWZ3W37.s:337132: Warning: .stabs: description field '1567d' too
big, try a different debug format
/tmp/ccWZ3W37.s:469234: Warning: .stabs: description field '1d882' too
big, try a different debug format
/tmp/ccWZ3W37.s:470264: Warning: .stabs: description field '1d987' too
big, try a different debug format
/tmp/ccWZ3W37.s:471294: Warning: .stabs: description field '1da8c' too
big, try a different debug format
/tmp/ccWZ3W37.s:472324: Warning: .stabs: description field '1db91' too
big, try a different debug format
/tmp/ccWZ3W37.s:473354: Warning: .stabs: description field '1dc96' too
big, try a different debug format
/tmp/ccWZ3W37.s:474384: Warning: .stabs: description field '1dd9b' too
big, try a different debug format
/tmp/ccWZ3W37.s:475414: Warning: .stabs: description field '1dea0' too
big, try a different debug format
/tmp/ccWZ3W37.s:476444: Warning: .stabs: description field '1dfa5' too
big, try a different debug format
/tmp/ccWZ3W37.s:477474: Warning: .stabs: description field '1e0aa' too
big, try a different debug format
/tmp/ccWZ3W37.s:478504: Warning: .stabs: description field '1e1af' too
big, try a different debug format
/tmp/ccWZ3W37.s:479534: Warning: .stabs: description field '1e2b4' too
big, try a different debug format
/tmp/ccWZ3W37.s:480564: Warning: .stabs: description field '1e3b9' too
big, try a different debug format
/tmp/ccWZ3W37.s:481594: Warning: .stabs: description field '1e4be' too
big, try a different debug format
/tmp/ccWZ3W37.s:482624: Warning: .stabs: description field '1e5c6' too
big, try a different debug format
/tmp/ccWZ3W37.s:482734: Warning: .stabs: description field '1e5e1' too
big, try a different debug format
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
imapurl.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
nonblock_fcntl.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
lock_fcntl.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
gmtoff_tm.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
map_shared.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
acl_afs.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
auth_unix.c
gcc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2
cyrusdb_db3.c
cyrusdb_db3.c:87: syntax error before `*'
cyrusdb_db3.c:87: warning: type defaults to `int' in declaration of
`dbenv'
cyrusdb_db3.c:87: warning: data definition has no type or storage class
cyrusdb_db3.c:93: syntax error before `*'
cyrusdb_db3.c:98: syntax error before `75'
cyrusdb_db3.c:98: warning: type defaults to `int' in declaration of `exit'
cyrusdb_db3.c:98: conflicting types for `exit'
/usr/include/stdlib.h:96: previous declaration of `exit'
cyrusdb_db3.c:98: warning: data definition has no type or storage class
cyrusdb_db3.c:86: warning: `dbinit' defined but not used
cyrusdb_db3.c:90: warning: `commit_txn' declared `static' but never
defined
cyrusdb_db3.c:91: warning: `abort_txn' declared `static' but never defined
*** Error code 1
Stop in /usr/src/cyrus-imapd-2.1.12/lib.
*** Error code 1
Stop in /usr/src/cyrus-imapd-2.1.12.
[root /usr/src/cyrus-imapd-2.1.12]#
Chee
More information about the Info-cyrus
mailing list