Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Dreamchess 0.1.0

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
28 posts
  • 1
  • 2
  • Next
Author
Message
Hum
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Thu Oct 13, 2005 5:03 am
Location: Canada

Dreamchess 0.1.0

  • Quote

Post by Hum » Thu Aug 09, 2007 10:56 pm

This is my first attempt to making an ebuild from scratch so here you go.
DreamChess is an open source chess game. Our primary target platforms are Linux, Windows, Dreamcast and BeOS. DreamChess features 3D OpenGL graphics and provides various chess board sets, ranging from classic wooden to flat figurines.

A moderately strong chess engine is included: Dreamer. However, should this engine be too weak for you, then you can use any other XBoard-compatible chess engine, including the popular Crafty and GNU Chess. Other features include on-screen move lists using SAN notation, undo functionality, and savegames in PGN format.

In future releases we plan to add support for time controls, audio, network play, more visual effects such as reflections and shadows, and 3D animated pieces.

http://www.dreamchess.org/screenshots.html

Ebuild

Code: Select all

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Chess Game"
HOMEPAGE="http://www.dreamchess.org"
SRC_URI="http://prdownload.berlios.de/dreamchess/dreamchess-0.1.0.tar.gz
http://download2.berlios.de/dreamchess/dreamchess-0.1.0.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="media-libs/libsdl
media-libs/sdl-image"

src_compile() {
cd ${S}/${package}
        econf || die "econf failed"
                emake || die "emake failed"
}

src_install() {
        emake DESTDIR="${D}" install || die "install failed"
                dodoc README CHANGES
}
Top
Bones McCracker
Veteran
Veteran
User avatar
Posts: 1611
Joined: Tue Mar 14, 2006 8:23 am
Location: U.S.A.

  • Quote

Post by Bones McCracker » Fri Aug 10, 2007 6:12 am

Thanks! Very nice (except for the queer player avatars in the upper corners).
Crafty generally kicks my butt, so this may be just right for me.
patrix_neo wrote:The human thought: I cannot win.
The ratbrain in me : I can only go forward and that's it.
Top
ptero
Apprentice
Apprentice
Posts: 164
Joined: Fri Mar 02, 2007 10:00 pm

  • Quote

Post by ptero » Thu Aug 16, 2007 7:11 pm

err... i copied it into a file dreamchess.ebuild, then made ebuild dreamchess.ebuild merge
it tells me

Code: Select all

!!! home/dreamchess does not follow correct package syntax.
did i do something wrong?
Top
charlieg
Advocate
Advocate
User avatar
Posts: 2149
Joined: Tue Jul 30, 2002 11:05 am
Location: Manchester UK
Contact:
Contact charlieg
Website

  • Quote

Post by charlieg » Thu Aug 16, 2007 9:45 pm

Hmm dreamchess doesn't display correctly on my 1440x900 widescreen laptop - the bottom is cut off.
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Top
ptero
Apprentice
Apprentice
Posts: 164
Joined: Fri Mar 02, 2007 10:00 pm

  • Quote

Post by ptero » Thu Aug 16, 2007 10:36 pm

charlieg wrote:Hmm dreamchess doesn't display correctly on my 1440x900 widescreen laptop - the bottom is cut off.
how did you install it?
Top
keenblade
Veteran
Veteran
User avatar
Posts: 1087
Joined: Sun Oct 03, 2004 6:19 pm
Contact:
Contact keenblade
Website

  • Quote

Post by keenblade » Thu Aug 16, 2007 11:56 pm

ptero wrote:err... i copied it into a file dreamchess.ebuild, then made ebuild dreamchess.ebuild merge
it tells me

Code: Select all

!!! home/dreamchess does not follow correct package syntax.
did i do something wrong?
just rename the ebuild to dreamchess-0.1.0.ebuild
Also change the SRC_URI section like this ( I think this is nicer, otherwise the first url will download the berlios web page)

Code: Select all

 
SRC_URI="http://download.berlios.de/dreamchess/${P}.tar.gz
http://download2.berlios.de/dreamchess/${P}.tar.gz"
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Top
ptero
Apprentice
Apprentice
Posts: 164
Joined: Fri Mar 02, 2007 10:00 pm

  • Quote

Post by ptero » Fri Aug 17, 2007 3:25 am

hmmh...

Code: Select all

Disabling noauto in features... merge disables it. (qmerge doesn't)
Appending  to PORTDIR_OVERLAY...
!!!  does not seem to have a valid PORTDIR structure.
Top
keenblade
Veteran
Veteran
User avatar
Posts: 1087
Joined: Sun Oct 03, 2004 6:19 pm
Contact:
Contact keenblade
Website

  • Quote

Post by keenblade » Fri Aug 17, 2007 4:39 am

ptero wrote:hmmh...

Code: Select all

Disabling noauto in features... merge disables it. (qmerge doesn't)
Appending  to PORTDIR_OVERLAY...
!!!  does not seem to have a valid PORTDIR structure.
you need to put the ebuild in a directory like this:

Code: Select all

/usr/local/portage/games-board/dreamchess
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Fri Aug 17, 2007 5:11 am

Code: Select all

$ grep berlios /usr/portage/profiles/thirdpartymirrors
berlios         http://download.berlios.de http://download2.berlios.de
So, SRC_URI should be:

Code: Select all

SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
Edit: Added missing quotes at end of line.
Last edited by PaulBredbury on Fri Aug 17, 2007 4:18 pm, edited 1 time in total.
Top
keenblade
Veteran
Veteran
User avatar
Posts: 1087
Joined: Sun Oct 03, 2004 6:19 pm
Contact:
Contact keenblade
Website

  • Quote

Post by keenblade » Fri Aug 17, 2007 5:51 am

PaulBredbury wrote:

Code: Select all

$ grep berlios /usr/portage/profiles/thirdpartymirrors
berlios         http://download.berlios.de http://download2.berlios.de
So, SRC_URI should be:

Code: Select all

SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
Thanks a lot. I didn't know this mirror handling of gentoo. I've learned one more thing from you, again.
Last edited by keenblade on Fri Aug 17, 2007 4:34 pm, edited 1 time in total.
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Top
ptero
Apprentice
Apprentice
Posts: 164
Joined: Fri Mar 02, 2007 10:00 pm

  • Quote

Post by ptero » Fri Aug 17, 2007 9:00 am

thanks, it did a trick, but i'm still not there:

Code: Select all

!!! Manifest file not found: '/usr/local/portage/games-board/dreamchess/Manifest'
can i skip the manifest part somehow?
Top
keenblade
Veteran
Veteran
User avatar
Posts: 1087
Joined: Sun Oct 03, 2004 6:19 pm
Contact:
Contact keenblade
Website

  • Quote

Post by keenblade » Fri Aug 17, 2007 11:10 am

ptero wrote:thanks, it did a trick, but i'm still not there:

Code: Select all

!!! Manifest file not found: '/usr/local/portage/games-board/dreamchess/Manifest'
can i skip the manifest part somehow?
No you can't. You have to run this

Code: Select all

cd /usr/local/portage/games-board/dreamchess/
ebuild dreamchess-0.1.0.ebuild digest
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Top
ptero
Apprentice
Apprentice
Posts: 164
Joined: Fri Mar 02, 2007 10:00 pm

  • Quote

Post by ptero » Fri Aug 17, 2007 2:54 pm

thanks! though
!!! Couldn't download 'dreamchess-0.1.0.tar.gz'. Aborting.
!!! File dreamchess-0.1.0.tar.gz doesn't exist, can't update Manifest
after

Code: Select all

SRC_URI="SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" "
i feel kinda dumb right now :oops: could you please tell me, how do i do it step by step and besides, tell me where i find a good howto about ebuids, overlays and stuff like that? please, don't send me to man ebuild, i didn't really understand it.
Top
keenblade
Veteran
Veteran
User avatar
Posts: 1087
Joined: Sun Oct 03, 2004 6:19 pm
Contact:
Contact keenblade
Website

  • Quote

Post by keenblade » Fri Aug 17, 2007 3:51 pm

ptero wrote:i feel kinda dumb right now :oops: could you please tell me, how do i do it step by step and besides, tell me where i find a good howto about ebuids, overlays and stuff like that? please, don't send me to man ebuild, i didn't really understand it.
I felt the same before I've read these. Here is the excellent three documents:
1. HOWTO Installing 3rd Party Ebuilds
2. Quickstart Ebuild Guide
3. Ebuild HOWTO
Also for overlays you can look at the layman tool that manages overlays easily.
1. layman home page
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Top
ptero
Apprentice
Apprentice
Posts: 164
Joined: Fri Mar 02, 2007 10:00 pm

  • Quote

Post by ptero » Fri Aug 17, 2007 4:16 pm

well, thanks for the howtos, i rad them (excerpt for the gentoo-wiki - it's down for 3 days now :( ), but i still didn't find there, what i do have to do. you see,

Code: Select all

>>> Downloading 'SRC_URI=mirror://berlios/dreamchess/dreamchess-0.1.0.tar.gz'
SRC_URI=mirror://berlios/dreamchess/dreamchess-0.1.0.tar.gz: Unsupported scheme.
!!! Couldn't download 'dreamchess-0.1.0.tar.gz'. Aborting.
!!! File dreamchess-0.1.0.tar.gz doesn't exist, can't update Manifest
i believe, i have to declare the berlios mirror as http://download.berlios.de/ somehow, but i don't know how to do this (or if i'm getting this right ;) ).
Top
keenblade
Veteran
Veteran
User avatar
Posts: 1087
Joined: Sun Oct 03, 2004 6:19 pm
Contact:
Contact keenblade
Website

  • Quote

Post by keenblade » Fri Aug 17, 2007 4:26 pm

ptero wrote:well, thanks for the howtos, i rad them (excerpt for the gentoo-wiki - it's down for 3 days now :( ), but i still didn't find there, what i do have to do. you see,

Code: Select all

>>> Downloading 'SRC_URI=mirror://berlios/dreamchess/dreamchess-0.1.0.tar.gz'
SRC_URI=mirror://berlios/dreamchess/dreamchess-0.1.0.tar.gz: Unsupported scheme.
!!! Couldn't download 'dreamchess-0.1.0.tar.gz'. Aborting.
!!! File dreamchess-0.1.0.tar.gz doesn't exist, can't update Manifest
i believe, i have to declare the berlios mirror as http://download.berlios.de/ somehow, but i don't know how to do this (or if i'm getting this right ;) ).
For wiki you can use google cache:
HOWTO_Installing_3rd_Party_Ebuilds
For the ebuild can you try this "dreamchess-0.1.0.ebuild" :

Code: Select all

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Chess Game"
HOMEPAGE="http://www.dreamchess.org"
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND="media-libs/libsdl
media-libs/sdl-image"

src_compile() {
cd ${S}/${package}
		econf || die "econf failed"
				emake || die "emake failed"
}

src_install() {
		emake DESTDIR="${D}" install || die "install failed"
				dodoc README CHANGES
}
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Top
ptero
Apprentice
Apprentice
Posts: 164
Joined: Fri Mar 02, 2007 10:00 pm

  • Quote

Post by ptero » Fri Aug 17, 2007 4:59 pm

thanks for the ebuild, i found my mistake. it was like always, not paying attention to what i'm doing:
SRC_URI="SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" "
:oops:
Top
ptero
Apprentice
Apprentice
Posts: 164
Joined: Fri Mar 02, 2007 10:00 pm

  • Quote

Post by ptero » Fri Aug 17, 2007 5:01 pm

however:

Code: Select all

Disabling noauto in features... merge disables it. (qmerge doesn't)
Appending /usr/local/portage to PORTDIR_OVERLAY...
 * dreamchess-0.1.0.tar.gz MD5 ;-) ...                                    [ ok ]
 * dreamchess-0.1.0.tar.gz RMD160 ;-) ...                                 [ ok ]
 * dreamchess-0.1.0.tar.gz SHA1 ;-) ...                                   [ ok ]
 * dreamchess-0.1.0.tar.gz SHA256 ;-) ...                                 [ ok ]
 * dreamchess-0.1.0.tar.gz size ;-) ...                                   [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking dreamchess-0.1.0.tar.gz ;-) ...                               [ ok ]
