Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
freej (streaming video) [ UNSOLVED :( under gentoo ]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
kdag
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 139
Location: Switzerland

PostPosted: Fri May 12, 2006 8:31 pm    Post subject: freej (streaming video) [ UNSOLVED :( under gentoo ] Reply with quote

hia, im trying to compile freej, i've used it under other distros (not to mention here:)....but i want to have it under gentoo and reject downgrading again just for having this app running.

here is the tail of the error:

Code:

hacks_layer.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src/include -I../lib/ccvt -I../lib/theora-mmx -I../lib/avformat -I../lib/avcodec -I../lib/shout -I../lib/portaudio -I../lib/sdl_image -I../lib/javascript -I../lib/javascript/obj -I../lib/flash -I/usr/include/slang   -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -DPREFIX="\"/usr/local\"" -DDATADIR="\"/usr/local/share\"" -pipe -D_REENTRANT -O2 -fomit-frame-pointer -march=i686 -ffast-math -msse -mfpmath=sse -MT impl_layers.o -MD -MP -MF ".deps/impl_layers.Tpo" -c -o impl_layers.o impl_layers.cpp; \
then mv -f ".deps/impl_layers.Tpo" ".deps/impl_layers.Po"; else rm -f ".deps/impl_layers.Tpo"; exit 1; fi
In file included from /usr/include/linux/videodev.h:9,
                 from ../src/include/v4l_layer.h:27,
                 from ../src/include/impl_layers.h:35,
                 from impl_layers.cpp:34:
/usr/include/linux/videodev2.h:383: error: field `timestamp' has incomplete type
make[3]: *** [impl_layers.o] Error 1
make[3]: Leaving directory `/home/kdag/freej/freej-0.8.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kdag/freej/freej-0.8.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kdag/freej/freej-0.8.1'
make: *** [all] Error 2

 


someone in the gentoo channel suggested me to update linux-headers to .16
could anyone here in the forum tell me why that error might be present?

any help, trully appreciated.

/kdag!
_________________
http://soup.znerol.ch


Last edited by kdag on Sat May 20, 2006 3:00 pm; edited 2 times in total
Back to top
View user's profile Send private message
kdag
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 139
Location: Switzerland

PostPosted: Fri May 19, 2006 12:59 am    Post subject: Reply with quote

still some weeks an i havent got througth this error, i have:

gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
Linux localhost 2.6.15-gentoo-r1 #1 PREEMPT Tue Apr 4 21:05:08 CEST 2006 i686 Intel(R) Pentium(R) M processor 1600MHz GenuineIntel GNU/Linux

and all the requirements are installed..

please advice

/a
_________________
http://soup.znerol.ch
Back to top
View user's profile Send private message
kdag
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 139
Location: Switzerland

PostPosted: Fri May 19, 2006 1:29 am    Post subject: Reply with quote

according to DrChandra in the irc this post can give some light on what the problem could be:

http://lists.debian.org/debian-glibc/2003/11/msg00635.html

Code:
videodev2.h is needed in userspace by Video4Linux programs.
linux/time.h has a definition of 'struct timeval' which conflicts with the
one in time.h, even though it has the same fields with types of the same
lengths.  So just use the userspace one in userspace!

--- include/linux/videodev2.h.orig   2003-10-15 11:13:17.000000000 -0400
+++ include/linux/videodev2.h   2003-11-20 21:11:02.000000000 -0500
@@ -13,7 +13,11 @@
  *      Justin Schoeman
  *      et al.
  */
+#ifdef __KERNEL__
 #include <linux/time.h> /* need struct timeval */
+#elsef /* not __KERNEL__ */
+#include <time.h> /* need struct timeval */
+#endif /* __KERNEL__ */
 


but when i try that out i still get make errors. :/ its clear im lost... anyone out there with freej 0.8.1 happily compiled under gentoo??

/a
_________________
http://soup.znerol.ch
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54578
Location: 56N 3W

PostPosted: Fri May 19, 2006 6:29 pm    Post subject: Reply with quote

kdag,

I've found a few errors.

First, the ebuild appears to be broken, thats not surprising, since freej-0.8.1 is hard masked.
Going into its work directory /var/tmp/portage/freej-0.8.1/work/freej-0.8.1 and typing make gets me further.
The error is
Code:
/usr/include/linux/videodev2.h:383: error: field `timestamp' has incomplete type
which points to a conflict between my installed linux-headers and what freej-0.8.1 wants.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
kdag
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 139
Location: Switzerland

PostPosted: Fri May 19, 2006 6:32 pm    Post subject: Reply with quote

after trying what many suggested i installed linux-headers-2.6.16 and now the error is this one:

Code:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src/include -I../lib/ccvt -I../lib/avformat -I../lib/avcodec -I
../lib/shout -I../lib/portaudio -I../lib/sdl_image -I../lib/sdl_gfx -I../lib/sdl_ttf -I../lib/javascript
 -I../lib/javascript/obj -I../lib/flash -I/usr/include/slang -I../lib/theora-mmx   -I/usr/include/SDL -D
_REENTRANT -I/usr/include/freetype2 -DPREFIX="\"/usr/local\"" -DDATADIR="\"/usr/local/share\"" -pipe -D_
REENTRANT -O2 -fomit-frame-pointer -march=i686 -ffast-math -MT jutils.o -MD -MP -MF ".deps/jutils.Tpo" -
c -o jutils.o jutils.cpp; \
then mv -f ".deps/jutils.Tpo" ".deps/jutils.Po"; else rm -f ".deps/jutils.Tpo"; exit 1; fi
In file included from /usr/include/linux/timex.h:58,
                 from /usr/include/linux/sched.h:11,
                 from /usr/include/linux/smp_lock.h:6,
                 from /usr/include/linux/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:11,
                 from /usr/include/linux/rtc.h:14,
                 from jutils.cpp:26:
/usr/include/linux/time.h:25: error: `suseconds_t' does not name a type
In file included from /usr/include/linux/sched.h:12,
                 from /usr/include/linux/smp_lock.h:6,
                 from /usr/include/linux/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:11,
                 from /usr/include/linux/rtc.h:14,
                 from jutils.cpp:26:
/usr/include/linux/jiffies.h: In function `long unsigned int timeval_to_jiffies(const timeval*)':
/usr/include/linux/jiffies.h:348: error: 'const struct timeval' has no member named 'tv_usec'
/usr/include/linux/jiffies.h: In function `void jiffies_to_timeval(long unsigned int, timeval*)':
/usr/include/linux/jiffies.h:371: error: 'struct timeval' has no member named 'tv_usec'
In file included from /usr/include/asm/siginfo.h:4,
                 from /usr/include/linux/signal.h:7,
                 from /usr/include/linux/sched.h:28,
                 from /usr/include/linux/smp_lock.h:6,
                 from /usr/include/linux/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:11,
                 from /usr/include/linux/rtc.h:14,
                 from jutils.cpp:26:
/usr/include/asm-generic/siginfo.h: At global scope:
/usr/include/asm-generic/siginfo.h:53: error: `uid_t' does not name a type
/usr/include/asm-generic/siginfo.h:60: error: `uid_t' was not declared in this scope
/usr/include/asm-generic/siginfo.h:68: error: `uid_t' does not name a type
/usr/include/asm-generic/siginfo.h:75: error: `uid_t' does not name a type
In file included from /usr/include/linux/hrtimer.h:19,
                 from /usr/include/linux/sched.h:108,
                 from /usr/include/linux/smp_lock.h:6,
                 from /usr/include/linux/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:11,
                 from /usr/include/linux/rtc.h:14,
                 from jutils.cpp:26:
/usr/include/linux/ktime.h: In function `ktime_t ktime_set(long int, long unsigned int)':
/usr/include/linux/ktime.h:80: error: expected primary-expression before ')' token
/usr/include/linux/ktime.h:80: error: expected `;' before '{' token
In file included from /usr/include/sys/time.h:29,
                 from jutils.cpp:28:
/usr/include/bits/time.h: At global scope:
/usr/include/bits/time.h:70: error: redefinition of `struct timeval'
/usr/include/linux/time.h:23: error: previous definition of `struct timeval'
In file included from /usr/include/sys/time.h:31,
                 from jutils.cpp:28:
/usr/include/sys/select.h:38: error: conflicting declaration 'typedef struct __sigset_t sigset_t'
/usr/include/asm/signal.h:31: error: 'sigset_t' has a previous declaration as `typedef long unsigned int
 sigset_t'
/usr/include/sys/select.h:38: error: declaration of `typedef struct __sigset_t sigset_t'
/usr/include/asm/signal.h:31: error: conflicts with previous declaration `typedef long unsigned int sigs
et_t'
/usr/include/sys/select.h:38: error: declaration of `typedef struct __sigset_t sigset_t'
/usr/include/asm/signal.h:31: error: conflicts with previous declaration `typedef long unsigned int sigs
et_t'
/usr/include/sys/select.h:38: error: declaration of `typedef struct __sigset_t sigset_t'
/usr/include/asm/signal.h:31: error: conflicts with previous declaration `typedef long unsigned int sigs
et_t'
In file included from jutils.cpp:28:
/usr/include/sys/time.h:58: error: redefinition of `struct timezone'
/usr/include/linux/time.h:29: error: previous definition of `struct timezone'
/usr/include/sys/time.h:96: error: expected identifier before numeric constant
/usr/include/sys/time.h:96: error: expected `}' before numeric constant
/usr/include/sys/time.h:96: error: expected unqualified-id before numeric constant
/usr/include/sys/time.h:110: error: redefinition of `struct itimerval'
/usr/include/linux/time.h:186: error: previous definition of `struct itimerval'
/usr/include/sys/time.h:191: error: expected declaration before '}' token
In file included from jutils.cpp:28:
/usr/include/sys/time.h:20:1: unterminated #ifndef
jutils.cpp:24:1: unterminated #ifdef
make[3]: *** [jutils.o] Error 1
make[3]: Leaving directory `/home/kdag/freej/freej/trunk/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kdag/freej/freej/trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kdag/freej/freej/trunk'
make: *** [all] Error 2



/usr/include/linux/ktime.h:80: error: expected primary-expression before '.' token
/usr/include/linux/ktime.h:80: error: expected `;' before '}' token
/usr/include/linux/ktime.h: In function `ktime_t timeval_to_ktime(timeval)':
/usr/include/linux/ktime.h:107: error: 'struct timeval' has no member named 'tv_usec'


please advice

/a
_________________
http://soup.znerol.ch
Back to top
View user's profile Send private message
kdag
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 139
Location: Switzerland

PostPosted: Sat May 20, 2006 5:11 pm    Post subject: Reply with quote

talking with jaromil, one of the devs of freej he suggested to try to use linux headers from the linux from scratch project, here is part of the log:


Code:

[18:57]<jaromil> suco
[18:58]<kdag> may this be a headers problem: /usr/include/linux/videodev2.h:383: error: field `timestamp' has incomplete type
[18:58]<kdag> which points to a conflict between my installed linux-headers and what freej-0.8.1 wants.
[18:58]<kdag> :/
[18:59]<jaromil> mm
[18:59]<jaromil> videodev2 is tricky
[18:59]<jaromil> freej still uses only video4linux 1
[18:59]<kdag> yeap i can tell that now jaromil :)
[18:59]<jaromil> :)
[18:59]<jaromil> i need to do quite some coding on freej actualy
[18:59]<kdag> im trying to get it running under gentoo
[19:00]<kdag> but we have been using it extensively for streams in the last months
[19:00]<jaromil> you have strange headers, into mines is not timestamp on that line
[19:01]<kdag> i appreciate if you can recommend me what to do, here is the case: http://forums.gentoo.org/viewtopic-p-3314050.html#3314050
[19:01]<jaromil> works eh? :)
[19:01]<kdag> works, i love it, but i need it under gentoo
[19:01]<kdag> im not a debian person
[19:01]<jaromil> i use kernel headers from the linux from scratch project
[19:01]<jaromil> not the ones of the kernel
[19:01]<jaromil> they are more compatible
[19:01]<kdag> oke, thats a good reference
[19:02]<jaromil> i guess also debian uses similar linux headers
[19:02]<kdag> i will add that to the thread and phps someone can tell me how to fix it
[19:02]<jaromil> not the ones directly in the kernel sources
[19:02]<kdag> k
[19:03]<kdag> i will ask the gentoo gurus how to use lfs headers
[19:03]<kdag> and try again
[19:03]<kdag> will add this short log to the gentoo thread if you dont mind
[19:03]<kdag> ?
[19:03]<jaromil> sounds good way to do, if you change things not-in-the-gentoo-way you might get troubles
[19:03]<jaromil> np
[19:03]<kdag> k, merci



