Le mercredi 15 juin 2011 à 18:24 +0200, IOhannes m zmoelnig a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 2011-06-15 17:48, Jack wrote:
> > Hello,
> > 
> > I have an error when i compile Gem today (in french, sorry):
> 
> for english messages use:
> 
> $ LANG=C make
Yep, done.
> 
> 
> > 
> 
> > In file included from recordV4L.cpp:20:0:
> > recordV4L.h:26:29: fatal error: linux/videodev.h: Aucun fichier ou
> > dossier de ce type (no file or directory)
> > compilation terminated.
> > make[2]: *** [gem_recordV4L_la-recordV4L.lo] Erreur 1
> > make[2]: quittant le répertoire (leaving directory)
> > « /home/jack/pd-gem/trunk/Gem/src/plugins/recordV4L »
> > make[1]: *** [all-recursive] Erreur 1
> > make[1]: quittant le répertoire
> > « /home/jack/pd-gem/trunk/Gem/src/plugins »
> > make: *** [all-recursive] Erreur 1
> > 
> > Is there a problem somewhere ?
> 
> 
> what's the output of configure? (you did re-run configure after the
> checkout? it should have been done automatically...)
Here the output of ./configure (after a svn up, aclocal
and ./autogen.sh) :

Result:
  Target                 : Gem.pd_linux
  Objects                : 

Configuration:
  Compiler               : g++
  CXXFLAGS               : -g -O2 -fPIC -freg-struct-return -O3
-falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math
-mmmx 
                         : -I/usr/include/lqt -fopenmp 
-I/usr/include/ImageMagick
-I/usr/include/freetype2 -I/usr/include/FTGL
-I/usr/include/avifile-0.7   -I/usr/include/lqt          
  INCLUDES               : 
  DEFINES                : 

  LIBS                   : -lGLU -lGL -lXxf86vm -ldl -lz -lm 
                         : -lv4l2   -lv4l1   -lraw1394   -ldv -lm   -L/usr/lib 
-lquicktime
-lpthread -lm -lz -ldl -lquicktime -lpthread -lm -lz -ldl   -laviplay
-lftgl   -lMagick++ -lMagickCore   
  LDFLAGS                : -shared -Wl,--export-dynamic 
                         : 

  Strip                  : strip --strip-unneeded

  Install path           : /usr/local

 pure-data:
  version                : 0.42
  extension              : pd_linux

 used optional libraries:

  font-rendering         : FTGL

  image-support
    use ImageMagick      : yes
    use TIFF             : yes
    use JPEG             : yes
  moviefile-support
    use PLUGINS          : yes (ignore missing support below)
    use mpeg             : no
    use mpeg-3           : yes
    use QuickTime        : yes
    use aviplay          : yes
    use gmerlin          : no
  capture-support
    use PLUGINS          : yes (ignore missing support below)
    use v4l              : yes (libv4l)
    use ieee1394         : 

Now run make ...



> what's the content of Base/config.h?
> (configure should have detected that there is no linux/videodev.h and
> set HAVE_LINUX_VIDEODEV_H accordingly)
Attached the config.h
Thanx for your help.
++

Jack


> 
> fgmasdr
> IOhannes
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk343MsACgkQkX2Xpv6ydvQonACgwjDyCqiW6rw5c4EoQTcEL/eI
> P08AoNsTkQJI17So95t5e8IxlhsTB8ly
> =aL0v
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> GEM-dev mailing list
> [email protected]
> http://lists.puredata.info/listinfo/gem-dev

/* Base/config.h.  Generated from config.h.in by configure.  */
/* Base/config.h.in.  Generated from configure.ac by autoheader.  */

/* default font for text rendering */
/* #undef GEM_DEFAULT_FONT */

/* backend for deprecated film-decoding objects */
/* #undef GEM_FILMBACKEND */

/* backend for deprecated video-capture objects */
/* #undef GEM_VIDEOBACKEND */

/* framework AGL */
/* #undef HAVE_AGL */

/* Define to 1 if you have the `AVIFileInit' function. */
/* #undef HAVE_AVIFILEINIT */

/* Define to 1 if you have the `bzero' function. */
#define HAVE_BZERO 1

/* framework Carbon */
/* #undef HAVE_CARBON */

/* framework Cocoa */
/* #undef HAVE_COCOA */

/* Define to 1 if you have the `CreateIAviReadFile' function. */
#define HAVE_CREATEIAVIREADFILE 1

/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1

/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1

/* Define to 1 if you have the <float.h> header file. */
#define HAVE_FLOAT_H 1

