LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 08-16-2020, 07:39 PM   #1
burning
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware
Posts: 273

Rep: Reputation: Disabled
error when compiling GLTron


Last few lines of the output before the error:
Code:
make[3]: Entering directory '/tmp/gltron-0.70/lua/src/lib'
source='lauxlib.c' object='lauxlib.o' libtool=no \
depfile='.deps/lauxlib.Po' tmpdepfile='.deps/lauxlib.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
gcc  -I. -I.     -ansi -pedantic -Wall -I./.. -I../../../lua/include -c `test -f lauxlib.c || echo './'`lauxlib.c
source='lbaselib.c' object='lbaselib.o' libtool=no \
depfile='.deps/lbaselib.Po' tmpdepfile='.deps/lbaselib.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
gcc  -I. -I.     -ansi -pedantic -Wall -I./.. -I../../../lua/include -c `test -f lbaselib.c || echo './'`lbaselib.c
source='ldblib.c' object='ldblib.o' libtool=no \
depfile='.deps/ldblib.Po' tmpdepfile='.deps/ldblib.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
gcc  -I. -I.     -ansi -pedantic -Wall -I./.. -I../../../lua/include -c `test -f ldblib.c || echo './'`ldblib.c
source='liolib.c' object='liolib.o' libtool=no \
depfile='.deps/liolib.Po' tmpdepfile='.deps/liolib.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
gcc  -I. -I.     -ansi -pedantic -Wall -I./.. -I../../../lua/include -c `test -f liolib.c || echo './'`liolib.c
In file included from liolib.c:19:
/usr/include/unistd.h:1041:20: error: unknown type name ‘intptr_t’
 1041 | extern void *sbrk (intptr_t __delta) __THROW;
      |                    ^~~~~~~~
make[3]: *** [Makefile:154: liolib.o] Error 1
make[3]: Leaving directory '/tmp/gltron-0.70/lua/src/lib'
make[2]: *** [Makefile:212: all-recursive] Error 1
make[2]: Leaving directory '/tmp/gltron-0.70/lua/src'
make[1]: *** [Makefile:112: all-recursive] Error 1
make[1]: Leaving directory '/tmp/gltron-0.70/lua'
make: *** [Makefile:252: all-recursive] Error 1
This is only my second time building anything from source so I'm not too sure what to look for in this error message. I ran configure with --prefix=/usr/local/games before running make. I'm running Slackware -current and I got the GLTron source from the sourceforge link available here: http://gltron.org/download.php

Last edited by burning; 08-16-2020 at 07:41 PM.
 
Old 08-17-2020, 11:22 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,026

Rep: Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343
compiling a software from 2003 on a modern system can be difficult (if it was possible at all).
You might try to patch the source files but there is no guaranty.
here: https://sourceforge.net/p/gltron/git/ci/master/tree/ you can find something newer, but I still don't know how can we make it.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
GLTron audio problem mhw Linux - Games 0 08-05-2004 08:17 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
installing gltron-0.62-linux.sh pdohman Linux - Software 1 04-18-2003 02:57 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration