Hi,

I think you might be misreading the log. 
The build log snippet that you posted seems to be a config test, which is fine 
if it fails on certain platforms.

You should try to scroll through the log to see the real failure reason.
Or attach the full log to some service and share it so we can try to advise 
something.

> On 8. Apr 2021, at 21:18, Nibedit Dey <nibedit....@gmail.com> wrote:
> 
> Hello Everyone,
> 
> I am following the below steps to build Qt 6.0.3 from the source. However, it 
> fails in CMake build step with multiple header file inclusion issues. I tried 
> it on both macOS and Linux. I faced similar issues. 
>       • $ tar xvf qt-everywhere-src-6.0.3.tar.xz 
>       • $ cd qt-everywhere-src-6.0.3
>       • $ ./configure
>       • $ cmake --build . --parallel
> CMake log only mentions missing header files. Is there anything I am missing?
> A sample error: 
> Desktop/qt6/qt-everywhere-src-6.0.3/CMakeFiles/CMakeTmp/src.cxx:9:8: error: 
> use of undeclared identifier 'posix_fallocate'
> (void) posix_fallocate(0, 0, 0);
>        ^
> 1 error generated.
> make[1]: *** [CMakeFiles/cmTC_39cfa.dir/src.cxx.o] Error 1
> make: *** [cmTC_39cfa/fast] Error 2
> 
> Source file was:
> #include <fcntl.h>
> #include <unistd.h>
> int main(int argc, char **argv)
> {
>     (void)argc; (void)argv;
>     /* BEGIN TEST: */
> (void) posix_fallocate(0, 0, 0);
>     /* END TEST: */
>     return 0;
> }
> 
> make: *** [all] Error 2
> 
> Any help will be appreciated. Thanks in advance.
> 
> Regards,
> Nibedit
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to