View Issue Details

IDProjectCategoryView StatusLast Update
0000989FSSCPsoundpublic2006-07-15 22:24
Reporterdhk Assigned To 
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionopen 
Platformx86 and amd64OSlinuxOS Versiongentoo
Product Version3.6.9 
Summary0000989: FSSCP-cvs does not compile any more on linux x86 gcc-3.4.6 and amd64 gcc-4.1.1
DescriptionSince Sunday 07.09.2006 I have an error when compiling on my computers. When I go back to 07.08.2006 I can compile on both machines. For error output take a look at the additional
information. As far as I can see it is the same error on both machines.
I hope I am right with the sound category.
Steps To Reproducecd fs2_open
./configure
make
Additional Informationerror output on gentoo linux x86 gcc-3.4.6:

if g++ -DPACKAGE_NAME=\"fs2_open\" -DPACKAGE_TARNAME=\"fs2_open\" -DPACKAGE_VERSION=\"3.6.9\" -DPACKAGE_STRING=\"fs2_open\ 3.6.9\" -DPACKAGE_BUGREPORT=\"\" -DNO_CD_CHECK=1 -DNDEBUG=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DSCP_UNIX=1 -DNO_DIRECT3D=1 -DUSE_OPENAL=1 -I. -I. -g -Os -Wall -funroll-loops -I/usr/include/SDL -D_REENTRANT -fsigned-char -Wno-unknown-pragmas -Wno-deprecated
-Wno-char-subscripts -I../lua -MT ds.o -MD -MP -MF ".deps/ds.Tpo" -c -o ds.o `test -f 'sound/ds.cpp' || echo './'`sound/ds.cpp; \
then mv -f ".deps/ds.Tpo" ".deps/ds.Po"; else rm -f ".deps/ds.Tpo"; exit 1; fi
sound/ds.cpp: In function `int ds_init(int, int, unsigned int, short unsigned int)':
sound/ds.cpp:1784: Fehler: Ungültige Umformung von »const char*« in »const ALubyte*«
sound/ds.cpp:1784: Fehler: Argument 1 von »ALboolean alIsExtensionPresent(const ALubyte*)« wird initialisiert
make[1]: *** [ds.o] Fehler 1
make[1]: Leaving directory `/home/david/fs2_open/code'
make: *** [all-recursive] Fehler 1

error output on amd64 gcc-4.1.1:

if g++ -DPACKAGE_NAME=\"fs2_open\" -DPACKAGE_TARNAME=\"fs2_open\" -DPACKAGE_VERSION=\"3.6.9\" -DPACKAGE_STRING=\"fs2_open\ 3.6.9\" -DPACKAGE_BUGREPORT=\"\" -DNO_CD_CHECK=1 -D_DEBUG=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DSCP_UNIX=1 -DNO_DIRECT3D=1 -DUSE_OPENAL=1 -I. -I. -m64 -march=athlon64 -O0 -g -Wall -funroll-loops -I/usr/include/SDL -D_REENTRANT -fsigned-char -Wno-unknown-pragmas
-Wno-deprecated -Wno-char-subscripts -I../lua -MT ds.o -MD -MP -MF ".deps/ds.Tpo" -c -o ds.o `test -f 'sound/ds.cpp' || echo './'`sound/ds.cpp; \
then mv -f ".deps/ds.Tpo" ".deps/ds.Po"; else rm -f ".deps/ds.Tpo"; exit 1; fi
sound/ds.cpp: In function 'int ds_init(int, int, unsigned int, short unsigned int)':
sound/ds.cpp:1784: error: invalid conversion from 'const char*' to 'const ALubyte*'
sound/ds.cpp:1784: error: initializing argument 1 of 'ALboolean alIsExtensionPresent(const ALubyte*)'
make[1]: *** [ds.o] Error 1
make[1]: Leaving directory `/home/david/fs2_open/code'
make: *** [all-recursive] Error 1
TagsNo tags attached.

Activities

taylor

2006-07-15 17:19

administrator   ~0006175

You need to update your version of OpenAL (to 0.0.8, by the Linux versioning, OpenAL 1.1 officially).

taylor

2006-07-15 21:52

administrator   ~0006180

Duplicate of (closed) 0000986.

This is more of a "won't fix" than a "can't fix".

dhk

2006-07-15 22:24

reporter   ~0006188

Thanks, that solved it for me. I had to install the latest openal package from gentoo (media-libs/openal-20051024) which is still hard masked.

Issue History

Date Modified Username Field Change
2006-07-15 15:39 dhk New Issue
2006-07-15 17:19 taylor Note Added: 0006175
2006-07-15 21:52 taylor Status new => closed
2006-07-15 21:52 taylor Note Added: 0006180
2006-07-15 22:24 dhk Note Added: 0006188