/* Define to 1 if you have the `floor' function. */
#define HAVE_FLOOR 1

/* Define to 1 if you have the `fork' function. */
#define HAVE_FORK 1

/* Define to 1 if you have the <FTGL/ftgl.h> header file. */
/* #undef HAVE_FTGL_FTGL_H */

/* Define to 1 if you have the `gavl_start' function. */
/* #undef HAVE_GAVL_START */

/* framework AGL */
/* #undef HAVE_GEM_FRAMEWORK_AGL */

/* framework Carbon */
/* #undef HAVE_GEM_FRAMEWORK_CARBON */

/* framework Cocoa */
/* #undef HAVE_GEM_FRAMEWORK_COCOA */

/* framework OpenGL */
/* #undef HAVE_GEM_FRAMEWORK_OPENGL */

/* framework QuickTime */
/* #undef HAVE_GEM_FRAMEWORK_QUICKTIME */

/* Define to 1 if you have the `getpagesize' function. */
#define HAVE_GETPAGESIZE 1

/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1

/* Define to 1 if you have the `glewInit' function. */
/* #undef HAVE_GLEWINIT */

/* Define to 1 if you have the <GL/glx.h> header file. */
#define HAVE_GL_GLX_H 1

/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Define to 1 if you have the `jpeg_read_header' function. */
#define HAVE_JPEG_READ_HEADER 1

/* movie loader */
#define HAVE_LIBAVIFILE 1

/* movie loader */
#define HAVE_LIBAVIPLAY 1

/* video input */
/* #undef HAVE_LIBDC1394 */

/* Define to 1 if you have the `dl' library (-ldl). */
#define HAVE_LIBDL 1

/* video input */
#define HAVE_LIBDV 1

/* font support */
#define HAVE_LIBFTGL 1

/* Define to 1 if you have the `GL' library (-lGL). */
#define HAVE_LIBGL 1

/* OpenGL Extension Wrangler library */
/* #undef HAVE_LIBGLEW */

/* Define to 1 if you have the `GLU' library (-lGLU). */
#define HAVE_LIBGLU 1

/* movie loader */
/* #undef HAVE_LIBGMERLIN_AVDEC */

/* video input */
/* #undef HAVE_LIBIEC61883 */

/* image loader */
#define HAVE_LIBIMAGEMAGICK__ 1

/* image loader */
#define HAVE_LIBJPEG 1

/* video input */
/* #undef HAVE_LIBLIBDC1394_2 */

/* video input */
#define HAVE_LIBLIBDV 1

/* video input */
/* #undef HAVE_LIBLIBIEC61883 */

/* movie loader */
#define HAVE_LIBLIBMPEG3 1

/* movie loader */
#define HAVE_LIBLIBQUICKTIME 1

/* video input */
#define HAVE_LIBLIBRAW1394 1

/* video input */
/* #undef HAVE_LIBLIBUNICAP */

/* video output */
#define HAVE_LIBLIBV4L1 1

/* video input */
#define HAVE_LIBLIBV4L2 1

/* movie loader */
#define HAVE_LIBLQT 1

/* Define to 1 if you have the `m' library (-lm). */
#define HAVE_LIBM 1

/* image loading/saving with ImageMagick++ */
#define HAVE_LIBMAGICKPLUSPLUS 1

/* image loader */
#define HAVE_LIBMAGICK__ 1

/* movie loader */
/* #undef HAVE_LIBMPEG */

/* movie loader */
#define HAVE_LIBMPEG3 1

/* movie loader */
#define HAVE_LIBQUICKTIME 1

/* video input */
#define HAVE_LIBRAW1394 1

/* image loader */
#define HAVE_LIBTIFF 1

/* video input */
/* #undef HAVE_LIBUNICAP */

/* video output */
#define HAVE_LIBV4L1 1

/* video input */
#define HAVE_LIBV4L2 1

/* video input */
/* #undef HAVE_LIBVFW32 */

/* Define to 1 if you have the `Xxf86vm' library (-lXxf86vm). */
#define HAVE_LIBXXF86VM 1

/* Define to 1 if you have the `z' library (-lz). */
#define HAVE_LIBZ 1

/* Define to 1 if you have the <linux/videodev2.h> header file. */
#define HAVE_LINUX_VIDEODEV2_H 1

/* Define to 1 if you have the <linux/videodev.h> header file. */
/* #undef HAVE_LINUX_VIDEODEV_H */

/* film recording using quicktime4linux */
#define HAVE_LQT_OPEN_WRITE /**/

/* Define to 1 if you have the `lqt_seek_video' function. */
#define HAVE_LQT_SEEK_VIDEO 1

