Hello. such a problem- when trying to compile it gives an error
[alex@my UnrealEngine]$ make
bash "/home/alex/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping
Building CrashReportClient...
Using 'git status' to determine working set for adaptive non-unity build.
Creating makefile for CrashReportClient (no existing makefile)
Performing full C++ include scan (no include cache file)
Using clang version '3.5.2' (string), 3 (major), 5 (minor), 2 (patch)
Building UnrealHeaderTool...
Using 'git status' to determine working set for adaptive non-unity build.
Performing 27 actions (5 in parallel)
[4/27] Compile Module.UnrealHeaderTool.cpp
[2/27] Compile PCH.CoreUObject.h
[1/27] Compile PCH.Core.h
[3/27] Compile SharedPCH.Core.h
In file included from /home/alex/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/SharedPCH.Core.h:40:
In file included from /home/alex/UnrealEngine/Engine/Source/Runtime/Core/Public/CoreSharedPCH.h:7:
In file included from Runtime/Core/Public/Misc/Exec.h:6:
In file included from Runtime/Core/Public/Misc/AssertionMacros.h:6:
In file included from Runtime/Core/Public/HAL/PlatformMisc.h:22:
In file included from Runtime/Core/Public/Linux/LinuxPlatformMisc.h:12:
In file included from Runtime/Core/Public/Linux/LinuxSystemIncludes.h:34:
/usr/include/sys/sysctl.h:21:2: error: "The <sys/sysctl.h> header is deprecated
and will be removed." [-Werror,-W#warnings]
#warning "The <sys/sysctl.h> header is deprecated and will be removed."
^
In file included from /home/alex/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/UnrealHeaderTool/Module.UnrealHeaderTool.cpp:2:
In file included from /home/alex/UnrealEngine/Engine/Source/Programs/UnrealHeaderTool/Private/BaseParser.cpp:3:
In file included from Programs/UnrealHeaderTool/Private/BaseParser.h:5:
In file included from Runtime/Core/Public/CoreMinimal.h:27:
In file included from Runtime/Core/Public/HAL/PlatformMisc.h:22:
In file included from Runtime/Core/Public/Linux/LinuxPlatformMisc.h:12:
In file included from Runtime/Core/Public/Linux/LinuxSystemIncludes.h:34:
/usr/include/sys/sysctl.h:21:2: error: "The <sys/sysctl.h> header is deprecated
and will be removed." [-Werror,-W#warnings]
#warning "The <sys/sysctl.h> header is deprecated and will be removed."
^
In file included from /home/alex/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/PCH.Core.h:46:
In file included from /home/alex/UnrealEngine/Engine/Source/Runtime/Core/Private/CorePrivatePCH.h:12:
In file included from Runtime/Core/Public/Misc/AssertionMacros.h:6:
In file included from Runtime/Core/Public/HAL/PlatformMisc.h:22:
In file included from Runtime/Core/Public/Linux/LinuxPlatformMisc.h:12:
In file included from Runtime/Core/Public/Linux/LinuxSystemIncludes.h:34:
/usr/include/sys/sysctl.h:21:2: error: "The <sys/sysctl.h> header is deprecated
and will be removed." [-Werror,-W#warnings]
#warning "The <sys/sysctl.h> header is deprecated and will be removed."
^
In file included from /home/alex/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/CoreUObject/PCH.CoreUObject.h:46:
In file included from /home/alex/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/CoreUObjectPrivatePCH.h:6:
In file included from Runtime/Core/Public/CoreMinimal.h:27:
In file included from Runtime/Core/Public/HAL/PlatformMisc.h:22:
In file included from Runtime/Core/Public/Linux/LinuxPlatformMisc.h:12:
In file included from Runtime/Core/Public/Linux/LinuxSystemIncludes.h:34:
/usr/include/sys/sysctl.h:21:2: error: "The <sys/sysctl.h> header is deprecated
and will be removed." [-Werror,-W#warnings]
#warning "The <sys/sysctl.h> header is deprecated and will be removed."
^
1 error generated.
1 error generated.
1 error generated.
1 error generated.
ERROR: UBT ERROR: Failed to produce item: /home/alex/UnrealEngine/Engine/Binaries/Linux/libUnrealHeaderTool-Core.so
Total build time: 4,84 seconds (Local executor: 0,00 seconds)
Error: UnrealHeaderTool failed for target 'CrashReportClient' (platform: Linux, module info: /home/alex/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest, exit code: OtherCompilationError (5)).
make: *** [Makefile:247: CrashReportClient-Linux-Shipping] Ошибка 5
[alex@my UnrealEngine]$
it seems to me that the problem is this #warning “The header is deprecated and will be removed.”
but I don’t know how to solve it