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

gcc 10 error on Mageia 8. #35

Open
Zombie-Ryushu opened this issue Mar 7, 2022 · 0 comments
Open

gcc 10 error on Mageia 8. #35

Zombie-Ryushu opened this issue Mar 7, 2022 · 0 comments

Comments

@Zombie-Ryushu
Copy link

[ 73s] g++ -fPIC -shared -Wl,--version-script=link.T -Wl,--no-undefined -o openlara_libretro.so ./libretro-common/glsym/rglgen.o ./../../libs/stb_vorbis/stb_vorbis.o ./../../libs/tinf/tinflate.o ./libretro-common/compat/compat_strl.o ./libretro-common/compat/compat_strcasestr.o ./libretro-common/file/file_path.o ./libretro-common/encodings/encoding_utf.o ./libretro-common/glsym/glsym_gl.o ./main.o ./../../libs/minimp3/minimp3.o -lpthread -lGL -lm
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xc50): multiple definition of __rglgen_glDeleteProgram'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1c10): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xb20): multiple definition of __rglgen_glDeleteVertexArrays'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x16c0): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xb48): multiple definition of __rglgen_glDeleteBuffers'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1cb0): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xb18): multiple definition of __rglgen_glBindVertexArray'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x16c8): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xbc0): multiple definition of __rglgen_glEnableVertexAttribArray'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1bf0): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xbb0): multiple definition of __rglgen_glVertexAttribPointer'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1980): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xb40): multiple definition of __rglgen_glBindBuffer'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1cb8): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xc58): multiple definition of __rglgen_glCreateProgram'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1c20): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xb08): multiple definition of __rglgen_glProgramBinary'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1240): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xba8): multiple definition of __rglgen_glGetProgramiv'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1bc8): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xc40): multiple definition of __rglgen_glUseProgram'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1b48): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xc00): multiple definition of __rglgen_glGetUniformLocation'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1ba0): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xbf8): multiple definition of __rglgen_glUniform1iv'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1ae0): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xc30): multiple definition of __rglgen_glCreateShader'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1c18): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xc20): multiple definition of __rglgen_glShaderSource'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1b50): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xc10): multiple definition of __rglgen_glCompileShader'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1c28): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xc08): multiple definition of __rglgen_glGetShaderInfoLog'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1bb0): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xc18): multiple definition of __rglgen_glAttachShader'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1c38): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xc28): multiple definition of __rglgen_glDeleteShader'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1c08): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xbc8): multiple definition of __rglgen_glBindAttribLocation'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1c30): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xc48): multiple definition of __rglgen_glLinkProgram'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1b58): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xc38): multiple definition of __rglgen_glGetProgramInfoLog'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1bc0): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xb10): multiple definition of __rglgen_glGetProgramBinary'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1248): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xc60): multiple definition of __rglgen_glGenerateMipmap'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x16f8): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xb50): multiple definition of __rglgen_glGenBuffers'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1ca8): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xb38): multiple definition of __rglgen_glBufferData'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1c98): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xb28): multiple definition of __rglgen_glGenVertexArrays'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x16b8): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xbf0): multiple definition of __rglgen_glUniform1fv'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1b00): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xbe8): multiple definition of __rglgen_glUniform2fv'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1af8): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xbe0): multiple definition of __rglgen_glUniform3fv'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1af0): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xbd8): multiple definition of __rglgen_glUniform4fv'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1ae8): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xbd0): multiple definition of __rglgen_glUniformMatrix4fv'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1ab0): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xbb8): multiple definition of __rglgen_glDisableVertexAttribArray'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1bf8): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xba0): multiple definition of __rglgen_glGenFramebuffers'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1730): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xb98): multiple definition of __rglgen_glBindFramebuffer'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1740): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xb90): multiple definition of __rglgen_glGenRenderbuffers'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1760): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xb88): multiple definition of __rglgen_glBindRenderbuffer'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1770): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xb80): multiple definition of __rglgen_glFramebufferTexture2D'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1718): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xb78): multiple definition of __rglgen_glFramebufferRenderbuffer'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1708): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xb70): multiple definition of __rglgen_glRenderbufferStorage'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1758): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xb68): multiple definition of __rglgen_glCheckFramebufferStatus'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1728): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xb60): multiple definition of __rglgen_glDeleteFramebuffers'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1738): first defined here
[ 73s] /usr/bin/ld: ./main.o:(.bss+0xb58): multiple definition of __rglgen_glDeleteRenderbuffers'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1768): first defined here [ 73s] /usr/bin/ld: ./main.o:(.bss+0xb30): multiple definition of __rglgen_glBufferSubData'; ./libretro-common/glsym/glsym_gl.o:(.bss+0x1c90): first defined here
[ 73s] collect2: error: ld returned 1 exit status
[ 73s] make: *** [Makefile:209: openlara_libretro.so] Error 1
[ 73s] error: Bad exit status from /var/tmp/rpm-tmp.1XD9f5 (%build)
[ 73s]
[ 73s]
[ 73s] RPM build errors:
[ 73s] Bad exit status from /var/tmp/rpm-tmp.1XD9f5 (%build)
[ 73s] ### VM INTERACTION START ###
[ 74s] Failed to write wtmp record, ignoring: Read-only file system
[ 74s] Failed to write utmp record: Read-only file system
[ 74s] Powering off.
[ 74s] [ 67.301243][ T3396] reboot: Power down
[ 74s] ### VM INTERACTION END ###
[ 74s]
[ 74s] sheep83 failed "build _service:download_src_package:libretro-openlara.spec" at Sat Mar 5 20:09:35 UTC 2022.
[ 74s]

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

No branches or pull requests

1 participant