[sisyphus] Поиграться захотелось

Andrey Brindeew =?iso-8859-1?q?linux_=CE=C1_abr=2Ex9=2Eru?=
Пт Июл 27 23:33:25 MSD 2001


Hi!

Сабж. Как-никак сижу на Иияме с крутым матрасом. Вспомнилось детство,
Heretic. Сходил на heretic.linuxgames.com, взял Heretic-GL. Что из SRPM,
что из просто сырцов - спотыкается на компиляции файла
opengl/gl_floorceil.c :

gcc -pipe -Wall -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DHAVE_VALUES_H
-DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE
-D__NEWVGALIB__  -O2 -fomit-frame-pointer -mcpu=i586 -march=i586
-D__32BIT__ -DHAVE_ALLOCA_H -DINLINE_FIXED -I. -I.. -I/usr/X11R6/include
-D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV  -Iopengl
-DGL_HERETIC -I/usr/X11R6/include -DNICE_GL -c opengl/gl_floorceil.c -o
opengl/gl_floorceil.o
opengl/gl_floorceil.c: In function `fn_vCreatePolygonsForSector':
opengl/gl_floorceil.c:295: `GLUtesselator' undeclared (first use in this
function)
opengl/gl_floorceil.c:295: (Each undeclared identifier is reported only
once
opengl/gl_floorceil.c:295: for each function it appears in.)
opengl/gl_floorceil.c:295: `tobj' undeclared (first use in this function)
opengl/gl_floorceil.c:295: warning: statement with no effect
opengl/gl_floorceil.c:296: parse error before `int'
opengl/gl_floorceil.c:324: warning: implicit declaration of function
`gluTessBeginPolygon'
opengl/gl_floorceil.c:326: `iNumLines' undeclared (first use in this
function)
opengl/gl_floorceil.c:327: `iDblLines' undeclared (first use in this
function)
opengl/gl_floorceil.c:328: `iLine' undeclared (first use in this function)
opengl/gl_floorceil.c:473: warning: implicit declaration of function
`gluTessEndPolygon'
opengl/gl_floorceil.c:481: `iRemainingLines' undeclared (first use in this
function)
opengl/gl_floorceil.c:482: `bAbortSector' undeclared (first use in this
function)
opengl/gl_floorceil.c:488: warning: implicit declaration of function
`gluTessBeginContour'
opengl/gl_floorceil.c:498: `vStartVertex' undeclared (first use in this
function)
opengl/gl_floorceil.c:499: `vCurrentVertex' undeclared (first use in this
function)
opengl/gl_floorceil.c:500: `a_fVertex' undeclared (first use in this
function)
opengl/gl_floorceil.c:525: `vLastVertex' undeclared (first use in this
function)
opengl/gl_floorceil.c:596: `iLineCandidate' undeclared (first use in this
function)
opengl/gl_floorceil.c:670: warning: implicit declaration of function
`gluTessEndContour'
make: *** [opengl/gl_floorceil.o] Error 1
Неверный код возврата из /var/tmp/rpm-tmp.30587 (%build)

SRPM не трогал, spec написан вроде нормально.
Условия задачи:
# update-alternatives --display gcc
gcc - status is manual.
 link currently points to /usr/bin/gcc-2.95.3
/usr/bin/gcc-2.96 - priority 20
/usr/bin/gcc-2.95.3 - priority 10
Current `best' version is /usr/bin/gcc-2.96.

$ rpm -qa | fgrep Mesa
Mesa-3.4.1-ipl2mdk
Mesa-common-3.4.1-ipl2mdk
Mesa-common-devel-3.4.1-ipl2mdk
Mesa-demos-3.4.1-ipl2mdk

$ rpm -qa | fgrep SDL
libSDL-devel-static-1.2.0-alt1
libSDL_image-devel-static-1.1.0-ipl5mdk
libSDL_ttf-test-1.2.2-ipl3mdk
libSDL_mixer-devel-static-1.1.0-ipl5mdk
libSDL_net-devel-static-1.1.1-ipl4mdk
libSDL-1.2.0-alt1
libSDL_image-test-1.1.0-ipl5mdk
libSDL_ttf-devel-static-1.2.2-ipl3mdk
libSDL_image-1.1.0-ipl5mdk
libSDL_image-devel-1.1.0-ipl5mdk
libSDL_net-1.1.1-ipl4mdk
libSDL_net-devel-1.1.1-ipl4mdk
libSDL_ttf-1.2.2-ipl3mdk
libSDL_ttf-devel-1.2.2-ipl3mdk
libSDL-devel-1.2.0-alt1
libSDL_mixer-1.1.0-ipl5mdk
libSDL_mixer-devel-1.1.0-ipl5mdk
libSDL_mixer-test-1.1.0-ipl5mdk

Есть идеи, как это заставить скомпилиться?
Может что-то уже слишком далеко ушло вперед - последняя запись в ChangeLog
от 05/02/2000 :-(
А бинарники не подходят - libSDL слишком новый.

Новая Mesa сейчас собирается, но судя по инклюдам в этом файле, она тут не
причем. :(

-- 
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely"
(C) Larry Wall.
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 245 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/sisyphus/attachments/20010727/c85be8dc/attachment-0012.bin>


Подробная информация о списке рассылки Sisyphus