Package Details: 4dtris 0.4.3-1

Git Clone URL: https://aur.archlinux.org/4dtris.git (read-only, click to copy)
Package Base: 4dtris
Description: A tetris game extended to 4 dimensions
Upstream URL: https://launchpad.net/4dtris
Licenses: GPL
Submitter: Dragonlord
Maintainer: Dragonlord
Last Packager: Dragonlord
Votes: 22
Popularity: 0.000000
First Submitted: 2008-01-24 21:11 (UTC)
Last Updated: 2015-06-28 17:37 (UTC)

Latest Comments

cdison commented on 2023-08-01 03:24 (UTC) (edited on 2023-08-01 03:25 (UTC) by cdison)

I got it working by modifying 4dt_ui.h:

@@ -15,7 +15,7 @@
 ------------------------------------------------------------------------------*/

 /** Enum for special keys */
-enum
+typedef enum
 {
   UI_KEY_BACKSPACE = 8,
   UI_KEY_TAB       = 9,

JohnRobson commented on 2023-05-21 19:09 (UTC)

/usr/bin/gcc  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o 4dtris 4dt_ai.o 4dt_eng.o 4dt_main.o 4dt_menu.o 4dt_scn.o 4dt_m3d.o 4dt_m4d.o 4dt_g3d.o 4dt_gtxt.o 4dt_g4d.o 4dt_hst.o 4dt_ui.o  -lm -lSDL_ttf -lSDL -lGLU -lGL -lfontconfig 
/usr/bin/ld: 4dt_ui.o:(.bss+0x0): multiple definition of `tuiKeyCodes'; 4dt_main.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:381: 4dtris] Error 1
make[1]: Leaving directory '/tmp/yay/4dtris/src/4dtris-0.4.3'
make: *** [Makefile:663: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: 4dtris-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
4dtris - exit status 4

micwoj92 commented on 2022-09-25 14:53 (UTC)

Build fails at linking

/usr/bin/ld: 4dt_ui.o:(.bss+0x0): multiple definition of `tuiKeyCodes'; 4dt_main.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:381: 4dtris] Error 1

djmattyg007 commented on 2021-03-02 11:02 (UTC)

When I try to compile this, it's complaining that it can't find a file named 'GL/glu.h', which is referenced in 'src/4dt_g3d.c'.