>>> Unpacking source...
>>> Unpacking dreamchess-0.1.0.tar.gz to /var/tmp/portage/games-board/dreamchess-0.1.0/work
tar: dreamchess-0.1.0/ChangeLog: time stamp 2038-01-19 04:14:07 is 960113951.077408165 s in the future
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0 ...
 * econf: updating dreamchess-0.1.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating dreamchess-0.1.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for inline... inline
checking for ISO C99 varargs macros... yes
checking for GNU C varargs macros... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for SDL_image.h... no
checking for SDL_opengl.h... yes
checking for sqrt in -lm... yes
checking for compress in -lz... yes
checking for png_create_read_struct in -lpng... yes
checking whether libpng needs -lm... no
checking whether libpng needs -lz... no
checking for jpeg_CreateCompress in -ljpeg... yes
checking for IMG_LoadPNG_RW in -lSDL_image... no
checking for glBegin in -lGL... yes
checking for gluUnProject in -lGLU... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking for strdup... yes
checking for vsnprintf... yes
checking for usleep... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating desktop/Makefile
config.status: creating doc/Makefile
config.status: creating man/Makefile
config.status: creating m4/Makefile
config.status: creating pkg/Makefile
config.status: creating pkg/win32/Makefile
config.status: creating src/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/gamegui/Makefile
config.status: creating src/libs/mxml/Makefile
config.status: creating src/libs/minizip/Makefile
config.status: creating src/include/Makefile
config.status: creating src/include/gamegui/Makefile
config.status: creating src/include/minizip/Makefile
config.status: creating src/ui_sdlgl/Makefile
config.status: creating src/dreamer/Makefile
config.status: creating config.h
config.status: executing depfiles commands

User interface driver requirements:

sdlgl
-----

  Requirement  | Found
------------------------
"SDL_image.h"  |  no
"SDL_opengl.h" |  yes
libSDL         |  yes (-lSDL -lpthread)
libSDL_image   |  no
libGL          |  yes (-lGL -lGLU)

Supported:        no
Build:            no

