Package Details: uqm-hd 0.2-1

Git Clone URL: https://aur.archlinux.org/uqm-hd.git (read-only, click to copy)
Package Base: uqm-hd
Description: The Ur-Quan Masters HD, a port of Star Control 2 with High Res textures
Upstream URL: https://sourceforge.net/projects/urquanmastershd/
Licenses: GPLv2
Submitter: feo.me
Maintainer: feo.me (Martian)
Last Packager: feo.me
Votes: 4
Popularity: 0.000000
First Submitted: 2017-03-16 13:33 (UTC)
Last Updated: 2018-01-02 17:01 (UTC)

Latest Comments

1 2 Next › Last »

Captian_Kiwi commented on 2026-05-07 09:27 (UTC)

I am using EndevourOs, currently up to date. Need to do the following to get it running:

Title: Fix for "multiple definition" and "DSO missing" errors

On modern systems (GCC 10+ and recent glibc), the build fails. I managed to solve this with the help of Gemini by injecting specific flags into the package() function.

To fix, add these two lines to the top of the package() block in the PKGBUILD: Bash

export CFLAGS="$CFLAGS -fcommon" export LDFLAGS="$LDFLAGS -lm"

This resolves the multiple definition of 'resolutionFactor' and the missing exp@@GLIBC_2.29 math library references.

somerandomdude commented on 2026-04-05 14:14 (UTC) (edited on 2026-04-05 14:15 (UTC) by somerandomdude)

Fix to allow compilation is a couple of edits in build.vars.in:

32,33c32,33
< uqm_CFLAGS='@CFLAGS@'
< uqm_LDFLAGS='@LDFLAGS@'
---
> uqm_CFLAGS='@CFLAGS@ -fcommon'
> uqm_LDFLAGS='@LDFLAGS@ -lm'

bakgwailo commented on 2023-03-16 04:47 (UTC)

Also getting the same error:

LINK uqm-hd /usr/bin/ld: obj/release/src/libs/graphics/gfx_common.c.o:(.bss+0x2c): multiple definition of `resolutionFactor'; obj/release/src/options.c.o:(.bss+0x111c): first defined here /usr/bin/ld: obj/release/src/uqm/planets/pl_stuff.c.o: undefined reference to symbol 'exp@@GLIBC_2.29' /usr/bin/ld: /usr/lib/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [Makefile.build:74: uqm-hd] Error 1 ==> ERROR: A failure occurred in package(). Aborting...

paulhart commented on 2022-06-02 15:48 (UTC)

Hi, I'm unable to link the package:

  LINK     uqm-hd
/usr/bin/ld: obj/release/src/libs/graphics/gfx_common.c.o:(.bss+0x2c): multiple definition of `resolutionFactor'; obj/release/src/options.c.o:(.bss+0x111c): first defined here
/usr/bin/ld: obj/release/src/uqm/planets/pl_stuff.c.o: undefined reference to symbol 'exp@@GLIBC_2.29'
/usr/bin/ld: /usr/lib/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile.build:74: uqm-hd] Error 1
==> ERROR: A failure occurred in package().
    Aborting...

feo.me commented on 2018-01-02 17:00 (UTC) (edited on 2018-01-02 17:02 (UTC) by feo.me)

Thanks Martian. I add you as package maintainer. I was try to fix it but I can't.

PS. Pushed your PKGBUILD to AUR.

Martian commented on 2017-11-28 13:55 (UTC) (edited on 2017-11-28 13:57 (UTC) by Martian)

I created a patch to fix the build error. Here is a link to the PKGBUILD that currently worked for me: https://gist.githubusercontent.com/MafiaInc/609aeaa13993d9c409e454e44ac9c326/raw/f22e8af5b9aa7a4e64236b86d5c239f6d41a2d00/PKGBUILD I also committed a merge request to the official repo - master branch which had the same build error. Link: https://sourceforge.net/p/urquanmastershd/git-new/merge-requests/5/

Martian commented on 2017-11-25 13:24 (UTC)

It doesn't build! Full log is here : https://gist.githubusercontent.com/MafiaInc/e911d1055acca7bb4d3c695db33e31aa/raw/f3a3c141fafe882fc80d208a18222a3b47962aef/uqm-hd%20on%20Arch%20build%20error

feo.me commented on 2017-09-19 15:25 (UTC) (edited on 2017-09-19 17:10 (UTC) by feo.me)

I can reproduce it. I'll try to fix it next weekend.