You are not logged in.

#1 2007-12-25 15:11:20

sunn
Member
From: Norway
Registered: 2007-10-24
Posts: 41

[solved] gltron won't build

I'm trying to make a gltron package with the PKGBUILD from the AUR. But apparently it won't build for me.
Here's the last bit of output from makepkg:

Making all in video
make[2]: Entering directory `/var/abs/local/gltron/src/gltron-0.70/src/video'
source='fonttex.c' object='fonttex.o' libtool=no \
    depfile='.deps/fonttex.Po' tmpdepfile='.deps/fonttex.TPo' \
    depmode=gcc3 /bin/sh ../../depcomp \
    gcc -DPACKAGE=\"gltron\" -DVERSION=\"0.70\" -DHAVE_LIBGL=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBSMPEG=1 -DHAVE_LIBOGG=1 -DHAVE_LIBVORBIS=1 -DHAVE_LIBVORBISFILE=1 -DHAVE_LIBSMPEG=1 -DHAVE_LIBMIKMOD=1 -DHAVE_UNISTD_H=1 -DHAVE_GL_GL_H=1 -Dconst= -DHAVE_MKSTEMP=1  -I. -I.   -DDATA_DIR=\"/usr/share/gltron\" -DSNAP_DIR=\"~\" -DPREF_DIR=\"~\" -I../../lua/include -I../../nebu/include -I../../src/include -DSEPARATOR="'/'" -Wall -Werror -Os -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f fonttex.c || echo './'`fonttex.c
cc1: warnings being treated as errors
fonttex.c: In function 'ftxLoadFont':
fonttex.c:54: warning: pointer targets in assignment differ in signedness
fonttex.c:55: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness
fonttex.c: In function 'ftxUnloadFont':
fonttex.c:82: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness
make[2]: *** [fonttex.o] Error 1
make[2]: Leaving directory `/var/abs/local/gltron/src/gltron-0.70/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/gltron/src/gltron-0.70/src'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.  Aborting...

I don't really know how to solve this.. any suggestions will be appreciated.

Last edited by sunn (2007-12-26 15:22:06)

Offline

#2 2007-12-26 15:21:50

sunn
Member
From: Norway
Registered: 2007-10-24
Posts: 41

Re: [solved] gltron won't build

I got it to build by adding

--enable-warn=off

as an option for the configure script, so the ./configure line looks like this.

./configure --prefix=/usr --enable-warn=off

Now, I don't know if this is a good idea.. Any comments on that?

Offline

Board footer

Powered by FluxBB