[uClibc]berkeleydb

Claus Rosenberger Claus.Rosenberger at rocnet.de
Mon Feb 24 14:14:42 UTC 2003


what i don't understand are the paths in make/berkeley.mk

while configuring it seems the libs should be installed into prefix /usr.
but while installing there should be installed into /

config:
                ../dist/configure \
                --target=$(GNU_TARGET_NAME) \
                --prefix=/usr \
install:
$(TARGET_DIR)/lib/libdb-4.0.so: $(STAGING_DIR)/lib/libdb-4.0.so
        rm -rf $(TARGET_DIR)/lib/libdb*
        -mv $(STAGING_DIR)/bin/db_* $(TARGET_DIR)/usr/bin/
        cp -a $(STAGING_DIR)/lib/libdb*so*  $(TARGET_DIR)/lib/
        -$(STRIP) --strip-unneeded $(TARGET_DIR)/lib//libdb*so*




> while installing there should be set prefix=$(STAGING_DIR),
> exec_prefix=$(STATING_DIR) and bindir=$(STAGING_DIR)/bin because DESTDIR
> isn't used in build_unix/Makefile.
>
> but i still have problems with compiling
>
>
> /mnt/daten/projects/lfs-project/buildroot/build/staging_dir/bin/i386-uclibc-gcc
> -shared  mut_tas.lo bt_compare.lo bt_conv.lo bt_curadj.lo bt_cursor.lo
> bt_delete.lo bt_method.lo bt_open.lo bt_put.lo bt_rec.lo bt_reclaim.lo
> bt_recno.lo bt_rsearch.lo bt_search.lo bt_split.lo bt_stat.lo
> bt_upgrade.lo bt_verify.lo btree_auto.lo crdel_auto.lo crdel_rec.lo
> db.lo db_am.lo db_auto.lo db_byteorder.lo db_cam.lo db_conv.lo
> db_dispatch.lo db_dup.lo db_err.lo db_getlong.lo db_iface.lo db_join.lo
> db_log2.lo db_meta.lo db_method.lo db_overflow.lo db_pr.lo db_rec.lo
> db_reclaim.lo db_ret.lo db_salloc.lo db_shash.lo db_upg.lo db_upg_opd.lo
> db_vrfy.lo db_vrfyutil.lo dbm.lo env_method.lo env_open.lo
> env_recover.lo
> env_region.lo hash.lo hash_auto.lo hash_conv.lo hash_dup.lo hash_func.lo
> hash_meta.lo hash_method.lo hash_page.lo hash_rec.lo hash_reclaim.lo
> hash_stat.lo hash_upgrade.lo hash_verify.lo hsearch.lo lock.lo
> lock_deadlock.lo lock_method.lo lock_region.lo lock_stat.lo lock_util.lo
> log.lo log_archive.lo log_auto.lo log_compare.lo log_findckp.lo
> log_get.lo log_method.lo log_put.lo log_rec.lo log_register.lo
> mp_alloc.lo mp_bh.lo mp_fget.lo mp_fopen.lo mp_fput.lo mp_fset.lo
> mp_method.lo mp_region.lo mp_register.lo mp_stat.lo mp_sync.lo
> mp_trickle.lo mutex.lo os_abs.lo os_alloc.lo os_clock.lo os_dir.lo
> os_errno.lo os_fid.lo os_finit.lo os_fsync.lo os_handle.lo os_map.lo
> os_method.lo os_oflags.lo os_open.lo os_region.lo os_rename.lo
> os_root.lo os_rpath.lo os_rw.lo os_seek.lo os_sleep.lo os_spin.lo
> os_stat.lo os_tmpdir.lo os_unlink.lo qam.lo qam_auto.lo qam_conv.lo
> qam_files.lo qam_method.lo qam_open.lo qam_rec.lo qam_stat.lo
> qam_upgrade.lo qam_verify.lo rep_method.lo rep_record.lo rep_region.lo
> rep_util.lo txn.lo txn_auto.lo txn_method.lo txn_rec.lo txn_recover.lo
> txn_region.lo txn_stat.lo xa.lo xa_db.lo xa_map.lo   -Wl,-soname
> -Wl,libdb-4.0.so -o .libs/libdb-4.0.so
> i386-uclibc-gcc: mut_tas.lo: No such file or directory
> i386-uclibc-gcc: bt_compare.lo: No such file or directory
> i386-uclibc-gcc: bt_conv.lo: No such file or directory
>
> there is missing a step after compiling the .o-files. i don't know why
>
>
>> hi,
>>
>> i have some trouble with compiling db.
>>
>> this are the error.
>>
>> i386-uclibc-gcc: mut_tas.lo: No such file or directory
>> i386-uclibc-gcc: bt_compare.lo: No such file or directory
>> i386-uclibc-gcc: bt_conv.lo: No such file or directory
>> i386-uclibc-gcc: bt_curadj.lo: No such file or directory
>> i386-uclibc-gcc: bt_cursor.lo: No such file or directory
>> ......
>>
>>
>>
>> all the files are there but not with suffix .lo. there are all with .o
>> compiled before. i don't know why.
>>
>>
>> _______________________________________________
>> uClibc mailing list
>> uClibc at uclibc.org
>> http://uclibc.org/mailman/listinfo/uclibc
>
>
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc






More information about the uClibc mailing list