ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Andrey Brindeew <linux@abr.x9.ru>
To: Sisyphus Mailing List <sisyphus@altlinux.ru>
Subject: [sisyphus] Поиграться захотелось
Date: Fri, 27 Jul 2001 23:33:25 +0400
Message-ID: <20010727233325.696a10e6.linux@abr.x9.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 3764 bytes --]

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.

[-- Attachment #2: Type: application/pgp-signature, Size: 245 bytes --]

                 reply	other threads:[~2001-07-27 19:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010727233325.696a10e6.linux@abr.x9.ru \
    --to=linux@abr.x9.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git