neddyseagon tells me this:
<NeddySeagoon>   kdag, you should put the LFS kernel into /usr/src and configure it, then edit the freej file to use the headers there. Every kernel provides a full set of headers for itself



i will try to ask advice from the linux gurus on how to get the LFS headers under gentoo and report back if all goes well, if not i might switch again to debian :( temporarily...
_________________
http://soup.znerol.ch
Back to top
View user's profile Send private message
kdag
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 139
Location: Switzerland

PostPosted: Sat May 20, 2006 10:06 pm    Post subject: Reply with quote

oke a step fwd:

i got vanilla sources for kernel-2.6.16 and freej-0.8.1 fresh from the dyne.org site

note the BIG FAT MESSAGE i get:

checking linux/videodev.h usability... no
checking linux/videodev.h presence... yes
configure: WARNING: linux/videodev.h: present but cannot be compiled
configure: WARNING: linux/videodev.h: check for missing prerequisite headers?
configure: WARNING: linux/videodev.h: see the Autoconf documentation
configure: WARNING: linux/videodev.h: section "Present But Cannot Be Compiled"
configure: WARNING: linux/videodev.h: proceeding with the preprocessor's result
configure: WARNING: linux/videodev.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for linux/videodev.h... yes


Code:

localhost freej-0.8.1 # ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for which platform we are compiling... Linux
checking whether make sets $(MAKE)... yes
checking whether build environment is sane... yes
checking for a BSD-compatible install... /bin/install -c
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes

checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for select... yes
checking for malloc... yes
checking for mmap... yes
checking for ioctl... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for pkg-config... /usr/bin/pkg-config
checking for ogg >= 1.1 vorbis vorbisenc... yes
checking XIPH_CFLAGS... 
checking XIPH_LIBS... -lvorbisenc -lvorbis -lm -logg 
checking for freetype-config... /usr/bin/freetype-config
checking for FreeType - version >= 9.0.0... yes
checking linux/videodev.h usability... no
checking linux/videodev.h presence... yes
configure: WARNING: linux/videodev.h: present but cannot be compiled
configure: WARNING: linux/videodev.h:     check for missing prerequisite headers?
configure: WARNING: linux/videodev.h: see the Autoconf documentation
configure: WARNING: linux/videodev.h:     section "Present But Cannot Be Compiled"
configure: WARNING: linux/videodev.h: proceeding with the preprocessor's result
configure: WARNING: linux/videodev.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for linux/videodev.h... yes
checking for snd_pcm_open in -lasound... yes
checking for jack... yes
checking JACK_CFLAGS... 
checking JACK_LIBS... -ljack 
checking dmalloc.h usability... no
checking dmalloc.h presence... no
checking for dmalloc.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/include/Makefile
config.status: creating lib/Makefile
config.status: creating lib/ccvt/Makefile
config.status: creating lib/theora-mmx/Makefile
config.status: creating lib/avformat/Makefile
config.status: creating lib/avcodec/Makefile
config.status: creating lib/shout/Makefile
config.status: creating lib/portaudio/Makefile
config.status: creating lib/sdl_image/Makefile
config.status: creating lib/flash/Makefile
config.status: creating filters/Makefile
config.status: creating filters/delaygrab/Makefile
config.status: creating filters/rotozoom/Makefile
config.status: creating filters/simura/Makefile
config.status: creating filters/baltan/Makefile
config.status: creating filters/vertigo/Makefile
config.status: creating filters/transform/Makefile
config.status: creating filters/edge/Makefile
config.status: creating filters/backlight/Makefile
config.status: creating filters/blur/Makefile
config.status: creating filters/ripple/Makefile
config.status: creating filters/water/Makefile
config.status: creating filters/cartoon/Makefile
config.status: creating filters/nervous/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands


Compile FreeJ 0.8.1 for i686-pc-linux-gnu (kernel Linux261616)
= SDL v1.2.0
  LIBS  : -lSDL -lpthread
  CFLAGS: -I/usr/include/SDL -D_REENTRANT
= FreeType2
  LIBS  : -lfreetype -lz
  CFLAGS: -I/usr/include/freetype2
= ogg-theora (libogg libtheora)
  libs  : -lvorbisenc -lvorbis -lm -logg 
  cflags: 
= Building machine specific lubrificated binary
= Including support for JACK sound input
= Including support for Alsa sound devices
  PORTAUDIO LIBS  : -lasound -ljack 
= COMPILER FLAGS : -pipe -D_REENTRANT -O2 -fomit-frame-pointer -march=i686 -ffast-math -msse -mfpmath=sse
= INSTALL PREFIX : /usr/local
============================== now type make, may the source be with you!




but it fails in here:
Code:

In file included from /usr/include/linux/videodev.h:8,
                 from ../src/include/v4l_layer.h:27,
                 from ../src/include/impl_layers.h:35,
                 from freej.cpp:38:
/usr/include/linux/videodev2.h:23: error: invalid token
/usr/include/linux/videodev2.h:23: error: expected constructor, destructor, or type conversion before '<' token
/usr/include/linux/videodev2.h:24: error: invalid token
/usr/include/linux/videodev2.h:25: error: invalid token
/usr/include/linux/videodev2.h:26: error: invalid token
/usr/include/linux/videodev2.h:280: error: use of enum `v4l2_field' without previous declaration
/usr/include/linux/videodev2.h:513: error: use of enum `v4l2_field' without previous declaration
/usr/include/linux/videodev2.h:570: error: use of enum `v4l2_field' without previous declaration
make[3]: *** [freej.o] Error 1
make[3]: Leaving directory `/home/kdag/freej/freej-0.8.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kdag/freej/freej-0.8.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kdag/freej/freej-0.8.1'
make: *** [all] Error 2



so, still nogo

/a
_________________
http://soup.znerol.ch
Back to top
View user's profile Send private message
kdag
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 139
Location: Switzerland

PostPosted: Tue Jun 06, 2006 3:07 pm    Post subject: Reply with quote

kysucix, the other freej developer tells me:


[16:32] <kysucix> kdag, try adding #include <sys/time.h> in /usr/include/linux/videodev2.h


i will try and report back in a moment
Back to top
View user's profile Send private message
kdag
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 139
Location: Switzerland

PostPosted: Mon Jun 19, 2006 5:27 pm    Post subject: Reply with quote

after trying stuff that broke my system....i had to reintsall.. i ended up in the irc channel #gentoo-es channel and ferdy asked me about my MAKEOPTS, I said

kdag MAKEOPTS="-j2" ferdy

and he suggested:

-j1


then:

emerge =media-video/freej-0.8.1


y voila, it compiled but freej is not able to load my webcam...it says something like video layer not supported...
at least i have a puredyne i can boot in to use this, but it will be nice to get freej to work under gentoo.
_________________
http://soup.znerol.ch
Back to top
View user's profile Send private message
kdag
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 139
Location: Switzerland

PostPosted: Fri Jun 30, 2006 12:41 pm    Post subject: Reply with quote

kdag wrote:
kysucix, the other freej developer tells me:


[16:32] <kysucix> kdag, try adding #include <sys/time.h> in /usr/include/linux/videodev2.h


i will try and report back in a moment



so did also helped, now its compiled, i just have to get back my video4linux up (broke when i was installing em28xx) and report again

at least things are going in a good direction now

:)
_________________
http://soup.znerol.ch
Back to top
View user's profile Send private message
kdag
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 139
Location: Switzerland

PostPosted: Wed Jul 12, 2006 4:01 pm    Post subject: Reply with quote

so, no.. it was not em28xx that broke my v4l... actually is not broke since gqcam can open my webcam.. is still freej that compiles "correctly" telling that will use v4l but one opening freej /dev/video0 i get a:

could not create a video layer error

:(

so even though it now compiles im still stuck

has anyone got it working?

/kdag
_________________
http://soup.znerol.ch
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum