Hello,
I have an error when i compile Gem today (in french, sorry):
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 ? ++
Jack
-----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
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...) 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)
fgmasdr IOhannes
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 GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-15 19:06, Jack wrote:
(configure should have detected that there is no linux/videodev.h and set HAVE_LINUX_VIDEODEV_H accordingly)
Attached the config.h
ah i think i see. there is a leftover config.h in your plugins/recordV4L/ directory which is not getting updated and makes the build-process belief that you do have linux/videodev.h on your system.
you should simply delete all plugins/*/config.h files and re-run configure to re-generate those that eventually got missing that way.
what you are experiencing, is a side-effect of the build-system migration on a system configured the olde way. until recently, each plugin had it's own autoconf subsystem (with each own config.h.in->config.h); most (but not all) have now been integrated (back) into the main autoconf part; however the generated leftovers of the old system (out of vcs, so not directly affected by my changes) sometimes interfere in a most unpleasant way.
(read: there shouldn't be any problems if you had done a completely fresh checkout)
it's "probably safest" to get rid of all generated files before proceeding. "svn status" gives you all untracked files, which is a good start to get the generated ones (but also the files you manually added!)
fmgasdr IOhannes
_______________________________________________ GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
Thanx, it is working now. I removed the plugins directory and did svn up then compiled. ++
Jack
Le jeudi 16 juin 2011 à 09:09 +0200, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-15 19:06, Jack wrote:
(configure should have detected that there is no linux/videodev.h and set HAVE_LINUX_VIDEODEV_H accordingly)
Attached the config.h
ah i think i see. there is a leftover config.h in your plugins/recordV4L/ directory which is not getting updated and makes the build-process belief that you do have linux/videodev.h on your system.
you should simply delete all plugins/*/config.h files and re-run configure to re-generate those that eventually got missing that way.
what you are experiencing, is a side-effect of the build-system migration on a system configured the olde way. until recently, each plugin had it's own autoconf subsystem (with each own config.h.in->config.h); most (but not all) have now been integrated (back) into the main autoconf part; however the generated leftovers of the old system (out of vcs, so not directly affected by my changes) sometimes interfere in a most unpleasant way.
(read: there shouldn't be any problems if you had done a completely fresh checkout)
it's "probably safest" to get rid of all generated files before proceeding. "svn status" gives you all untracked files, which is a good start to get the generated ones (but also the files you manually added!)
fmgasdr IOhannes
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk35rEQACgkQkX2Xpv6ydvRy8ACcDNrCYzVlweqAGjOA5S2Ho9BC 0L4AoLoLroNixPlnVSkEPiYUBdLJk3kT =36Ci -----END PGP SIGNATURE-----
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev