| Summary: | compile error on Solaris 2.6 - `alloca' undeclared | ||
|---|---|---|---|
| Product: | [Unmaintained] arts | Reporter: | Steve Evans <stevee> |
| Component: | xine_artsplugin | Assignee: | Multimedia Bugs <multimedia-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Solaris | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Steve Evans
2003-12-16 16:29:53 UTC
Proper recognition of alloca.h present in kdelibs configure. I am having this same problem in 3.2.0 with kdemultimedia. configure does not check if alloca.h is required and videoscaler.cpp needs to include config.h before checking HAVE_ALLOCA_H To work around this temporarily I added #define HAVE_ALLOCA_H to config.h and changed videoscaler.cpp to include config,h before #ifdef HAVE_ALLOCA_H This still happens in 3.2.2 CVS commit by carewolf: Check for alloca.h CCMAIL:70610-done@bugs.kde.org M +1 -1 configure.in.in 1.55 M +2 -0 xine_artsplugin/tools/thumbnail/videoscaler.cpp 1.4 --- kdemultimedia/configure.in.in #1.54:1.55 @@ -4,5 +4,5 @@ AC_HEADER_DIRENT AC_HEADER_STDC -AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h features.h linux/awe_voice.h awe_voice.h /usr/src/sys/i386/isa/sound/awe_voice.h /usr/src/sys/gnu/i386/isa/sound/awe_voice.h linux/ucdrom.h sys/stdtypes.h sys/filio.h sys/audioio.h Alib.h sys/sem.h string.h getopt.h machine/endian.h sys/awe_voice.h) +AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h features.h alloca.h linux/awe_voice.h awe_voice.h /usr/src/sys/i386/isa/sound/awe_voice.h /usr/src/sys/gnu/i386/isa/sound/awe_voice.h linux/ucdrom.h sys/stdtypes.h sys/filio.h sys/audioio.h Alib.h sys/sem.h string.h getopt.h machine/endian.h sys/awe_voice.h) dnl First, setup HAVE_LINUX_CDROM_H. --- kdemultimedia/xine_artsplugin/tools/thumbnail/videoscaler.cpp #1.3:1.4 @@ -18,4 +18,6 @@ #include <pthread.h> +#include <config.h> + #ifdef HAVE_ALLOCA_H #include <alloca.h> |