You can now run `make'.

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0'
Making all in desktop
make[2]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/desktop'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/desktop'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/doc'
Making all in src
make[2]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src'
make  all-recursive
make[3]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src'
Making all in libs
make[4]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs'
Making all in gamegui
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs/gamegui'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT action.o -MD -MP -MF ".deps/action.Tpo" -c -o action.o action.c; \
        then mv -f ".deps/action.Tpo" ".deps/action.Po"; else rm -f ".deps/action.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT align.o -MD -MP -MF ".deps/align.Tpo" -c -o align.o align.c; \
        then mv -f ".deps/align.Tpo" ".deps/align.Po"; else rm -f ".deps/align.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT bin.o -MD -MP -MF ".deps/bin.Tpo" -c -o bin.o bin.c; \
        then mv -f ".deps/bin.Tpo" ".deps/bin.Po"; else rm -f ".deps/bin.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT box.o -MD -MP -MF ".deps/box.Tpo" -c -o box.o box.c; \
        then mv -f ".deps/box.Tpo" ".deps/box.Po"; else rm -f ".deps/box.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT clipping.o -MD -MP -MF ".deps/clipping.Tpo" -c -o clipping.o clipping.c; \
        then mv -f ".deps/clipping.Tpo" ".deps/clipping.Po"; else rm -f ".deps/clipping.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT container.o -MD -MP -MF ".deps/container.Tpo" -c -o container.o container.c; \
        then mv -f ".deps/container.Tpo" ".deps/container.Po"; else rm -f ".deps/container.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT dialog.o -MD -MP -MF ".deps/dialog.Tpo" -c -o dialog.o dialog.c; \
        then mv -f ".deps/dialog.Tpo" ".deps/dialog.Po"; else rm -f ".deps/dialog.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT entry.o -MD -MP -MF ".deps/entry.Tpo" -c -o entry.o entry.c; \
        then mv -f ".deps/entry.Tpo" ".deps/entry.Po"; else rm -f ".deps/entry.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT frame.o -MD -MP -MF ".deps/frame.Tpo" -c -o frame.o frame.c; \
        then mv -f ".deps/frame.Tpo" ".deps/frame.Po"; else rm -f ".deps/frame.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT hbox.o -MD -MP -MF ".deps/hbox.Tpo" -c -o hbox.o hbox.c; \
        then mv -f ".deps/hbox.Tpo" ".deps/hbox.Po"; else rm -f ".deps/hbox.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT image.o -MD -MP -MF ".deps/image.Tpo" -c -o image.o image.c; \
        then mv -f ".deps/image.Tpo" ".deps/image.Po"; else rm -f ".deps/image.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT label.o -MD -MP -MF ".deps/label.Tpo" -c -o label.o label.c; \
        then mv -f ".deps/label.Tpo" ".deps/label.Po"; else rm -f ".deps/label.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT option.o -MD -MP -MF ".deps/option.Tpo" -c -o option.o option.c; \
        then mv -f ".deps/option.Tpo" ".deps/option.Po"; else rm -f ".deps/option.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT select.o -MD -MP -MF ".deps/select.Tpo" -c -o select.o select.c; \
        then mv -f ".deps/select.Tpo" ".deps/select.Po"; else rm -f ".deps/select.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT seperatorh.o -MD -MP -MF ".deps/seperatorh.Tpo" -c -o seperatorh.o seperatorh.c; \
        then mv -f ".deps/seperatorh.Tpo" ".deps/seperatorh.Po"; else rm -f ".deps/seperatorh.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT seperatorv.o -MD -MP -MF ".deps/seperatorv.Tpo" -c -o seperatorv.o seperatorv.c; \
        then mv -f ".deps/seperatorv.Tpo" ".deps/seperatorv.Po"; else rm -f ".deps/seperatorv.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT system.o -MD -MP -MF ".deps/system.Tpo" -c -o system.o system.c; \
        then mv -f ".deps/system.Tpo" ".deps/system.Po"; else rm -f ".deps/system.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT vbox.o -MD -MP -MF ".deps/vbox.Tpo" -c -o vbox.o vbox.c; \
        then mv -f ".deps/vbox.Tpo" ".deps/vbox.Po"; else rm -f ".deps/vbox.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT viewport.o -MD -MP -MF ".deps/viewport.Tpo" -c -o viewport.o viewport.c; \
        then mv -f ".deps/viewport.Tpo" ".deps/viewport.Po"; else rm -f ".deps/viewport.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT widget.o -MD -MP -MF ".deps/widget.Tpo" -c -o widget.o widget.c; \
        then mv -f ".deps/widget.Tpo" ".deps/widget.Po"; else rm -f ".deps/widget.Tpo"; exit 1; fi
rm -f libgamegui.a
ar cru libgamegui.a action.o align.o bin.o box.o clipping.o container.o dialog.o entry.o frame.o hbox.o image.o label.o option.o select.o seperatorh.o seperatorv.o system.o vbox.o viewport.o widget.o
x86_64-pc-linux-gnu-ranlib libgamegui.a
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs/gamegui'
Making all in mxml
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs/mxml'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-attr.o -MD -MP -MF ".deps/mxml-attr.Tpo" -c -o mxml-attr.o mxml-attr.c; \
        then mv -f ".deps/mxml-attr.Tpo" ".deps/mxml-attr.Po"; else rm -f ".deps/mxml-attr.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-file.o -MD -MP -MF ".deps/mxml-file.Tpo" -c -o mxml-file.o mxml-file.c; \
        then mv -f ".deps/mxml-file.Tpo" ".deps/mxml-file.Po"; else rm -f ".deps/mxml-file.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-node.o -MD -MP -MF ".deps/mxml-node.Tpo" -c -o mxml-node.o mxml-node.c; \
        then mv -f ".deps/mxml-node.Tpo" ".deps/mxml-node.Po"; else rm -f ".deps/mxml-node.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-search.o -MD -MP -MF ".deps/mxml-search.Tpo" -c -o mxml-search.o mxml-search.c; \
        then mv -f ".deps/mxml-search.Tpo" ".deps/mxml-search.Po"; else rm -f ".deps/mxml-search.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-string.o -MD -MP -MF ".deps/mxml-string.Tpo" -c -o mxml-string.o mxml-string.c; \
        then mv -f ".deps/mxml-string.Tpo" ".deps/mxml-string.Po"; else rm -f ".deps/mxml-string.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-entity.o -MD -MP -MF ".deps/mxml-entity.Tpo" -c -o mxml-entity.o mxml-entity.c; \
        then mv -f ".deps/mxml-entity.Tpo" ".deps/mxml-entity.Po"; else rm -f ".deps/mxml-entity.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-index.o -MD -MP -MF ".deps/mxml-index.Tpo" -c -o mxml-index.o mxml-index.c; \
        then mv -f ".deps/mxml-index.Tpo" ".deps/mxml-index.Po"; else rm -f ".deps/mxml-index.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-private.o -MD -MP -MF ".deps/mxml-private.Tpo" -c -o mxml-private.o mxml-private.c; \
        then mv -f ".deps/mxml-private.Tpo" ".deps/mxml-private.Po"; else rm -f ".deps/mxml-private.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-set.o -MD -MP -MF ".deps/mxml-set.Tpo" -c -o mxml-set.o mxml-set.c; \
        then mv -f ".deps/mxml-set.Tpo" ".deps/mxml-set.Po"; else rm -f ".deps/mxml-set.Tpo"; exit 1; fi
rm -f libmxml.a
ar cru libmxml.a mxml-attr.o mxml-file.o mxml-node.o mxml-search.o mxml-string.o mxml-entity.o mxml-index.o mxml-private.o mxml-set.o
x86_64-pc-linux-gnu-ranlib libmxml.a
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs/mxml'
Making all in minizip
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs/minizip'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs/minizip'
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include    -march=nocona -O2 -pipe -MT pipe_unix.o -MD -MP -MF ".deps/pipe_unix.Tpo" -c -o pipe_unix.o pipe_unix.c; \
        then mv -f ".deps/pipe_unix.Tpo" ".deps/pipe_unix.Po"; else rm -f ".deps/pipe_unix.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include    -march=nocona -O2 -pipe -MT msgbuf.o -MD -MP -MF ".deps/msgbuf.Tpo" -c -o msgbuf.o msgbuf.c; \
        then mv -f ".deps/msgbuf.Tpo" ".deps/msgbuf.Po"; else rm -f ".deps/msgbuf.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include    -march=nocona -O2 -pipe -MT san_parse.o -MD -MP -MF ".deps/san_parse.Tpo" -c -o san_parse.o san_parse.c; \
        then mv -f ".deps/san_parse.Tpo" ".deps/san_parse.Po"; else rm -f ".deps/san_parse.Tpo"; exit 1; fi
rm -f libpipe_unix.a
ar cru libpipe_unix.a pipe_unix.o msgbuf.o
x86_64-pc-linux-gnu-ranlib libpipe_unix.a
rm -f libsan.a
ar cru libsan.a san_parse.o
x86_64-pc-linux-gnu-ranlib libsan.a
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs'
make[4]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs'
Making all in dreamer
make[4]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/dreamer'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT dreamer.o -MD -MP -MF ".deps/dreamer.Tpo" -c -o dreamer.o dreamer.c; \
        then mv -f ".deps/dreamer.Tpo" ".deps/dreamer.Po"; else rm -f ".deps/dreamer.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT e_comm_unix.o -MD -MP -MF ".deps/e_comm_unix.Tpo" -c -o e_comm_unix.o e_comm_unix.c; \
        then mv -f ".deps/e_comm_unix.Tpo" ".deps/e_comm_unix.Po"; else rm -f ".deps/e_comm_unix.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT commands.o -MD -MP -MF ".deps/commands.Tpo" -c -o commands.o commands.c; \
        then mv -f ".deps/commands.Tpo" ".deps/commands.Po"; else rm -f ".deps/commands.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT board.o -MD -MP -MF ".deps/board.Tpo" -c -o board.o board.c; \
        then mv -f ".deps/board.Tpo" ".deps/board.Po"; else rm -f ".deps/board.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT hashing.o -MD -MP -MF ".deps/hashing.Tpo" -c -o hashing.o hashing.c; \
        then mv -f ".deps/hashing.Tpo" ".deps/hashing.Po"; else rm -f ".deps/hashing.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT move.o -MD -MP -MF ".deps/move.Tpo" -c -o move.o move.c; \
        then mv -f ".deps/move.Tpo" ".deps/move.Po"; else rm -f ".deps/move.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT search.o -MD -MP -MF ".deps/search.Tpo" -c -o search.o search.c; \
        then mv -f ".deps/search.Tpo" ".deps/search.Po"; else rm -f ".deps/search.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT repetition.o -MD -MP -MF ".deps/repetition.Tpo" -c -o repetition.o repetition.c; \
        then mv -f ".deps/repetition.Tpo" ".deps/repetition.Po"; else rm -f ".deps/repetition.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT transposition.o -MD -MP -MF ".deps/transposition.Tpo" -c -o transposition.o transposition.c; \
        then mv -f ".deps/transposition.Tpo" ".deps/transposition.Po"; else rm -f ".deps/transposition.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT eval.o -MD -MP -MF ".deps/eval.Tpo" -c -o eval.o eval.c; \
        then mv -f ".deps/eval.Tpo" ".deps/eval.Po"; else rm -f ".deps/eval.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT history.o -MD -MP -MF ".deps/history.Tpo" -c -o history.o history.c; \
        then mv -f ".deps/history.Tpo" ".deps/history.Po"; else rm -f ".deps/history.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT e_comm_sdlthd.o -MD -MP -MF ".deps/e_comm_sdlthd.Tpo" -c -o e_comm_sdlthd.o e_comm_sdlthd.c; \
        then mv -f ".deps/e_comm_sdlthd.Tpo" ".deps/e_comm_sdlthd.Po"; else rm -f ".deps/e_comm_sdlthd.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT e_comm_win32.o -MD -MP -MF ".deps/e_comm_win32.Tpo" -c -o e_comm_win32.o e_comm_win32.c; \
        then mv -f ".deps/e_comm_win32.Tpo" ".deps/e_comm_win32.Po"; else rm -f ".deps/e_comm_win32.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT e_comm.o -MD -MP -MF ".deps/e_comm.Tpo" -c -o e_comm.o e_comm.c; \
        then mv -f ".deps/e_comm.Tpo" ".deps/e_comm.Po"; else rm -f ".deps/e_comm.Tpo"; exit 1; fi
x86_64-pc-linux-gnu-gcc -c gen_chess_moves.c
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
        then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
x86_64-pc-linux-gnu-gcc -o genchessmoves gen_chess_moves.o
./genchessmoves
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT move_data.o -MD -MP -MF ".deps/move_data.Tpo" -c -o move_data.o move_data.c; \
        then mv -f ".deps/move_data.Tpo" ".deps/move_data.Po"; else rm -f ".deps/move_data.Tpo"; exit 1; fi
rm -f libdreamer.a
ar cru libdreamer.a dreamer.o e_comm_unix.o commands.o board.o hashing.o move.o search.o repetition.o transposition.o eval.o history.o e_comm_sdlthd.o e_comm_win32.o e_comm.o move_data.o
x86_64-pc-linux-gnu-ranlib libdreamer.a
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe  -march=nocona -O2 -pipe   -o dreamer  main.o libdreamer.a ../libs/libpipe_unix.a
make[4]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/dreamer'
Making all in include
make[4]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include'
Making all in gamegui
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include/gamegui'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include/gamegui'
Making all in minizip
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include/minizip'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include/minizip'
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include'
if [ -d .svn ]; then \
                ( \
                echo -n '#define SVN_VERSION "'; \
                svnversion -n ../..; \
                echo '"'; \
                ) > svn_version.h; \
        fi
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include'
make[4]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include'
Making all in ui_sdlgl
make[4]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/ui_sdlgl'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -I../../src   -march=nocona -O2 -pipe -DDATADIR=\"/usr/share/dreamchess\"  -march=nocona -O2 -pipe -MT ui_sdlgl.o -MD -MP -MF ".deps/ui_sdlgl.Tpo" -c -o ui_sdlgl.o ui_sdlgl.c; \
        then mv -f ".deps/ui_sdlgl.Tpo" ".deps/ui_sdlgl.Po"; else rm -f ".deps/ui_sdlgl.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -I../../src   -march=nocona -O2 -pipe -DDATADIR=\"/usr/share/dreamchess\"  -march=nocona -O2 -pipe -MT ui_sdlgl_3d.o -MD -MP -MF ".deps/ui_sdlgl_3d.Tpo" -c -o ui_sdlgl_3d.o ui_sdlgl_3d.c; \
        then mv -f ".deps/ui_sdlgl_3d.Tpo" ".deps/ui_sdlgl_3d.Po"; else rm -f ".deps/ui_sdlgl_3d.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -I../../src   -march=nocona -O2 -pipe -DDATADIR=\"/usr/share/dreamchess\"  -march=nocona -O2 -pipe -MT texture.o -MD -MP -MF ".deps/texture.Tpo" -c -o texture.o texture.c; \
        then mv -f ".deps/texture.Tpo" ".deps/texture.Po"; else rm -f ".deps/texture.Tpo"; exit 1; fi
In file included from ui_sdlgl.c:2:
ui_sdlgl.h:17:17: error: SDL.h: No such file or directory
ui_sdlgl.h:18:23: error: SDL_image.h: No such file or directory
ui_sdlgl.h:19:24: error: SDL_thread.h: No such file or directory
ui_sdlgl.h:20:24: error: SDL_opengl.h: No such file or directory
ui_sdlgl.h:21:26: error: SDL_joystick.h: No such file or directory
In file included from ui_sdlgl.c:2:
ui_sdlgl.h:113: error: expected specifier-qualifier-list before 'GLuint'
ui_sdlgl.h:176: error: expected ')' before '*' token
ui_sdlgl.h:280: error: expected ')' before '*' token
ui_sdlgl.h:282: error: expected declaration specifiers or '...' before 'GLenum'
ui_sdlgl.h:282: error: expected declaration specifiers or '...' before 'GLenum'
ui_sdlgl.c:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
ui_sdlgl.c: In function 'poll_event':
ui_sdlgl.c:199: error: 'SDL_Event' undeclared (first use in this function)
ui_sdlgl.c:199: error: (Each undeclared identifier is reported only once
ui_sdlgl.c:199: error: for each function it appears in.)
ui_sdlgl.c:199: error: expected ';' before 'sdl_event'
ui_sdlgl.c:201: error: 'sdl_event' undeclared (first use in this function)
ui_sdlgl.c:204: error: 'SDL_QUIT' undeclared (first use in this function)
ui_sdlgl.c:208: error: 'SDL_KEYDOWN' undeclared (first use in this function)
ui_sdlgl.c:208: error: 'KMOD_ALT' undeclared (first use in this function)
ui_sdlgl.c:209: error: 'SDLK_RETURN' undeclared (first use in this function)
ui_sdlgl.c:216: error: incompatible types in assignment
ui_sdlgl.c: In function 'do_menu':
ui_sdlgl.c:242: error: 'SDL_Joystick' undeclared (first use in this function)
ui_sdlgl.c:242: error: 'joy1' undeclared (first use in this function)
ui_sdlgl.c:246: error: 'GL_BLEND' undeclared (first use in this function)
ui_sdlgl.c:247: error: 'GL_SRC_ALPHA' undeclared (first use in this function)
ui_sdlgl.c:247: error: 'GL_ONE_MINUS_SRC_ALPHA' undeclared (first use in this function)
ui_sdlgl.c:264: error: 'Uint8' undeclared (first use in this function)
ui_sdlgl.c:264: error: 'keystate' undeclared (first use in this function)
ui_sdlgl.c:272: error: 'GL_COLOR_BUFFER_BIT' undeclared (first use in this function)
ui_sdlgl.c:272: error: 'GL_DEPTH_BUFFER_BIT' undeclared (first use in this function)
ui_sdlgl.c:310: error: 'SDLK_UP' undeclared (first use in this function)
ui_sdlgl.c: In function 'init_gui':
ui_sdlgl.c:409: error: 'SDL_Surface' undeclared (first use in this function)
ui_sdlgl.c:409: error: 'icon' undeclared (first use in this function)
ui_sdlgl.c:409: error: 'surface' undeclared (first use in this function)
ui_sdlgl.c:410: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
ui_sdlgl.c:410: error: 'video_info' undeclared (first use in this function)
ui_sdlgl.c:421: error: 'SDL_INIT_VIDEO' undeclared (first use in this function)
ui_sdlgl.c:421: error: 'SDL_INIT_JOYSTICK' undeclared (first use in this function)
ui_sdlgl.c:421: error: 'SDL_INIT_NOPARACHUTE' undeclared (first use in this function)
ui_sdlgl.c:428: error: 'SDL_DEFAULT_REPEAT_DELAY' undeclared (first use in this function)
ui_sdlgl.c:428: error: 'SDL_DEFAULT_REPEAT_INTERVAL' undeclared (first use in this function)
ui_sdlgl.c:456: error: 'SDL_OPENGL' undeclared (first use in this function)
ui_sdlgl.c:457: error: 'SDL_GL_DOUBLEBUFFER' undeclared (first use in this function)
ui_sdlgl.c:458: error: 'SDL_HWPALETTE' undeclared (first use in this function)
ui_sdlgl.c:463: error: 'SDL_FULLSCREEN' undeclared (first use in this function)
ui_sdlgl.c:468: error: 'SDL_HWSURFACE' undeclared (first use in this function)
ui_sdlgl.c:470: error: 'SDL_SWSURFACE' undeclared (first use in this function)
ui_sdlgl.c:473: error: 'SDL_HWACCEL' undeclared (first use in this function)
ui_sdlgl.c:485: error: 'SDL_DISABLE' undeclared (first use in this function)
ui_sdlgl.c:489: error: 'joy' undeclared (first use in this function)
In file included from texture.c:2:
ui_sdlgl.h:17:17: error: SDL.h: No such file or directory
ui_sdlgl.h:18:23: error: SDL_image.h: No such file or directory
ui_sdlgl.c: In function 'sdlgl_exit':ui_sdlgl.h:19:24: error: SDL_thread.h: No such file or directory

ui_sdlgl.c:656: error: 'texture_t' has no member named 'id'
ui_sdlgl.h:20:24: error: SDL_opengl.h: No such file or directory
ui_sdlgl.c:658: error: 'joy' undeclared (first use in this function)
ui_sdlgl.h:21:26: error: SDL_joystick.h: No such file or directory
make[4]: *** [ui_sdlgl.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from texture.c:2:
ui_sdlgl.h:113: error: expected specifier-qualifier-list before 'GLuint'
ui_sdlgl.h:176: error: expected ')' before '*' token
ui_sdlgl.h:280: error: expected ')' before '*' token
ui_sdlgl.h:282: error: expected declaration specifiers or '...' before 'GLenum'
ui_sdlgl.h:282: error: expected declaration specifiers or '...' before 'GLenum'
texture.c:7: error: expected ')' before '*' token
texture.c: In function 'draw_texture':
texture.c:137: error: 'GL_TEXTURE_2D' undeclared (first use in this function)
texture.c:137: error: (Each undeclared identifier is reported only once
texture.c:137: error: for each function it appears in.)
texture.c:140: error: 'texture_t' has no member named 'id'
texture.c:142: error: 'GL_QUADS' undeclared (first use in this function)
texture.c:143: error: 'texture_t' has no member named 'u1'
texture.c:143: error: 'texture_t' has no member named 'v1'
texture.c:145: error: 'texture_t' has no member named 'u2'
texture.c:145: error: 'texture_t' has no member named 'v1'
texture.c:147: error: 'texture_t' has no member named 'u2'
texture.c:147: error: 'texture_t' has no member named 'v2'
texture.c:149: error: 'texture_t' has no member named 'u1'
texture.c:149: error: 'texture_t' has no member named 'v2'
texture.c: At top level:
texture.c:191: error: expected declaration specifiers or '...' before 'GLenum'
texture.c:191: error: expected declaration specifiers or '...' before 'GLenum'
texture.c: In function 'draw_texture_uv':
texture.c:193: error: 'GL_TEXTURE_2D' undeclared (first use in this function)
texture.c:196: error: 'texture_t' has no member named 'id'
texture.c:198: error: 'GL_TEXTURE_WRAP_S' undeclared (first use in this function)
texture.c:198: error: 'mode_h' undeclared (first use in this function)
texture.c:199: error: 'GL_TEXTURE_WRAP_T' undeclared (first use in this function)
texture.c:199: error: 'mode_v' undeclared (first use in this function)
texture.c:201: error: 'GL_QUADS' undeclared (first use in this function)
texture.c: In function 'load_texture_png':
texture.c:227: error: 'SDL_Surface' undeclared (first use in this function)
texture.c:227: error: 'texture_image' undeclared (first use in this function)
texture.c:234: error: 'SDL_Rect' undeclared (first use in this function)
texture.c:234: error: expected ';' before 'area'
texture.c:235: error: 'area' undeclared (first use in this function)
texture.c:239: error: incompatible types in assignment
make[4]: *** [texture.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/ui_sdlgl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0'
make: *** [all] Error 2

!!! ERROR: games-board/dreamchess-0.1.0 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  dreamchess-0.1.0.ebuild, line 20:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/games-board:dreamchess-0.1.0:20070817-165427.log'.

!!! This ebuild is from an overlay: '/usr/local/portage'
i'm bored... :cry:
Top
keenblade
Veteran
Veteran
User avatar
Posts: 1087
Joined: Sun Oct 03, 2004 6:19 pm
Contact:
Contact keenblade
Website

  • Quote

Post by keenblade » Fri Aug 17, 2007 5:24 pm

ptero wrote:i'm bored... :cry:
:) try this new ebuild:

Code: Select all

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Chess Game"
HOMEPAGE="http://www.dreamchess.org"
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND="media-libs/libsdl
media-libs/sdl-image
media-libs/jpeg
media-libs/libpng
sys-libs/zlib"

src_compile() {
cd ${S}/${package}
		econf || die "econf failed"
				emake || die "emake failed"
}

src_install() {
		emake DESTDIR="${D}" install || die "install failed"
				dodoc README CHANGES
}
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Top
ptero
Apprentice
Apprentice
Posts: 164
Joined: Fri Mar 02, 2007 10:00 pm

  • Quote

Post by ptero » Fri Aug 17, 2007 5:35 pm

still nothing:

Code: Select all

Disabling noauto in features... merge disables it. (qmerge doesn't)
Appending /usr/local/portage to PORTDIR_OVERLAY...
 * dreamchess-0.1.0.tar.gz MD5 ;-) ...                                    [ ok ]
 * dreamchess-0.1.0.tar.gz RMD160 ;-) ...                                 [ ok ]
 * dreamchess-0.1.0.tar.gz SHA1 ;-) ...                                   [ ok ]
 * dreamchess-0.1.0.tar.gz SHA256 ;-) ...                                 [ ok ]
 * dreamchess-0.1.0.tar.gz size ;-) ...                                   [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking dreamchess-0.1.0.tar.gz ;-) ...                               [ ok ]
>>> Checking dreamchess-0.1.0.tar.gz's mtime...
>>> /usr/local/portage/games-board/dreamchess/dreamchess-0.1.0.ebuild has been updated; recreating WORKDIR...
>>> Unpacking source...
>>> Unpacking dreamchess-0.1.0.tar.gz to /var/tmp/portage/games-board/dreamchess-0.1.0/work
tar: dreamchess-0.1.0/ChangeLog: time stamp 2038-01-19 04:14:07 is 960111682.278003689 s in the future
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0 ...
 * econf: updating dreamchess-0.1.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating dreamchess-0.1.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for inline... inline
checking for ISO C99 varargs macros... yes
checking for GNU C varargs macros... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for SDL_image.h... no
checking for SDL_opengl.h... yes
checking for sqrt in -lm... yes
checking for compress in -lz... yes
checking for png_create_read_struct in -lpng... yes
checking whether libpng needs -lm... no
checking whether libpng needs -lz... no
checking for jpeg_CreateCompress in -ljpeg... yes
checking for IMG_LoadPNG_RW in -lSDL_image... no
checking for glBegin in -lGL... yes
checking for gluUnProject in -lGLU... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking for strdup... yes
checking for vsnprintf... yes
checking for usleep... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating desktop/Makefile
config.status: creating doc/Makefile
config.status: creating man/Makefile
config.status: creating m4/Makefile
config.status: creating pkg/Makefile
config.status: creating pkg/win32/Makefile
config.status: creating src/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/gamegui/Makefile
config.status: creating src/libs/mxml/Makefile
config.status: creating src/libs/minizip/Makefile
config.status: creating src/include/Makefile
config.status: creating src/include/gamegui/Makefile
config.status: creating src/include/minizip/Makefile
config.status: creating src/ui_sdlgl/Makefile
config.status: creating src/dreamer/Makefile
config.status: creating config.h
config.status: executing depfiles commands

User interface driver requirements:

sdlgl
-----

  Requirement  | Found
------------------------
"SDL_image.h"  |  no
"SDL_opengl.h" |  yes
libSDL         |  yes (-lSDL -lpthread)
libSDL_image   |  no
libGL          |  yes (-lGL -lGLU)

Supported:        no
Build:            no

You can now run `make'.

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0'
Making all in desktop
make[2]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/desktop'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/desktop'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/doc'
Making all in src
make[2]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src'
make  all-recursive
make[3]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src'
Making all in libs
make[4]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs'
Making all in gamegui
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs/gamegui'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT action.o -MD -MP -MF ".deps/action.Tpo" -c -o action.o action.c; \
        then mv -f ".deps/action.Tpo" ".deps/action.Po"; else rm -f ".deps/action.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT align.o -MD -MP -MF ".deps/align.Tpo" -c -o align.o align.c; \
        then mv -f ".deps/align.Tpo" ".deps/align.Po"; else rm -f ".deps/align.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT bin.o -MD -MP -MF ".deps/bin.Tpo" -c -o bin.o bin.c; \
        then mv -f ".deps/bin.Tpo" ".deps/bin.Po"; else rm -f ".deps/bin.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT box.o -MD -MP -MF ".deps/box.Tpo" -c -o box.o box.c; \
        then mv -f ".deps/box.Tpo" ".deps/box.Po"; else rm -f ".deps/box.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT clipping.o -MD -MP -MF ".deps/clipping.Tpo" -c -o clipping.o clipping.c; \
        then mv -f ".deps/clipping.Tpo" ".deps/clipping.Po"; else rm -f ".deps/clipping.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT container.o -MD -MP -MF ".deps/container.Tpo" -c -o container.o container.c; \
        then mv -f ".deps/container.Tpo" ".deps/container.Po"; else rm -f ".deps/container.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT dialog.o -MD -MP -MF ".deps/dialog.Tpo" -c -o dialog.o dialog.c; \
        then mv -f ".deps/dialog.Tpo" ".deps/dialog.Po"; else rm -f ".deps/dialog.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT entry.o -MD -MP -MF ".deps/entry.Tpo" -c -o entry.o entry.c; \
        then mv -f ".deps/entry.Tpo" ".deps/entry.Po"; else rm -f ".deps/entry.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT frame.o -MD -MP -MF ".deps/frame.Tpo" -c -o frame.o frame.c; \
        then mv -f ".deps/frame.Tpo" ".deps/frame.Po"; else rm -f ".deps/frame.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT hbox.o -MD -MP -MF ".deps/hbox.Tpo" -c -o hbox.o hbox.c; \
        then mv -f ".deps/hbox.Tpo" ".deps/hbox.Po"; else rm -f ".deps/hbox.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT image.o -MD -MP -MF ".deps/image.Tpo" -c -o image.o image.c; \
        then mv -f ".deps/image.Tpo" ".deps/image.Po"; else rm -f ".deps/image.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT label.o -MD -MP -MF ".deps/label.Tpo" -c -o label.o label.c; \
        then mv -f ".deps/label.Tpo" ".deps/label.Po"; else rm -f ".deps/label.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT option.o -MD -MP -MF ".deps/option.Tpo" -c -o option.o option.c; \
        then mv -f ".deps/option.Tpo" ".deps/option.Po"; else rm -f ".deps/option.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT select.o -MD -MP -MF ".deps/select.Tpo" -c -o select.o select.c; \
        then mv -f ".deps/select.Tpo" ".deps/select.Po"; else rm -f ".deps/select.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT seperatorh.o -MD -MP -MF ".deps/seperatorh.Tpo" -c -o seperatorh.o seperatorh.c; \
        then mv -f ".deps/seperatorh.Tpo" ".deps/seperatorh.Po"; else rm -f ".deps/seperatorh.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT seperatorv.o -MD -MP -MF ".deps/seperatorv.Tpo" -c -o seperatorv.o seperatorv.c; \
        then mv -f ".deps/seperatorv.Tpo" ".deps/seperatorv.Po"; else rm -f ".deps/seperatorv.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT system.o -MD -MP -MF ".deps/system.Tpo" -c -o system.o system.c; \
        then mv -f ".deps/system.Tpo" ".deps/system.Po"; else rm -f ".deps/system.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT vbox.o -MD -MP -MF ".deps/vbox.Tpo" -c -o vbox.o vbox.c; \
        then mv -f ".deps/vbox.Tpo" ".deps/vbox.Po"; else rm -f ".deps/vbox.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT viewport.o -MD -MP -MF ".deps/viewport.Tpo" -c -o viewport.o viewport.c; \
        then mv -f ".deps/viewport.Tpo" ".deps/viewport.Po"; else rm -f ".deps/viewport.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT widget.o -MD -MP -MF ".deps/widget.Tpo" -c -o widget.o widget.c; \
        then mv -f ".deps/widget.Tpo" ".deps/widget.Po"; else rm -f ".deps/widget.Tpo"; exit 1; fi
