# Attempting to build Unreal Engine 4.27 on the Steam Deck fails during final link

**URL:** <https://forums.unrealengine.com/t/attempting-to-build-unreal-engine-4-27-on-the-steam-deck-fails-during-final-link/604590>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, Installation, UE4-27, question\
**Created:** [July 14, 2022, 8:17am UTC](https://forums.unrealengine.com/t/attempting-to-build-unreal-engine-4-27-on-the-steam-deck-fails-during-final-link/604590 "2022-07-14T08:17:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ViridianGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viridiangames/32/551148_2.png) [@ViridianGames](https://forums.unrealengine.com/u/ViridianGames)\
**Post date:** [July 14, 2022, 8:17am UTC](https://forums.unrealengine.com/t/attempting-to-build-unreal-engine-4-27-on-the-steam-deck-fails-during-final-link/604590/1 "2022-07-14T08:17:51Z")

</div>

Hello! I am trying to build Unreal 4.27 on my Steam Deck, which uses Arch Linux. I followed the instructions on the Linux Quick Start page and everything seemed to go well until the very end, when I got some linker errors that appear to be related to Bink.

Here are the errors I am receiving:

```auto
Building UE4Editor...
Performing 2 actions (8 in parallel)
[1/2] Link (lld) libUE4Editor-BinkMediaPlayerEditor.so
ld.lld: error: undefined symbol: setup_rhi
>>> referenced by binkplugin.o:(gpuapi) in archive /home/deck/Repos/UnrealEngine-4.27-chaos/Engi
ne/Plugins/Media/BinkMedia/Source/SDK/lib/BinkUnrealLinux.a

ld.lld: error: undefined symbol: shutdown_rhi
>>> referenced by binkplugin.o:(gpuapi) in archive /home/deck/Repos/UnrealEngine-4.27-chaos/Engi
ne/Plugins/Media/BinkMedia/Source/SDK/lib/BinkUnrealLinux.a

ld.lld: error: undefined symbol: createtextures_rhi
>>> referenced by binkplugin.o:(gpuapi) in archive /home/deck/Repos/UnrealEngine-4.27-chaos/Engi
ne/Plugins/Media/BinkMedia/Source/SDK/lib/BinkUnrealLinux.a

ld.lld: error: undefined symbol: begindraw_rhi
>>> referenced by binkplugin.o:(gpuapi) in archive /home/deck/Repos/UnrealEngine-4.27-chaos/Engi
ne/Plugins/Media/BinkMedia/Source/SDK/lib/BinkUnrealLinux.a
>>> referenced by binkplugin.o:(gpuapi) in archive /home/deck/Repos/UnrealEngine-4.27-chaos/Engi
ne/Plugins/Media/BinkMedia/Source/SDK/lib/BinkUnrealLinux.a

ld.lld: error: undefined symbol: enddraw_rhi
>>> referenced by binkplugin.o:(gpuapi) in archive /home/deck/Repos/UnrealEngine-4.27-chaos/Engi
ne/Plugins/Media/BinkMedia/Source/SDK/lib/BinkUnrealLinux.a
>>> referenced by binkplugin.o:(gpuapi) in archive /home/deck/Repos/UnrealEngine-4.27-chaos/Engi
ne/Plugins/Media/BinkMedia/Source/SDK/lib/BinkUnrealLinux.a

ld.lld: error: undefined symbol: selectscreenrendertarget_rhi
>>> referenced by binkplugin.o:(gpuapi) in archive /home/deck/Repos/UnrealEngine-4.27-chaos/Engi
ne/Plugins/Media/BinkMedia/Source/SDK/lib/BinkUnrealLinux.a

ld.lld: error: undefined symbol: selectrendertarget_rhi
>>> referenced by binkplugin.o:(gpuapi) in archive /home/deck/Repos/UnrealEngine-4.27-chaos/Engi
ne/Plugins/Media/BinkMedia/Source/SDK/lib/BinkUnrealLinux.a

ld.lld: error: undefined symbol: clearrendertarget_rhi
>>> referenced by binkplugin.o:(gpuapi) in archive /home/deck/Repos/UnrealEngine-4.27-chaos/Engi
ne/Plugins/Media/BinkMedia/Source/SDK/lib/BinkUnrealLinux.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:1188: UE4Editor] Error 6

```

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Dejv311](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dejv311](https://forums.unrealengine.com/u/Dejv311)\
**Post date:** [August 24, 2022, 7:18am UTC](https://forums.unrealengine.com/t/attempting-to-build-unreal-engine-4-27-on-the-steam-deck-fails-during-final-link/604590/2 "2022-08-24T07:18:19Z")

</div>

Hi,  
for all the people of future suffering with the same error… I solved it by switching from the “master” branch to “4.27” branch.

[https://github.com/EpicGames/UnrealEngine/tree/4.27](https://github.com/EpicGames/UnrealEngine/tree/4.27)

Hope this helps.

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [August 30, 2022, 5:44am UTC](https://forums.unrealengine.com/t/attempting-to-build-unreal-engine-4-27-on-the-steam-deck-fails-during-final-link/604590/3 "2022-08-30T05:44:29Z")

</div>

I have the exact same issue when trying to build the branch 4.27-plus on kubuntu 22.04.1 with kernel  
Linux linux 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86\_64 x86\_64 x86\_64 GNU/Linux  
after a clean clone, using depth=1 and -b 4.27-plus
