Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66313 - games-fps/doomlegacy-1.42 fails to compile
Summary: games-fps/doomlegacy-1.42 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-04 07:54 UTC by Anthony Giorgio
Modified: 2004-10-05 21:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Giorgio 2004-10-04 07:54:05 UTC
I cannot emerge doomlegacy-1.42 due to compiler problems.

ThinkMoo angio # emerge doomlegacy
Calculating dependencies ...done!
>>> emerge (1 of 1) games-fps/doomlegacy-1.42 to /
>>> md5 src_uri ;-) legacy_142_src.tar.gz
>>> md5 src_uri ;-) legacy-1.42.dat.bz2
>>> Unpacking source...
>>> Unpacking legacy_142_src.tar.gz to /var/tmp/portage/doomlegacy-1.42/work
>>> Unpacking legacy-1.42.dat.bz2 to /var/tmp/portage/doomlegacy-1.42/work
 * Applying 1.42-errno.patch...                                                         [ ok ]
 * Applying 1.42-makefile.patch...                                                      [ ok ]
 * Applying 1.42-sdl-gentoo-paths.patch...                                              [ ok ]
rm -f linux/*
>>> Source unpacked.
sdl
X
gcc -DLINUX -DHWRENDER -DDIRECTFULLSCREEN -DHAVE_MIXER -DSDL -DVID_X11  -I. -I/usr/local/include/SDL -I/usr/X11R6/include -Wall  -fwritable-strings -O2 -march=pentium4 -fomit-frame-pointer -L/usr/X11R6/lib -L/usr/local/lib -Wall  -c sdl/i_video.c -o ../objs/i_video.o
gcc -DLINUX -DHWRENDER -DDIRECTFULLSCREEN -DHAVE_MIXER -DSDL -DVID_X11  -I. -I/usr/local/include/SDL -I/usr/X11R6/include -Wall  -fwritable-strings -O2 -march=pentium4 -fomit-frame-pointer -L/usr/X11R6/lib -L/usr/local/lib -Wall  -c sdl/dosstr.c -o ../objs/dosstr.o
gcc -DLINUX -DHWRENDER -DDIRECTFULLSCREEN -DHAVE_MIXER -DSDL -DVID_X11  -I. -I/usr/local/include/SDL -I/usr/X11R6/include -Wall  -fwritable-strings -O2 -march=pentium4 -fomit-frame-pointer -L/usr/X11R6/lib -L/usr/local/lib -Wall  -c sdl/endtxt.c -o ../objs/endtxt.o
In file included from w_wad.h:71,
                 from sdl/endtxt.c:15:
hardware/hw_data.h:62:20: GL/glx.h: No such file or directory
make: *** [../objs/endtxt.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from w_wad.h:71,
                 from d_main.h:50,
                 from sdl/i_video.c:85:
hardware/hw_data.h:62:20: GL/glx.h: No such file or directory
In file included from sdl/i_video.c:92:
hardware/hw_drv.h:124: error: syntax error before '*' token
hardware/hw_drv.h:124: error: syntax error before '*' token
hardware/hw_drv.h:124: warning: type defaults to `int' in declaration of `Window'
hardware/hw_drv.h:124: error: `Window' declared as function returning a function
hardware/hw_drv.h:177: error: syntax error before "HookXwin"
hardware/hw_drv.h:177: warning: no semicolon at end of struct or union
hardware/hw_drv.h:197: error: syntax error before '}' token
sdl/i_video.c: In function `I_StartupGraphics':
sdl/i_video.c:744: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:745: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:746: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:747: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:748: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:749: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:750: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:751: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:752: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:753: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:754: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:755: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:756: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:758: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:759: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:760: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c:763: error: invalid use of undefined type `struct hwdriver_s'
sdl/i_video.c: At top level:
sdl/i_video.c:378: warning: `doGrabMouse' defined but not used
make: *** [../objs/i_video.o] Error 1

!!! ERROR: games-fps/doomlegacy-1.42 failed.
!!! Function src_compile, Line 80, Exitcode 2
!!! build failed



Reproducible: Always
Steps to Reproduce:
1. emerge doomlegacy
2.
3.

Actual Results:  
The build failed with 

Expected Results:  
It should have compiled.

Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config/usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://adelie.polymtl.ca/ http://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://twmlinux.raleigh.ibm.com/gentoo-portage"
USE="X aalib aim alsa apm arts avi berkdb bitmap-fonts cdr crypt cscope cups
directfb divx4linux dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib
java joystick jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg
mysql ncurses nls offensive oggvorbis opengl osspam pdflib perl png python qt
quicktime readline sdl slang spell sse sse2 ssl svga tcltk tcpdtetex truetype
x86 xml2 xmms xprint xv zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-10-05 01:43:40 UTC
Rerun opengl-update.  It looks like your opengl setup isn't right.
Comment 2 SpanKY gentoo-dev 2004-10-05 21:19:58 UTC
yep, your opengl stuff is broken

re-run opengl-update and/or re-emerge