Package Details: t4kcommon 0.1.1-6

Git Clone URL: (read-only, click to copy)
Package Base: t4kcommon
Description: A library of code shared between tuxmath and tuxtype.
Upstream URL:
Licenses: GPL
Submitter: nobrakal
Maintainer: frealgagu
Last Packager: frealgagu
Votes: 6
Popularity: 0.000000
First Submitted: 2017-11-15 16:32
Last Updated: 2020-12-26 20:53

Pinned Comments

frealgagu commented on 2020-12-26 20:50

I maintain the latest built package at:

Latest Comments

frealgagu commented on 2020-12-27 15:43

@ArthurBorsboom my fault, the repository had private visibility, please try again and let me know if you have any issue.

ArthurBorsboom commented on 2020-12-27 14:41

Since compiling gcc9 takes forever on my low power laptop, I am happy to have binaries.

However, gives a "Page not found".

frealgagu commented on 2020-12-26 20:50

I maintain the latest built package at:

nobrakal commented on 2020-12-08 07:56

Many thanks for the patch. Sadly, I do not have the time to maintain the package anymore. I have disowned it, please feel free to take it.

atomopawn commented on 2020-12-08 03:25

By the way, upstream seems to have fixed this by marking wrapped_lines as both extern AND static -- which doesn't make much sense, since "extern" basically means "defined in another file" while "static" means "not visible outside this scope". Odd.

atomopawn commented on 2020-12-08 03:20

I feel like there used to be a way to upload patches and PKGBUILDs here, but I haven't used AUR in a long time...

--- t4kcommon-upstream-0.1.1/src/t4k_common.h   2013-12-02 10:50:23.000000000 -0500
+++ t4kcommon-0.1.1/src/t4k_common.h    2020-12-07 22:18:20.697543816 -0500
@@ -239,7 +239,7 @@
 #define MAX_LINES 128     //!< Maximum lines to wrap.
 #define MAX_LINEWIDTH 256 //!< Maximum characters of each line.

-char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines.
+extern char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines.

 //TODO separate headers for different areas a la SDL?

atomopawn commented on 2020-12-08 03:15

I ran into the same linking error. It turns out there is a global variable named "wrapped_lines" that is declared in the .h file and should probably not be there at all. However, as a workaround, marking it "extern" fixes the issue.

ArthurBorsboom commented on 2020-11-20 10:03

collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:434:] Error 1
make[3]: Leaving directory '/home/arthur/.cache/yay/t4kcommon/src/t4kcommon-upstream-0.1.1/src'
make[2]: *** [Makefile:507: all-recursive] Error 1
make[2]: Leaving directory '/home/arthur/.cache/yay/t4kcommon/src/t4kcommon-upstream-0.1.1/src'
make[1]: *** [Makefile:505: all-recursive] Error 1
make[1]: Leaving directory '/home/arthur/.cache/yay/t4kcommon/src/t4kcommon-upstream-0.1.1'
make: *** [Makefile:410: all] Error 2
==> ERROR: A failure occurred in build().
error making: t4kcommon