Error while making libpmemobj-cpp

47 views
Skip to first unread message

Awais khan

unread,
Jul 3, 2019, 8:41:08 AM7/3/19
to pm...@googlegroups.com
Hi All,

I was compiling the recent version of libpmemobj-cpp and stuck with some error. can anyone please point some direction to me how to solve it. I attached the make output log here.

TIA!

Regards,
Awais Khan

make.output.rtf

Sergei Vinogradov

unread,
Jul 3, 2019, 11:42:02 AM7/3/19
to pmem
Hi,

Could you please specify which compiler you are using?

--
Best Regards,
Sergei

среда, 3 июля 2019 г., 15:41:08 UTC+3 пользователь Awais khan написал:

Awais khan

unread,
Jul 3, 2019, 3:21:51 PM7/3/19
to Sergei Vinogradov, pmem
Yes, I am using gcc 8.3.1 and previously i was trying with gcc 4.3. With 8.3.1, its giving different error, i.e.,  Undefined reference to ‘pmemobj_volatile'

Regards,
Awais Khan 

--
You received this message because you are subscribed to the Google Groups "pmem" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pmem+uns...@googlegroups.com.
To post to this group, send email to pm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pmem/7a6ef7b6-6ed8-4b71-b8a9-9118dbf0b006%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sergei Vinogradov

unread,
Jul 3, 2019, 4:44:13 PM7/3/19
to pmem
libpmemobj-cpp requires at least C++11, while gcc4.3 does not fully support it. Regarding the issue with pmemobj_volatile seems you need to update pmdk on your system.

Awais khan

unread,
Jul 4, 2019, 11:48:28 AM7/4/19
to Sergei Vinogradov, pmem
Thanks, it worked. the existing installed package was bit older version.

Regards,
Awais Khan

> On 3 Jul 2019, at 4:44 PM, Sergei Vinogradov <vins...@gmail.com> wrote:
>
> libpmemobj-cpp requires at least C++11, while gcc4.3 does not fully support it. Regarding the issue with pmemobj_volatile seems you need to update pmdk on your system.
>
> --
> You received this message because you are subscribed to the Google Groups "pmem" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pmem+uns...@googlegroups.com.
> To post to this group, send email to pm...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pmem/2ee1be75-9d06-4804-986b-15102bea30db%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages