Open firebird-automations opened 4 years ago
Commented by: Treeve Jelbert (tjbug)
compile log also copy of time.h
Commented by: @AlexPeshkoff
That's definitely an issue with cmake build. cmake is not our 'official' build, please use http://autogen.sh instead.
Commented by: @AlexPeshkoff
Egor, I've checked with glibc-2.31, autoconf build works fine, please fix cmake issues.
Submitted by: Treeve Jelbert (tjbug)
Assigned to: @egorpugin
Attachments: firebird3-git.bz2 time.h
[51/551] Building CXX object src/CMakeFiles/common.dir/common/classes/NoThrowTimeStamp.cpp.o FAILED: src/CMakeFiles/common.dir/common/classes/NoThrowTimeStamp.cpp.o /var/lib/sorcery/build/c++ -I/var/git/db/firebird3/src/include -I/var/git/db/firebird3/src/include/gen -Isrc/include -Isrc/include/gen -march=native -mtune=native -m64 -pipe -O3 -Wno-narrowing -Wno-deprecated-declarations -Wno-invalid-offsetof -fno-sized-deallocation -fno-delete-null-pointer-checks -flifetime-dse=1 -fcheck-new -Wno-deprecated -fPIC -O3 -DNDEBUG -MD -MT src/CMakeFiles/common.dir/common/classes/NoThrowTimeStamp.cpp.o -MF src/CMakeFiles/common.dir/common/classes/NoThrowTimeStamp.cpp.o.d -o src/CMakeFiles/common.dir/common/classes/NoThrowTimeStamp.cpp.o -c /var/git/db/firebird3/src/common/classes/NoThrowTimeStamp.cpp In file included from /var/git/db/firebird3/src/include/firebird.h:38, from /var/git/db/firebird3/src/common/classes/NoThrowTimeStamp.cpp:27: /var/git/db/firebird3/src/common/classes/NoThrowTimeStamp.cpp: In static member function 'static Firebird::NoThrowTimeStamp Firebird::NoThrowTimeStamp::getCurrentTimeStamp(const char**)': src/include/gen/autoconfig.h:675:41: error: too few arguments to function 'int gettimeofday(timeval*, void*)' 675 | #define GETTIMEOFDAY(x) gettimeofday((x)) | ^ /var/git/db/firebird3/src/common/classes/NoThrowTimeStamp.cpp:86:2: note: in expansion of macro 'GETTIMEOFDAY' 86 | GETTIMEOFDAY(&tp); | ^\~\~\~\~\~\~\~\~\~\~\~ In file included from /var/git/db/firebird3/src/include/../common/classes/NoThrowTimeStamp.h:34, from /var/git/db/firebird3/src/common/classes/NoThrowTimeStamp.cpp:41: /usr/include/sys/time.h:66:12: note: declared here 66 | extern int gettimeofday (struct timeval *__restrict __tv, | ^\~\~\~\~\~\~\~\~\~\~\~