rm -f libgamegui.a
ar cru libgamegui.a action.o align.o bin.o box.o clipping.o container.o dialog.o entry.o frame.o hbox.o image.o label.o option.o select.o seperatorh.o seperatorv.o system.o vbox.o viewport.o widget.o
x86_64-pc-linux-gnu-ranlib libgamegui.a
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs/gamegui'
Making all in mxml
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs/mxml'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-attr.o -MD -MP -MF ".deps/mxml-attr.Tpo" -c -o mxml-attr.o mxml-attr.c; \
        then mv -f ".deps/mxml-attr.Tpo" ".deps/mxml-attr.Po"; else rm -f ".deps/mxml-attr.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-file.o -MD -MP -MF ".deps/mxml-file.Tpo" -c -o mxml-file.o mxml-file.c; \
        then mv -f ".deps/mxml-file.Tpo" ".deps/mxml-file.Po"; else rm -f ".deps/mxml-file.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-node.o -MD -MP -MF ".deps/mxml-node.Tpo" -c -o mxml-node.o mxml-node.c; \
        then mv -f ".deps/mxml-node.Tpo" ".deps/mxml-node.Po"; else rm -f ".deps/mxml-node.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-search.o -MD -MP -MF ".deps/mxml-search.Tpo" -c -o mxml-search.o mxml-search.c; \
        then mv -f ".deps/mxml-search.Tpo" ".deps/mxml-search.Po"; else rm -f ".deps/mxml-search.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-string.o -MD -MP -MF ".deps/mxml-string.Tpo" -c -o mxml-string.o mxml-string.c; \
        then mv -f ".deps/mxml-string.Tpo" ".deps/mxml-string.Po"; else rm -f ".deps/mxml-string.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-entity.o -MD -MP -MF ".deps/mxml-entity.Tpo" -c -o mxml-entity.o mxml-entity.c; \
        then mv -f ".deps/mxml-entity.Tpo" ".deps/mxml-entity.Po"; else rm -f ".deps/mxml-entity.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-index.o -MD -MP -MF ".deps/mxml-index.Tpo" -c -o mxml-index.o mxml-index.c; \
        then mv -f ".deps/mxml-index.Tpo" ".deps/mxml-index.Po"; else rm -f ".deps/mxml-index.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-private.o -MD -MP -MF ".deps/mxml-private.Tpo" -c -o mxml-private.o mxml-private.c; \
        then mv -f ".deps/mxml-private.Tpo" ".deps/mxml-private.Po"; else rm -f ".deps/mxml-private.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -march=nocona -O2 -pipe -MT mxml-set.o -MD -MP -MF ".deps/mxml-set.Tpo" -c -o mxml-set.o mxml-set.c; \
        then mv -f ".deps/mxml-set.Tpo" ".deps/mxml-set.Po"; else rm -f ".deps/mxml-set.Tpo"; exit 1; fi
