View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000989 | FSSCP | sound | public | 2006-07-15 15:39 | 2006-07-15 22:24 |
| Reporter | dhk | Assigned To | |||
| Priority | normal | Severity | block | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Platform | x86 and amd64 | OS | linux | OS Version | gentoo |
| Product Version | 3.6.9 | ||||
| Summary | 0000989: FSSCP-cvs does not compile any more on linux x86 gcc-3.4.6 and amd64 gcc-4.1.1 | ||||
| Description | Since 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 Reproduce | cd fs2_open ./configure make | ||||
| Additional Information | error 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 | ||||
| Tags | No tags attached. | ||||
|
|
You need to update your version of OpenAL (to 0.0.8, by the Linux versioning, OpenAL 1.1 officially). |
|
|
Duplicate of (closed) 0000986. This is more of a "won't fix" than a "can't fix". |
|
|
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. |