Cent OS 5.3에서 버클리 DB make 에러나요
Cent OS 5.3에서 버클리 DB 2.7.7을 설치 하려 하는데요.
configure는 잘 되는데 make를 하게되면 아래와 같은 오류가 발생합니다. 어떻게 해야 하나요?
이거 때문에 설치가 제대로 되지 않고 있습니다. 도와주세요.
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_compare.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_conv.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_curadj.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_cursor.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_delete.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_open.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_page.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_put.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_rec.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_recno.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_rsearch.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_search.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_split.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/bt_stat.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../btree/btree_auto.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../db/db.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../common/db_appinit.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../db/db_am.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../common/db_apprec.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../db/db_auto.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../common/db_byteorder.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../db/db_conv.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../db/db_dispatch.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../db/db_dup.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../common/db_err.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../db/db_iface.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../db/db_join.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../common/db_log2.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../db/db_overflow.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../db/db_pr.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../db/db_rec.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../common/db_region.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../db/db_ret.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../common/db_salloc.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../common/db_shash.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../dbm/dbm.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../hash/hash.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../hash/hash_auto.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../hash/hash_conv.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../hash/hash_dup.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../hash/hash_func.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../hash/hash_page.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../hash/hash_rec.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../hash/hash_stat.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../hsearch/hsearch.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../lock/lock.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../lock/lock_conflict.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../lock/lock_deadlock.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../lock/lock_util.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../lock/lock_region.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../log/log.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../log/log_archive.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../log/log_auto.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../log/log_compare.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../log/log_findckp.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../log/log_get.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../log/log_put.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../log/log_rec.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../log/log_register.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../mp/mp_bh.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fget.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fopen.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fput.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fset.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../mp/mp_open.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../mp/mp_pr.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../mp/mp_region.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../mp/mp_sync.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../mutex/mutex.c
../mutex/mutex.c: In function ‘__db_mutex_lock’:
../mutex/mutex.c:201: warning: matching constraint does not allow a register
../mutex/mutex.c:201: warning: matching constraint does not allow a register
../mutex/mutex.c: At top level:
../mutex/mutex.c:314: warning: matching constraint does not allow a register
../mutex/mutex.c:314: warning: matching constraint does not allow a register
../mutex/mutex.c: In function ‘__db_mutex_lock’:
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:182: warning: matching constraint does not allow a register
../mutex/mutex.c:201: warning: matching constraint does not allow a register
../mutex/mutex.c:201: warning: matching constraint does not allow a register
../mutex/mutex.c:201: warning: matching constraint does not allow a register
../mutex/mutex.c:201: warning: matching constraint does not allow a register
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_abs.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_alloc.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_config.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_dir.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_fid.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_fsync.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_map.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_oflags.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_open.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_rpath.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_rw.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_seek.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_sleep.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_spin.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_stat.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_tmpdir.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../os/os_unlink.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../txn/txn.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../txn/txn_auto.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../txn/txn_rec.c
../txn/txn_rec.c: In function ‘__txn_restore_txn’:
../txn/txn_rec.c:289: warning: incompatible implicit declaration of built-in function ‘memcpy’
cc -c -O2 -I. -I./../include -D_REENTRANT ../xa/xa.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../xa/xa_db.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../xa/xa_map.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../db185/db185.c
/bin/rm -f libdb.a
/usr/bin/ar cr libdb.a bt_compare.o bt_conv.o bt_curadj.o bt_cursor.o bt_delete.o bt_open.o bt_page.o bt_put.o bt_rec.o bt_recno.o bt_rsearch.o bt_search.o bt_split.o bt_stat.o btree_auto.o db.o db_appinit.o db_am.o db_apprec.o db_auto.o db_byteorder.o db_conv.o db_dispatch.o db_dup.o db_err.o db_iface.o db_join.o db_log2.o db_overflow.o db_pr.o db_rec.o db_region.o db_ret.o db_salloc.o db_shash.o dbm.o hash.o hash_auto.o hash_conv.o hash_dup.o hash_func.o hash_page.o hash_rec.o hash_stat.o hsearch.o lock.o lock_conflict.o lock_deadlock.o lock_util.o lock_region.o log.o log_archive.o log_auto.o log_compare.o log_findckp.o log_get.o log_put.o log_rec.o log_register.o mp_bh.o mp_fget.o mp_fopen.o mp_fput.o mp_fset.o mp_open.o mp_pr.o mp_region.o mp_sync.o mutex.o os_abs.o os_alloc.o os_config.o os_dir.o os_fid.o os_fsync.o os_map.o os_oflags.o os_open.o os_rpath.o os_rw.o os_seek.o os_sleep.o os_spin.o os_stat.o os_tmpdir.o os_unlink.o txn.o txn_auto.o txn_rec.o xa.o xa_db.o xa_map.o db185.o
test ! -f /usr/bin/ranlib || /usr/bin/ranlib libdb.a
cc -c -O2 -I. -I./../include -D_REENTRANT ../db_archive/db_archive.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../clib/err.c
cc -c -O2 -I. -I./../include -D_REENTRANT ../clib/getlong.c
cc -o db_archive db_archive.o err.o getlong.o libdb.a
cc -c -O2 -I. -I./../include -D_REENTRANT ../db_checkpoint/db_checkpoint.c
cc -o db_checkpoint db_checkpoint.o err.o getlong.o libdb.a
cc -c -O2 -I. -I./../include -D_REENTRANT ../db_deadlock/db_deadlock.c
cc -o db_deadlock db_deadlock.o err.o getlong.o libdb.a
cc -c -O2 -I. -I./../include -D_REENTRANT ../db_dump/db_dump.c
cc -o db_dump db_dump.o err.o getlong.o libdb.a
cc -c -O2 -I. -I./../include -D_REENTRANT ../db_load/db_load.c
cc -o db_load db_load.o err.o getlong.o libdb.a
cc -c -O2 -I. -I./../include -D_REENTRANT ../db_printlog/db_printlog.c
cc -o db_printlog db_printlog.o err.o getlong.o libdb.a
cc -c -O2 -I. -I./../include -D_REENTRANT ../db_recover/db_recover.c
cc -o db_recover db_recover.o err.o getlong.o libdb.a
cc -c -O2 -I. -I./../include -D_REENTRANT ../db_stat/db_stat.c
cc -o db_stat db_stat.o err.o getlong.o libdb.a
에러?
에러 메시지가 없는데요.
두가지가 있습니다.
warning: matching constraint does not allow a register
warning: incompatible implicit declaration of built-in function ‘memcpy’
이 두가지가 에러 메세지 아닌가요?
경고
그건 경고 메시지지 에러 메시지가 아니에요.
설치
그럼 make로 설치하는 데 아무 이상 없는건가요??
compat-db 패키지를
compat-db 패키지를 깔면 이전 버전의 Berkeley DB가 지원될 것 같은데... 꼭 컴파일해서 설치해야 하는 건가요?
--
academic은 제 고등학교 때 동아리 이름입니다.
academic, 아주 가끔은 저도 이랬으면 좋겠습니다.
----
academic은 제 고등학교 때 동아리 이름입니다.
academic, 아주 가끔은 저도 이랬으면 좋겠습니다.
댓글 달기