/* Define to 1 if you have the `main' function. */
#define HAVE_MAIN 1

/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
   to 0 otherwise. */
#define HAVE_MALLOC 1

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1

/* Define to 1 if you have a working `mmap' system call. */
#define HAVE_MMAP 1

/* Define to 1 if you have the `mpeg3_check_sig' function. */
#define HAVE_MPEG3_CHECK_SIG 1

/* Define to 1 if you have the `munmap' function. */
#define HAVE_MUNMAP 1

/* Define to 1 if you have the <m_pd.h> header file. */
#define HAVE_M_PD_H 1

/* framework OpenGL */
/* #undef HAVE_OPENGL */

/* Define to 1 if you have the `OpenMPEG' function. */
/* #undef HAVE_OPENMPEG */

/* Define to 1 if you have the `pow' function. */
#define HAVE_POW 1

/* Define if you have POSIX threads libraries and header files. */
#define HAVE_PTHREADS 1

/* framework QuickTime */
/* #undef HAVE_QUICKTIME */

/* Define to 1 if you have the `quicktime_init' function. */
#define HAVE_QUICKTIME_INIT 1

/* Define to 1 if you have the `sqrt' function. */
#define HAVE_SQRT 1

/* Define to 1 if stdbool.h conforms to C99. */
#define HAVE_STDBOOL_H 1

/* Define to 1 if you have the <stddef.h> header file. */
#define HAVE_STDDEF_H 1

/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1

/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1

/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the `strnlen' function. */
#define HAVE_STRNLEN 1

/* Define to 1 if you have the `strrchr' function. */
#define HAVE_STRRCHR 1

/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1

/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1

/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the <s_stuff.h> header file. */
/* #undef HAVE_S_STUFF_H */

/* Define to 1 if you have the <termios.h> header file. */
#define HAVE_TERMIOS_H 1

/* Define to 1 if you have the `TIFFOpen' function. */
#define HAVE_TIFFOPEN 1

/* video capturing using UNICAP */
/* #undef HAVE_UNICAP */

/* Define to 1 if you have the `unicap_check_version' function. */
/* #undef HAVE_UNICAP_CHECK_VERSION */

/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* Define to 1 if you have the `v4l1_open' function. */
#define HAVE_V4L1_OPEN 1

/* Define to 1 if you have the `v4l2_open' function. */
#define HAVE_V4L2_OPEN 1

/* Define to 1 if you have the `vfork' function. */
#define HAVE_VFORK 1

/* Define to 1 if you have the <vfork.h> header file. */
/* #undef HAVE_VFORK_H */

/* Define to 1 if you have the <vl/vl.h> header file. */
/* #undef HAVE_VL_VL_H */

/* Define to 1 if you have the <wordexp.h> header file. */
#define HAVE_WORDEXP_H 1

/* Define to 1 if `fork' works. */
#define HAVE_WORKING_FORK 1

/* Define to 1 if `vfork' works. */
#define HAVE_WORKING_VFORK 1

/* Define to 1 if the system has the type `_Bool'. */
/* #undef HAVE__BOOL */

/* Define to the sub-directory in which libtool stores uninstalled libraries.
   */
#define LT_OBJDIR ".libs/"

/* Name of package */
#define PACKAGE "gem"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "[email protected]"

/* Define to the full name of this package. */
#define PACKAGE_NAME "Gem"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "Gem 0.93"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gem"

/* Define to the home page for this package. */
#define PACKAGE_URL ""

/* Define to the version of this package. */
#define PACKAGE_VERSION "0.93"

/* Define to necessary symbol if this constant uses a non-standard name on
   your system. */
/* #undef PTHREAD_CREATE_JOINABLE */

/* The size of `unsigned int', as computed by sizeof. */
#define SIZEOF_UNSIGNED_INT 4

/* The size of `void *', as computed by sizeof. */
#define SIZEOF_VOID_P 4

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1

/* Version number of package */
#define VERSION "0.93"

/* Define to 1 if the X Window System is missing or not being used. */
/* #undef X_DISPLAY_MISSING */

/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */

/* Define to `__inline__' or `__inline' if that's what the C compiler
   calls it, or to nothing if 'inline' is not supported under any name.  */
#ifndef __cplusplus
/* #undef inline */
#endif

/* Define to rpl_malloc if the replacement function should be used. */
/* #undef malloc */

/* Define to `int' if <sys/types.h> does not define. */
/* #undef pid_t */

/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */

/* Define as `fork' if `vfork' does not work. */
/* #undef vfork */

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
GEM-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/gem-dev

Reply via email to