RE: master build failing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How do I build ceph now with cmake conditionally with tcmalloc/jemalloc/rocksdb etc. ?

-----Original Message-----
From: ceph-devel-owner@xxxxxxxxxxxxxxx [mailto:ceph-devel-owner@xxxxxxxxxxxxxxx] On Behalf Of Dan Mick
Sent: Thursday, June 30, 2016 3:33 PM
To: Mark Nelson; Evgeniy Firsov; kefu chai; Ramesh Chander
Cc: ceph-devel; dl-storm-dev
Subject: Re: master build failing

"do_cmake.sh" can automate some of that

On 06/30/2016 03:04 PM, Mark Nelson wrote:
> If you are inclined, it's probably worth switching over to cmake at
> this point.  I suspect the automake stuff is going to get crufty
> pretty fast now that folks are switching over en mass.  I switched a
> couple of days ago and after working out a couple of bugs it's working really well.
>
> git clean -fdx
> mkdir build; cd build
> cmake ..
> make -j $(nproc)
> sudo make install
>
> Mark
>
> On 06/30/2016 04:05 PM, Evgeniy Firsov wrote:
>> Same error for me.
>> This is automake, jemalloc is installed.
>>
>> On 6/14/16, 1:30 AM, "ceph-devel-owner@xxxxxxxxxxxxxxx on behalf of
>> kefu chai" <ceph-devel-owner@xxxxxxxxxxxxxxx on behalf of
>> tchaikov@xxxxxxxxx>
>> wrote:
>>
>>> On Tue, Jun 14, 2016 at 2:09 AM, Ramesh Chander
>>> <Ramesh.Chander@xxxxxxxxxxx> wrote:
>>>> Getting these linker errors:
>>>>
>>>>
>>>> /root/ram/ram_bkp/ceph/ceph-latest/ceph_unit_issue/src/rocksdb/db/d
>>>> b_impl
>>>>
>>>> .cc:583: undefined reference to `malloc_stats_print'
>>>> collect2: error: ld returned 1 exit status
>>>> make[3]: *** [ceph_test_objectstore_workloadgen] Error 1
>>>> rocksdb/librocksdb.a(db_impl.o): In function `DumpMallocStats':
>>>>
>>>> /root/ram/ram_bkp/ceph/ceph-latest/ceph_unit_issue/src/rocksdb/db/d
>>>> b_impl
>>>>
>>>> .cc:583: undefined reference to `malloc_stats_print'
>>>> collect2: error: ld returned 1 exit status
>>>> make[3]: *** [ceph_test_objectstore] Error 1
>>>> rocksdb/librocksdb.a(db_impl.o): In function `DumpMallocStats':
>>>>
>>>> /root/ram/ram_bkp/ceph/ceph-latest/ceph_unit_issue/src/rocksdb/db/d
>>>> b_impl
>>>>
>>>> .cc:583: undefined reference to `malloc_stats_print'
>>>> collect2: error: ld returned 1 exit status
>>>> make[3]: *** [ceph_xattr_bench] Error 1
>>>> rocksdb/librocksdb.a(db_impl.o): In function `DumpMallocStats':
>>>>
>>>> /root/ram/ram_bkp/ceph/ceph-latest/ceph_unit_issue/src/rocksdb/db/d
>>>> b_impl
>>>>
>>>> .cc:583: undefined reference to `malloc_stats_print'
>>>> collect2: error: ld returned 1 exit status
>>>> make[3]: *** [ceph_test_filejournal] Error 1
>>>>
>>>> last time Mark did something to fix it.
>>>>
>>>> I tried make clean in rocksdb directory as well, still same error.
>>>
>>> did you uninstall jemalloc after configure or cmake? maybe you can
>>> check the make_config.mk under rocksdb directory? are you using
>>> cmake or automake?
>>>
>>>
>>>>
>>>> -Ramesh Chander
>>>> PLEASE NOTE: The information contained in this electronic mail
>>>> message is intended only for the use of the designated recipient(s)
>>>> named above.
>>>> If the reader of this message is not the intended recipient, you
>>>> are hereby notified that you have received this message in error
>>>> and that any review, dissemination, distribution, or copying of
>>>> this message is strictly prohibited. If you have received this
>>>> communication in error, please notify the sender by telephone or
>>>> e-mail (as shown above) immediately and destroy any and all copies
>>>> of this message in your possession (whether hard copies or electronically stored copies).
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe
>>>> ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx
>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>
>>>
>>>
>>> --
>>> Regards
>>> Kefu Chai
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe
>>> ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>> PLEASE NOTE: The information contained in this electronic mail
>> message is intended only for the use of the designated recipient(s)
>> named above. If the reader of this message is not the intended
>> recipient, you are hereby notified that you have received this
>> message in error and that any review, dissemination, distribution, or
>> copying of this message is strictly prohibited. If you have received
>> this communication in error, please notify the sender by telephone or
>> e-mail (as shown above) immediately and destroy any and all copies of
>> this message in your possession (whether hard copies or
>> electronically stored copies).
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel"
>> in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo
>> info at  http://vger.kernel.org/majordomo-info.html
>>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel"
> in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo
> info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at  http://vger.kernel.org/majordomo-info.html
PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux