[Etoys] Re: Camera support and ALSA diffs

Bert Freudenberg bert at freudenbergs.de
Fri Dec 1 20:14:23 EST 2006


On Dec 1, 2006, at 23:31 , Ian Piumarta wrote:

> Hi Bert,
>
>> it looks like you did not check in the generated sources for the  
>> video plugin ...
>
> Well, I did include VideoForLinuxPlugin.c which looks like it's  
> generated from image-side code in Video4Squeak.cs.  When I load the  
> latter into an image and open VMMaker there is no V4LPlugin listed,  
> so I guess the one in the tarball (presumably translated manually  
> by Diego) is the one I was expected to use.
>
> ... I don't understand what you think is missing?

Sorry, my fault it seems. I built the VM and checked the resulting  
modules, and it wasn't there. So I assumed there was something  
missing, and the generated source was not in src/ where it would  
belong, so I suspected that was the problem.

Checking again it looks like he V4L plugin was disabled by configure.  
The log says ...

configure:31464: checking for VideoForLinux support
configure:31487: gcc -c  -g -O2 -fomit-frame-pointer -DLSB_FIRST=1   
conftest.c >&5
In file included from /usr/include/sys/time.h:31,
                  from /usr/include/linux/videodev2.h:18,
                  from /usr/include/linux/videodev.h:8,
                  from conftest.c:79:
/usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
/usr/include/linux/types.h:9: error: previous declaration of 'fd_set'  
was here
configure:31493: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define SQ_VERSION "3.9a-7024"
| #define VM_VERSION "3.9-10"
| #define OS_TYPE "unix"
| #define VM_HOST "i686-pc-linux-gnu"
| #define VM_HOST_OS "linux-gnu"
| #define VM_HOST_CPU "i686"
| #define squeakInt64 long long
| #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 SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_VOID_P 4
| #define HAVE_DLFCN_H 1
| #define STDC_HEADERS 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRING_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_FEATURES_H 1
| #define HAVE_ALLOCA_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_DIRENT_H 1
| #define HAVE_INTERP_H 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define AT_EXIT atexit
| #define HAVE_TZSET 1
| #define HAVE_TM_GMTOFF 1
| #define HAVE_TIMEZONE 1
| #define HAVE_LIBNSL 1
| #define HAVE_LIBM 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LIBDL 1
| #define HAVE_SNPRINTF 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define VM_BUILD_STRING "Unix built on "__DATE__ " "__TIME__"  
Compiler: "__VERSION__
| #define VM_MODULE_PREFIX ""
| #define DOUBLE_WORD_ORDER 1
| #define SQ_LIBDIR "/home/bert/sugar-jhbuild/build/lib/squeak/ 
3.9a-7024"
| #define VM_LIBDIR "/home/bert/sugar-jhbuild/build/lib/squeak/3.9-10"
| #define USE_X11 1
| #define VM_X11DIR ""
| #define HAVE_LIBXEXT 1
| #define HAVE_GL_GL_H 1
| #define USE_X11_GLX 1
| #define HAVE_LIBGL 1
| #define HAVE_LINUX_FB_H 1
| #define HAVE_ICONV_H 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_PTY_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_OPENPTY 1
| #define HAVE_UNSETENV 1
| /* end confdefs.h.  */
| #include <linux/videodev.h>
| int
| main ()
| {
| ;
|   ;
|   return 0;
| }
configure:31524: result: no
configure:31528: result: ******** disabling VideoForLinuxPlugin

Any idea? Diego?

- Bert -




More information about the Etoys mailing list