rm -f libmxml.a
ar cru libmxml.a mxml-attr.o mxml-file.o mxml-node.o mxml-search.o mxml-string.o mxml-entity.o mxml-index.o mxml-private.o mxml-set.o
x86_64-pc-linux-gnu-ranlib libmxml.a
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs/mxml'
Making all in minizip
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs/minizip'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs/minizip'
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include    -march=nocona -O2 -pipe -MT pipe_unix.o -MD -MP -MF ".deps/pipe_unix.Tpo" -c -o pipe_unix.o pipe_unix.c; \
        then mv -f ".deps/pipe_unix.Tpo" ".deps/pipe_unix.Po"; else rm -f ".deps/pipe_unix.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include    -march=nocona -O2 -pipe -MT msgbuf.o -MD -MP -MF ".deps/msgbuf.Tpo" -c -o msgbuf.o msgbuf.c; \
        then mv -f ".deps/msgbuf.Tpo" ".deps/msgbuf.Po"; else rm -f ".deps/msgbuf.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include    -march=nocona -O2 -pipe -MT san_parse.o -MD -MP -MF ".deps/san_parse.Tpo" -c -o san_parse.o san_parse.c; \
        then mv -f ".deps/san_parse.Tpo" ".deps/san_parse.Po"; else rm -f ".deps/san_parse.Tpo"; exit 1; fi
