Can't find the realisation of make_ulonglong and make_longlong

66 views
Skip to first unread message

Тарас Гетьман

unread,
Apr 7, 2018, 7:34:38 PM4/7/18
to TwinDB

After 'make' command, linker can't find the realisation of 'make_ulonglong' and 'make_longlong'. Ubuntu 16.04.04 LTS. GNU Make 4.1. 

I found somethig like this at GIT:


typedef union {

   unsigned long long ull;

   dulint df;

} conv8_t;


inline ulonglong make_ulonglong(dulint x)

{

   conv8_t val;

   val.df = x;

   return val.ull;

}


Similarly for 'make_longlong'. But I thik it is not a solve, it is my inside problem and the code is done. What I'm doing wrong?


Aleksandr Kuzminsky

unread,
Apr 7, 2018, 9:49:07 PM4/7/18
to TwinDB
Check out https://github.com/twindb/undrop-for-innodb/issues/3
The -std=gnu89 flag helped in my case.

P.S.
Please do post screenshots only when it makes sense.
Reply all
Reply to author
Forward
0 new messages