[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Allegro Developers <alleg-developers@xxxxxxxxxx>
- Subject: [AD] 4.2.0 Beta 3 woes
- From: Shawn Walker <binarycrusader@xxxxxxxxxx>
- Date: Wed, 1 Jun 2005 19:53:25 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=N2aqZxV7/N/xtmpIZSlTYlgMgDG8lOjRziqu7CWzZ4+kleivVNexP6LutaIw72p8NcaSncEEwwvOsHNcj6qL6X6spPYdonZqbUc/xoWb8rFoKh4WilAuU4wQo/RQKsSGXwR624WATnlisjEbIcLYGP2RGutGf/N2daxgZSEpzyU=
I am attempting to compile the Allegro 4.2.0 beta 3 snapshot from alleg.sf.net
Some things you should know first:
Solaris 10 x86
gcc/g++ 3.4.3
gas 2.15
Open Sound Driver from www.opensound.com
First, a configuration problem. I noticed that OSS sound support isn't
automatically detected on Solaris 10, even though I have the latest OSS
package installed from www.opensound.com, what does Allegro need for
OSS support?
Second, I've run into several compilation errors along the way. By
default, ./configure detects MMX and SSE support, but then fails during
compilation with:
./src/misc/icolconv.s: Assembler messages:
./src/misc/icolconv.s:138: Error: unbalanced parenthesis in operand 1.
./src/misc/icolconv.s:249: Error: unbalanced parenthesis in operand 1.
./src/misc/icolconv.s:275: Error: unbalanced parenthesis in operand 1.
./src/misc/icolconv.s:386: Error: unbalanced parenthesis in operand 1.
....and so on....
I saw a previous email on the list about this from last year, that
suggested the gas version was too old, but obviously my version isn't
that old.
If disable asm support with ./configure --enable-asm=no, then I get these errors:
gcc -DHAVE_CONFIG_H -I. -Iinclude -Iinclude/allegro -I./include
-I./include/allegro -I/usr/openwin/include -DALLEGRO_USE_C
-DALLEGRO_LIB_BUILD -mtune=pentium -O2 -funroll-loops -ffast-math
-fomit-frame-pointer -Wall -Wno-unused -c ./src/i386/icsprite.c
-o obj/unix/alleg/icsprite.o
./src/i386/icsprite.c: In function `get_compiled_sprite':
./src/i386/icsprite.c:296: error: structure has no member named `planar'
./src/i386/icsprite.c:302: error: structure has no member named `proc'
./src/i386/icsprite.c:303: error: structure has no member named `proc'
./src/i386/icsprite.c:307: error: structure has no member named `proc'
./src/i386/icsprite.c:307: error: structure has no member named `proc'
./src/i386/icsprite.c:309: error: structure has no member named `proc'
./src/i386/icsprite.c: In function `destroy_compiled_sprite':
./src/i386/icsprite.c:329: error: structure has no member named `proc'
./src/i386/icsprite.c:330: error: structure has no member named `proc'
make: *** [obj/unix/alleg/icsprite.o] Error 1
The above appears to be a result of the fact that
include/allegro/compiled.h around line 46 assumes that the
COMPILED_SPRITE and RLE_SPRITE structs are identical in data structure.
They are not.
Any help is appreciated, I am subscribed to this list so it is not necessary to CC me.
--
Shawn Walker, Software and Systems Analyst
http://binarycrusader.blogspot.com/