Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Discord) Failed reference to strlcat() #10046

Closed
parkerlreed opened this issue Jan 22, 2020 · 3 comments
Closed

(Discord) Failed reference to strlcat() #10046

parkerlreed opened this issue Jan 22, 2020 · 3 comments

Comments

@parkerlreed
Copy link

Description

Compile fails on linkage due to Discord integration

Possibly related to #8777

Expected behavior

RetroArch building

Actual behavior

CXX obj-unix/release/ui/drivers/qt/moc_settingswidgets.cpp
CXX obj-unix/release/ui/drivers/qt/options/moc_options.cpp
LD retroarch
/usr/bin/ld: obj-unix/release/deps/discord-rpc/src/discord_register_linux.o: in function `Discord_Register':
discord_register_linux.c:(.text+0x163): undefined reference to `strlcat'
/usr/bin/ld: discord_register_linux.c:(.text+0x187): undefined reference to `strlcat'
/usr/bin/ld: discord_register_linux.c:(.text+0x1a7): undefined reference to `strlcat'
collect2: error: ld returned 1 exit status
make: *** [Makefile:201: retroarch] Error 1

Version/Commit

Environment information

  • OS: Arch Linux
  • Compiler: gcc 9.2.0-4
@hizzlekizzle
Copy link
Contributor

Probably not the answer you're looking for, but I disable discord integration on the snap package because it breaks compilation.

@RobLoach RobLoach changed the title Compile failure on Linux (Discord) Failed reference to strlcat() Jan 22, 2020
@parkerlreed
Copy link
Author

Yeah I manage the AUR PKGBUILD so I may have to update that for the time being.

@parkerlreed
Copy link
Author

This started working again somewhere around March 2020... Forgot to update here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants