ValveSoftware / ValveSoftware/Proton

Undefined reference to wine_dlsym and wine_dlopen

Open
#4,108 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
32.8k
Forks
1.6k
PR merge metrics
PR metrics pending

Description

Proton version: 5.0-9
wine valve version: 5.12.0
system: Archlinux

After updating to wine valve 5.11 compilation will fail.

wineg++ -shared lsteamclient.spec -o lsteamclient.dll.so steamclient_main.o steamclient_wrappers.o winISteamAppList.o winISteamAppTicket.o winISteamApps.o winISteamClient.o winISteamController.o winISteamFriends.o winISteamGameCoordinator.o winISteamGameSearch.o winISteamGameServer.o winISteamGameServerStats.o winISteamGameStats.o winISteamHTMLSurface.o winISteamHTTP.o winISteamInput.o winISteamInventory.o winISteamMasterServerUpdater.o winISteamMatchmaking.o winISteamMatchmakingServers.o winISteamMusic.o winISteamMusicRemote.o winISteamNetworking.o winISteamNetworkingSockets.o winISteamNetworkingSocketsSerialized.o winISteamNetworkingUtils.o winISteamParentalSettings.o winISteamParties.o winISteamRemotePlay.o winISteamRemoteStorage.o winISteamScreenshots.o winISteamUGC.o winISteamUnifiedMessages.o winISteamUser.o winISteamUserStats.o winISteamUtils.o winISteamVideo.o cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.o cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.o cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.o cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.o cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.o cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.o cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.o cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.o cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.o cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.o cppISteamClient_SteamClient006.o cppISteamClient_SteamClient007.o cppISteamClient_SteamClient008.o cppISteamClient_SteamClient009.o cppISteamClient_SteamClient010.o cppISteamClient_SteamClient011.o cppISteamClient_SteamClient012.o cppISteamClient_SteamClient013.o cppISteamClient_SteamClient014.o cppISteamClient_SteamClient015.o cppISteamClient_SteamClient016.o cppISteamClient_SteamClient017.o cppISteamClient_SteamClient018.o cppISteamClient_SteamClient019.o cppISteamClient_SteamClient020.o cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.o cppISteamController_SteamController003.o cppISteamController_SteamController004.o cppISteamController_SteamController005.o cppISteamController_SteamController006.o cppISteamController_SteamController007.o cppISteamFriends_SteamFriends001.o cppISteamFriends_SteamFriends002.o cppISteamFriends_SteamFriends003.o cppISteamFriends_SteamFriends004.o cppISteamFriends_SteamFriends005.o cppISteamFriends_SteamFriends006.o cppISteamFriends_SteamFriends007.o cppISteamFriends_SteamFriends008.o cppISteamFriends_SteamFriends009.o cppISteamFriends_SteamFriends010.o cppISteamFriends_SteamFriends011.o cppISteamFriends_SteamFriends012.o cppISteamFriends_SteamFriends013.o cppISteamFriends_SteamFriends014.o cppISteamFriends_SteamFriends015.o cppISteamFriends_SteamFriends017.o cppISteamGameCoordinator_SteamGameCoordinator001.o cppISteamGameSearch_SteamMatchGameSearch001.o cppISteamGameServerStats_SteamGameServerStats001.o cppISteamGameServer_SteamGameServer002.o cppISteamGameServer_SteamGameServer003.o cppISteamGameServer_SteamGameServer004.o cppISteamGameServer_SteamGameServer005.o cppISteamGameServer_SteamGameServer008.o cppISteamGameServer_SteamGameServer009.o cppISteamGameServer_SteamGameServer010.o cppISteamGameServer_SteamGameServer011.o cppISteamGameServer_SteamGameServer012.o cppISteamGameServer_SteamGameServer013.o cppISteamGameStats_SteamGameStats001.o cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.o cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.o cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.o cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.o cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.o cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.o cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.o cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.o cppISteamInput_SteamInput001.o cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.o cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.o cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.o cppISteamMasterServerUpdater_SteamMasterServerUpdater001.o cppISteamMatchmakingServers_SteamMatchMakingServers001.o cppISteamMatchmakingServers_SteamMatchMakingServers002.o cppISteamMatchmaking_SteamMatchMaking001.o cppISteamMatchmaking_SteamMatchMaking002.o cppISteamMatchmaking_SteamMatchMaking003.o cppISteamMatchmaking_SteamMatchMaking004.o cppISteamMatchmaking_SteamMatchMaking005.o cppISteamMatchmaking_SteamMatchMaking006.o cppISteamMatchmaking_SteamMatchMaking007.o cppISteamMatchmaking_SteamMatchMaking008.o cppISteamMatchmaking_SteamMatchMaking009.o cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.o cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.o cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.o cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.o cppISteamNetworkingSockets_SteamNetworkingSockets002.o cppISteamNetworkingSockets_SteamNetworkingSockets004.o cppISteamNetworkingSockets_SteamNetworkingSockets006.o cppISteamNetworkingSockets_SteamNetworkingSockets008.o cppISteamNetworkingUtils_SteamNetworkingUtils001.o cppISteamNetworkingUtils_SteamNetworkingUtils002.o cppISteamNetworkingUtils_SteamNetworkingUtils003.o cppISteamNetworking_SteamNetworking001.o cppISteamNetworking_SteamNetworking002.o cppISteamNetworking_SteamNetworking003.o cppISteamNetworking_SteamNetworking004.o cppISteamNetworking_SteamNetworking005.o cppISteamNetworking_SteamNetworking006.o cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.o cppISteamParties_SteamParties002.o cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.o cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.o cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.o cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.o cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.o cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.o cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.o cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.o cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.o cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.o cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.o cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.o cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.o cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.o cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.o cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.o cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.o cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.o cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.o cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.o cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.o cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.o cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.o cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.o cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.o cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.o cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.o cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.o cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.o cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.o cppISteamUser_SteamUser004.o cppISteamUser_SteamUser005.o cppISteamUser_SteamUser006.o cppISteamUser_SteamUser007.o cppISteamUser_SteamUser008.o cppISteamUser_SteamUser009.o cppISteamUser_SteamUser010.o cppISteamUser_SteamUser011.o cppISteamUser_SteamUser012.o cppISteamUser_SteamUser013.o cppISteamUser_SteamUser014.o cppISteamUser_SteamUser015.o cppISteamUser_SteamUser016.o cppISteamUser_SteamUser017.o cppISteamUser_SteamUser018.o cppISteamUser_SteamUser019.o cppISteamUser_SteamUser020.o cppISteamUtils_SteamUtils002.o cppISteamUtils_SteamUtils004.o cppISteamUtils_SteamUtils005.o cppISteamUtils_SteamUtils006.o cppISteamUtils_SteamUtils007.o cppISteamUtils_SteamUtils008.o cppISteamUtils_SteamUtils009.o cppISteamVideo_STEAMVIDEO_INTERFACE_V001.o cppISteamVideo_STEAMVIDEO_INTERFACE_V002.o steamclient_manual_144.o steamclient_manual_146.o steamclient_manual_147.o steamclient_manual_148a.o struct_converters_111x.o struct_converters_112.o struct_converters_112x.o struct_converters_113.o struct_converters_114.o struct_converters_115.o struct_converters_116.o struct_converters_116x.o struct_converters_117.o struct_converters_118.o struct_converters_119.o struct_converters_119x.o struct_converters_120.o struct_converters_121.o struct_converters_121x.o struct_converters_122.o struct_converters_123.o struct_converters_123a.o struct_converters_124.o struct_converters_125.o struct_converters_126.o struct_converters_126a.o struct_converters_127.o struct_converters_128.o struct_converters_128x.o struct_converters_129.o struct_converters_129a.o struct_converters_130.o struct_converters_130x.o struct_converters_131.o struct_converters_132.o struct_converters_132x.o struct_converters_133.o struct_converters_133a.o struct_converters_133b.o struct_converters_133x.o struct_converters_134.o struct_converters_135.o struct_converters_135a.o struct_converters_136.o struct_converters_137.o struct_converters_138.o struct_converters_138a.o struct_converters_139.o struct_converters_140.o struct_converters_141.o struct_converters_142.o struct_converters_143.o struct_converters_143x.o struct_converters_143y.o struct_converters_144.o struct_converters_145.o struct_converters_146.o struct_converters_147.o struct_converters_148a.o /usr/bin/ld: steamclient_main.o: in function load_steamclient.part.0':
steamclient_main.c:(.text+0x40f): undefined reference to wine_dlopen' /usr/bin/ld: steamclient_main.c:(.text+0x437): undefined reference to wine_dlsym'
/usr/bin/ld: steamclient_main.c:(.text+0x463): undefined reference to wine_dlsym' /usr/bin/ld: steamclient_main.c:(.text+0x48f): undefined reference to wine_dlsym'
/usr/bin/ld: steamclient_main.c:(.text+0x4bb): undefined reference to wine_dlsym' /usr/bin/ld: steamclient_main.c:(.text+0x4ed): undefined reference to wine_dlsym'
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/g++ failed
make: *** [Makefile:377: lsteamclient.dll.so] Error 2
`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported wineg++ link command and inspect steamclient_main.c at load_steamclient, along with the Makefile target at line 377. Compare the build behavior before and after the Wine 5.11 update. Done means lsteamclient.dll.so builds without undefined references to wine_dlopen or wine_dlsym.

Written by the indexing model from the issue text.

Assessment

Tech stack
arch-linux, c, cpp, linux
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.