rm -f libpipe_unix.a
ar cru libpipe_unix.a pipe_unix.o msgbuf.o
x86_64-pc-linux-gnu-ranlib libpipe_unix.a
rm -f libsan.a
ar cru libsan.a san_parse.o
x86_64-pc-linux-gnu-ranlib libsan.a
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs'
make[4]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/libs'
Making all in dreamer
make[4]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/dreamer'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT dreamer.o -MD -MP -MF ".deps/dreamer.Tpo" -c -o dreamer.o dreamer.c; \
        then mv -f ".deps/dreamer.Tpo" ".deps/dreamer.Po"; else rm -f ".deps/dreamer.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT e_comm_unix.o -MD -MP -MF ".deps/e_comm_unix.Tpo" -c -o e_comm_unix.o e_comm_unix.c; \
        then mv -f ".deps/e_comm_unix.Tpo" ".deps/e_comm_unix.Po"; else rm -f ".deps/e_comm_unix.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT commands.o -MD -MP -MF ".deps/commands.Tpo" -c -o commands.o commands.c; \
        then mv -f ".deps/commands.Tpo" ".deps/commands.Po"; else rm -f ".deps/commands.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT board.o -MD -MP -MF ".deps/board.Tpo" -c -o board.o board.c; \
        then mv -f ".deps/board.Tpo" ".deps/board.Po"; else rm -f ".deps/board.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT hashing.o -MD -MP -MF ".deps/hashing.Tpo" -c -o hashing.o hashing.c; \
        then mv -f ".deps/hashing.Tpo" ".deps/hashing.Po"; else rm -f ".deps/hashing.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT move.o -MD -MP -MF ".deps/move.Tpo" -c -o move.o move.c; \
        then mv -f ".deps/move.Tpo" ".deps/move.Po"; else rm -f ".deps/move.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT search.o -MD -MP -MF ".deps/search.Tpo" -c -o search.o search.c; \
        then mv -f ".deps/search.Tpo" ".deps/search.Po"; else rm -f ".deps/search.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT repetition.o -MD -MP -MF ".deps/repetition.Tpo" -c -o repetition.o repetition.c; \
        then mv -f ".deps/repetition.Tpo" ".deps/repetition.Po"; else rm -f ".deps/repetition.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT transposition.o -MD -MP -MF ".deps/transposition.Tpo" -c -o transposition.o transposition.c; \
        then mv -f ".deps/transposition.Tpo" ".deps/transposition.Po"; else rm -f ".deps/transposition.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT eval.o -MD -MP -MF ".deps/eval.Tpo" -c -o eval.o eval.c; \
        then mv -f ".deps/eval.Tpo" ".deps/eval.Po"; else rm -f ".deps/eval.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT history.o -MD -MP -MF ".deps/history.Tpo" -c -o history.o history.c; \
        then mv -f ".deps/history.Tpo" ".deps/history.Po"; else rm -f ".deps/history.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT e_comm_sdlthd.o -MD -MP -MF ".deps/e_comm_sdlthd.Tpo" -c -o e_comm_sdlthd.o e_comm_sdlthd.c; \
        then mv -f ".deps/e_comm_sdlthd.Tpo" ".deps/e_comm_sdlthd.Po"; else rm -f ".deps/e_comm_sdlthd.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT e_comm_win32.o -MD -MP -MF ".deps/e_comm_win32.Tpo" -c -o e_comm_win32.o e_comm_win32.c; \
        then mv -f ".deps/e_comm_win32.Tpo" ".deps/e_comm_win32.Po"; else rm -f ".deps/e_comm_win32.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT e_comm.o -MD -MP -MF ".deps/e_comm.Tpo" -c -o e_comm.o e_comm.c; \
        then mv -f ".deps/e_comm.Tpo" ".deps/e_comm.Po"; else rm -f ".deps/e_comm.Tpo"; exit 1; fi
