discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] problem configuring gr-video-sdl on Cygwin


From: Dan Halperin
Subject: Re: [Discuss-gnuradio] problem configuring gr-video-sdl on Cygwin
Date: Sun, 04 Feb 2007 12:57:41 -0800
User-agent: Thunderbird 1.5.0.9 (X11/20070105)

Achilleas Anastasopoulos wrote:
Any thoughts as to what is wrong?
<snip>
configure:32018: gcc -o conftest.exe -g -O2 -Wall  -I/usr/local/include/SDL 
-I/usr/include/mingw -mno-cygwin -Dmain=SDL_main   conftest.c -lwinmm  
-L/usr/local/lib -lmingw32 -lSDLmain -lSDL -mno-cygwin -mwindows >&5
In file included from /usr/local/include/SDL/SDL_main.h:26,
                 from /usr/local/include/SDL/SDL.h:28,
                 from conftest.c:106:
/usr/local/include/SDL/SDL_stdinc.h:165:22: alloca.h: No such file or directory
configure:32024: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "gnuradio"
| #define VERSION "3.0.2svn"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_PYTHON_H 1
| #define OMNITHREAD_POSIX 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_SYS_SHM_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_TIME_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SCHED_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| #define HAVE_MMAP 1
| #define HAVE_SELECT 1
| #define HAVE_SOCKET 1
| #define HAVE_STRCSPN 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSPN 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_SYSCONF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_SCHED_SETSCHEDULER 1
| #define HAVE_MODF 1
| #define HAVE_SQRT 1
| #define HAVE_SINCOS 1
| #define HAVE_SINCOSF 1
| #define HAVE_SINF 1
| #define HAVE_COSF 1
| #define HAVE_TRUNC 1
| #define HAVE_CREATEFILEMAPPING 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_IO_H 1
| #define HAVE_WINDOWS_H 1
| #define HAVE_WINIOCTL_H 1
| #define HAVE_WINBASE_H 1
| #define HAVE_GETOPT 1
| #define HAVE_USLEEP 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_RAND 1
| #define HAVE_SRAND 1
| #define HAVE_RANDOM 1
| #define HAVE_SRANDOM 1
| #define HAVE_SLEEP 1
| #define HAVE_SIGACTION 1
| #define HAVE_STRUCT_TIMEZONE 1
| #define HAVE_STRUCT_TIMESPEC 1
| #define HAVE_SSIZE_T 1
| #define HAVE_GETOPT 1
| #define HAVE_USLEEP 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_SSLEEP 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DECL_GETENV 1
| #define HAVE_MKSTEMP 1
| #define HAVE_BYTESWAP_H 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_SCHED_SETSCHEDULER 1
| #define HAVE_SIGACTION 1
| #define HAVE_SNPRINTF 1
| #define HAVE_USB_H 1
| #define HAVE_LIBWINMM 1
| /* end confdefs.h.  */
| | #include <stdio.h>
| #include "SDL.h"
| | int main(int argc, char *argv[])
| { return 0; }
| #undef  main
| #define main K_and_R_C_main
| | int
| main ()
| {
|  return 0;
|   ;
|   return 0;
| }
configure:32057: result: gr-video-sdl requires library sdl, not found or failed 
test.
configure:32073: result: Not building component gr-video-sdl.
</snip>

The programs config builds to check SDL functionality are not compiling;
it looks like there is some problem with Cygwin and alloca.h; looking online as of October 2006, http://lists.libsdl.org/pipermail/sdl-libsdl.org/2006-October/058471.html,

"ALLOCA Patch for SDL-1.2

...As alloca.h is not available on CYGWIN and MinGW32
it should not be checked there or it should be checked
with -mno-cygwin using...."

I would see if you can upgrade and/or downgrade your version of SDL to fix the 
problem?

-Dan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]