x86_64-pc-linux-gnu-gcc -c gen_chess_moves.c
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
        then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
x86_64-pc-linux-gnu-gcc -o genchessmoves gen_chess_moves.o
./genchessmoves
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   -march=nocona -O2 -pipe  -march=nocona -O2 -pipe -MT move_data.o -MD -MP -MF ".deps/move_data.Tpo" -c -o move_data.o move_data.c; \
        then mv -f ".deps/move_data.Tpo" ".deps/move_data.Po"; else rm -f ".deps/move_data.Tpo"; exit 1; fi
rm -f libdreamer.a
ar cru libdreamer.a dreamer.o e_comm_unix.o commands.o board.o hashing.o move.o search.o repetition.o transposition.o eval.o history.o e_comm_sdlthd.o e_comm_win32.o e_comm.o move_data.o
x86_64-pc-linux-gnu-ranlib libdreamer.a
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe  -march=nocona -O2 -pipe   -o dreamer  main.o libdreamer.a ../libs/libpipe_unix.a
make[4]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/dreamer'
Making all in include
make[4]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include'
Making all in gamegui
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include/gamegui'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include/gamegui'
Making all in minizip
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include/minizip'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include/minizip'
make[5]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include'
if [ -d .svn ]; then \
                ( \
                echo -n '#define SVN_VERSION "'; \
                svnversion -n ../..; \
                echo '"'; \
                ) > svn_version.h; \
        fi
make[5]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include'
make[4]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/include'
Making all in ui_sdlgl
make[4]: Entering directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/ui_sdlgl'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -I../../src   -march=nocona -O2 -pipe -DDATADIR=\"/usr/share/dreamchess\"  -march=nocona -O2 -pipe -MT ui_sdlgl.o -MD -MP -MF ".deps/ui_sdlgl.Tpo" -c -o ui_sdlgl.o ui_sdlgl.c; \
        then mv -f ".deps/ui_sdlgl.Tpo" ".deps/ui_sdlgl.Po"; else rm -f ".deps/ui_sdlgl.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -I../../src   -march=nocona -O2 -pipe -DDATADIR=\"/usr/share/dreamchess\"  -march=nocona -O2 -pipe -MT ui_sdlgl_3d.o -MD -MP -MF ".deps/ui_sdlgl_3d.Tpo" -c -o ui_sdlgl_3d.o ui_sdlgl_3d.c; \
        then mv -f ".deps/ui_sdlgl_3d.Tpo" ".deps/ui_sdlgl_3d.Po"; else rm -f ".deps/ui_sdlgl_3d.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -I../../src   -march=nocona -O2 -pipe -DDATADIR=\"/usr/share/dreamchess\"  -march=nocona -O2 -pipe -MT texture.o -MD -MP -MF ".deps/texture.Tpo" -c -o texture.o texture.c; \
        then mv -f ".deps/texture.Tpo" ".deps/texture.Po"; else rm -f ".deps/texture.Tpo"; exit 1; fi
In file included from ui_sdlgl.c:2:
ui_sdlgl.h:17:17: error: SDL.h: No such file or directory
ui_sdlgl.h:18:23: error: SDL_image.h: No such file or directory
ui_sdlgl.h:19:24: error: SDL_thread.h: No such file or directory
ui_sdlgl.h:20:24: error: SDL_opengl.h: No such file or directory
ui_sdlgl.h:21:26: error: SDL_joystick.h: No such file or directory
In file included from ui_sdlgl.c:2:
ui_sdlgl.h:113: error: expected specifier-qualifier-list before 'GLuint'
ui_sdlgl.h:176: error: expected ')' before '*' token
ui_sdlgl.h:280: error: expected ')' before '*' token
ui_sdlgl.h:282: error: expected declaration specifiers or '...' before 'GLenum'
ui_sdlgl.h:282: error: expected declaration specifiers or '...' before 'GLenum'
ui_sdlgl.c:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
ui_sdlgl.c: In function 'poll_event':
ui_sdlgl.c:199: error: 'SDL_Event' undeclared (first use in this function)
ui_sdlgl.c:199: error: (Each undeclared identifier is reported only once
ui_sdlgl.c:199: error: for each function it appears in.)
ui_sdlgl.c:199: error: expected ';' before 'sdl_event'
ui_sdlgl.c:201: error: 'sdl_event' undeclared (first use in this function)
ui_sdlgl.c:204: error: 'SDL_QUIT' undeclared (first use in this function)
ui_sdlgl.c:208: error: 'SDL_KEYDOWN' undeclared (first use in this function)
ui_sdlgl.c:208: error: 'KMOD_ALT' undeclared (first use in this function)
ui_sdlgl.c:209: error: 'SDLK_RETURN' undeclared (first use in this function)
ui_sdlgl.c:216: error: incompatible types in assignment
ui_sdlgl.c: In function 'do_menu':
ui_sdlgl.c:242: error: 'SDL_Joystick' undeclared (first use in this function)
ui_sdlgl.c:242: error: 'joy1' undeclared (first use in this function)
ui_sdlgl.c:246: error: 'GL_BLEND' undeclared (first use in this function)
ui_sdlgl.c:247: error: 'GL_SRC_ALPHA' undeclared (first use in this function)
ui_sdlgl.c:247: error: 'GL_ONE_MINUS_SRC_ALPHA' undeclared (first use in this function)
ui_sdlgl.c:264: error: 'Uint8' undeclared (first use in this function)
ui_sdlgl.c:264: error: 'keystate' undeclared (first use in this function)
ui_sdlgl.c:272: error: 'GL_COLOR_BUFFER_BIT' undeclared (first use in this function)
ui_sdlgl.c:272: error: 'GL_DEPTH_BUFFER_BIT' undeclared (first use in this function)
ui_sdlgl.c:310: error: 'SDLK_UP' undeclared (first use in this function)
ui_sdlgl.c: In function 'init_gui':
ui_sdlgl.c:409: error: 'SDL_Surface' undeclared (first use in this function)
ui_sdlgl.c:409: error: 'icon' undeclared (first use in this function)
ui_sdlgl.c:409: error: 'surface' undeclared (first use in this function)
ui_sdlgl.c:410: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
ui_sdlgl.c:410: error: 'video_info' undeclared (first use in this function)
ui_sdlgl.c:421: error: 'SDL_INIT_VIDEO' undeclared (first use in this function)
ui_sdlgl.c:421: error: 'SDL_INIT_JOYSTICK' undeclared (first use in this function)
ui_sdlgl.c:421: error: 'SDL_INIT_NOPARACHUTE' undeclared (first use in this function)
ui_sdlgl.c:428: error: 'SDL_DEFAULT_REPEAT_DELAY' undeclared (first use in this function)
ui_sdlgl.c:428: error: 'SDL_DEFAULT_REPEAT_INTERVAL' undeclared (first use in this function)
ui_sdlgl.c:456: error: 'SDL_OPENGL' undeclared (first use in this function)
ui_sdlgl.c:457: error: 'SDL_GL_DOUBLEBUFFER' undeclared (first use in this function)
ui_sdlgl.c:458: error: 'SDL_HWPALETTE' undeclared (first use in this function)
ui_sdlgl.c:463: error: 'SDL_FULLSCREEN' undeclared (first use in this function)
ui_sdlgl.c:468: error: 'SDL_HWSURFACE' undeclared (first use in this function)
ui_sdlgl.c:470: error: 'SDL_SWSURFACE' undeclared (first use in this function)
ui_sdlgl.c:473: error: 'SDL_HWACCEL' undeclared (first use in this function)
ui_sdlgl.c:485: error: 'SDL_DISABLE' undeclared (first use in this function)
ui_sdlgl.c:489: error: 'joy' undeclared (first use in this function)
ui_sdlgl.c: In function 'sdlgl_exit':
ui_sdlgl.c:656: error: 'texture_t' has no member named 'id'
ui_sdlgl.c:658: error: 'joy' undeclared (first use in this function)
make[4]: *** [ui_sdlgl.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from texture.c:2:
ui_sdlgl.h:17:17: error: SDL.h: No such file or directory
ui_sdlgl.h:18:23: error: SDL_image.h: No such file or directory
ui_sdlgl.h:19:24: error: SDL_thread.h: No such file or directory
ui_sdlgl.h:20:24: error: SDL_opengl.h: No such file or directory
ui_sdlgl.h:21:26: error: SDL_joystick.h: No such file or directory
In file included from texture.c:2:
ui_sdlgl.h:113: error: expected specifier-qualifier-list before 'GLuint'
ui_sdlgl.h:176: error: expected ')' before '*' token
ui_sdlgl.h:280: error: expected ')' before '*' token
ui_sdlgl.h:282: error: expected declaration specifiers or '...' before 'GLenum'
ui_sdlgl.h:282: error: expected declaration specifiers or '...' before 'GLenum'
texture.c:7: error: expected ')' before '*' token
texture.c: In function 'draw_texture':
texture.c:137: error: 'GL_TEXTURE_2D' undeclared (first use in this function)
texture.c:137: error: (Each undeclared identifier is reported only once
texture.c:137: error: for each function it appears in.)
texture.c:140: error: 'texture_t' has no member named 'id'
texture.c:142: error: 'GL_QUADS' undeclared (first use in this function)
texture.c:143: error: 'texture_t' has no member named 'u1'
texture.c:143: error: 'texture_t' has no member named 'v1'
texture.c:145: error: 'texture_t' has no member named 'u2'
texture.c:145: error: 'texture_t' has no member named 'v1'
texture.c:147: error: 'texture_t' has no member named 'u2'
texture.c:147: error: 'texture_t' has no member named 'v2'
texture.c:149: error: 'texture_t' has no member named 'u1'
texture.c:149: error: 'texture_t' has no member named 'v2'
texture.c: At top level:
texture.c:191: error: expected declaration specifiers or '...' before 'GLenum'
texture.c:191: error: expected declaration specifiers or '...' before 'GLenum'
texture.c: In function 'draw_texture_uv':
texture.c:193: error: 'GL_TEXTURE_2D' undeclared (first use in this function)
texture.c:196: error: 'texture_t' has no member named 'id'
texture.c:198: error: 'GL_TEXTURE_WRAP_S' undeclared (first use in this function)
texture.c:198: error: 'mode_h' undeclared (first use in this function)
texture.c:199: error: 'GL_TEXTURE_WRAP_T' undeclared (first use in this function)
texture.c:199: error: 'mode_v' undeclared (first use in this function)
texture.c:201: error: 'GL_QUADS' undeclared (first use in this function)
texture.c: In function 'load_texture_png':
texture.c:227: error: 'SDL_Surface' undeclared (first use in this function)
texture.c:227: error: 'texture_image' undeclared (first use in this function)
texture.c:234: error: 'SDL_Rect' undeclared (first use in this function)
texture.c:234: error: expected ';' before 'area'
texture.c:235: error: 'area' undeclared (first use in this function)
texture.c:239: error: incompatible types in assignment
make[4]: *** [texture.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src/ui_sdlgl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-board/dreamchess-0.1.0/work/dreamchess-0.1.0'
make: *** [all] Error 2

!!! ERROR: games-board/dreamchess-0.1.0 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  dreamchess-0.1.0.ebuild, line 23:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/games-board:dreamchess-0.1.0:20070817-165427.log'.

!!! This ebuild is from an overlay: '/usr/local/portage'
Top
keenblade
Veteran
Veteran
User avatar
Posts: 1087
Joined: Sun Oct 03, 2004 6:19 pm
Contact:
Contact keenblade
Website

  • Quote

Post by keenblade » Fri Aug 17, 2007 5:39 pm

sdl related files missing. you may need to

Code: Select all

emerge -va1 libsdl sdl-image
If it does not work try this:

Code: Select all

revdep-rebuild -va
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Fri Aug 17, 2007 5:51 pm

The game probably doesn't work on amd64 yet, from the looks of things.
Top
keenblade
Veteran
Veteran
User avatar
Posts: 1087
Joined: Sun Oct 03, 2004 6:19 pm
Contact:
Contact keenblade
Website

  • Quote

Post by keenblade » Fri Aug 17, 2007 6:00 pm

PaulBredbury wrote:The game probably doesn't work on amd64 yet, from the looks of things.
It works just fine on my ~amd64 arch (desktop and laptop).
Last edited by keenblade on Fri Aug 17, 2007 6:06 pm, edited 1 time in total.
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Top
ptero
Apprentice
Apprentice
Posts: 164
Joined: Fri Mar 02, 2007 10:00 pm

  • Quote

Post by ptero » Fri Aug 17, 2007 6:05 pm

thanks a lot!
now it finally works!!! ;)

btw, sdl-image needs all use flags to be activated, by default "png" is not set.
Top
keenblade
Veteran
Veteran
User avatar
Posts: 1087
Joined: Sun Oct 03, 2004 6:19 pm
Contact:
Contact keenblade
Website

  • Quote

Post by keenblade » Fri Aug 17, 2007 6:07 pm

ptero wrote:thanks a lot!
now it finally works!!! ;)

btw, sdl-image needs all use flags to be activated, by default "png" is not set.
Glad to hear that. I'll update the ebuild to warn for the png useflag.

Edit: Since png useflag is default for desktop profile, and "built_with_use" is not recognized (gives command not found error), I gave up updating the ebuild concerning the png useflag.
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Top
Post Reply

28 posts
  • 1
  • 2
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic