Thread: Re: [Devsec-users] devsec 3.0.6 and v4l2?
Status: Inactive
Brought to you by:
berlinerkindl
From: Peter H. <p_...@tp...> - 2005-11-01 22:07:55
|
Could you test something for me, move the libtemplate* files in /usr/lib to another location and see if that solves the problem. If so, I will have to determine a way to check for the correct version of libtemplate. Damn. Andres Toomsalu wrote: > the file listing from /usr/local/lib where I installed libtemplate is > different from /usr/lib - maybe they are different libraries with same > name? > > ls -l /usr/local/lib/ | grep template > ------------------------ > -rw-r--r-- 1 root root 11418 Oct 31 13:38 libtemplate.a > > ls -l /usr/lib/ | grep template > ------------------------- > -rwxr-xr-x 1 root root 729 Jul 1 11:01 libtemplate.la > lrwxrwxrwx 1 root root 20 Jul 1 11:01 libtemplate.so -> > libtemplate.so.1.0.0 > lrwxrwxrwx 1 root root 20 Jul 1 11:01 libtemplate.so.1 -> > libtemplate.so.1.0.0 > -rwxr-xr-x 1 root root 112468 Jul 1 11:01 libtemplate.so.1.0.0 > > devsec/web_interface/Makefile.am contains the following: > -------------------------------------------------- > SUBDIRS=templates images > bindir=/home/httpd/cgi-bin > sysconfdir=/home/httpd/html > bin_PROGRAMS=index.cgi > index_cgi_SOURCES = \ > main.c \ > cameras.c \ > sysstats.c \ > config.c > > index_cgi_LDADD = -ltemplate -lcgi > > dist_sysconf_DATA= \ > index.html \ > style.css \ > 95.css \ > fp.css \ > ice.css > ------------------------------------------------ > > and 'grep -r libtemplate * ' returns only: > ---------------------------------------------------------- > README:1- get libtemplate and libcgi from the net and install. > > > > > Peter Hartshorn wrote: > >> Interesting that there is a reference to /usr/lib/libtemplate.so. >> Could you have a look at the file devsec/web_interface/Makefile.am to >> see if this hard coded reference is in there. Attached is the output >> that I get when running make from the web_interface directory. As you >> can see, there is not a reference to /usr/lib/libtemplate.so. I do not >> even have the shared library installed. I only have the static library. >> >> Could you also grep the entire source tree for libtemplate (`grep -r >> libtemplate *`) and send me the output. >> >> Thanks >> >> >> Andres Toomsalu wrote: >> >>> --disable-v4l2 helped to proceed with compiling but now I get error >>> regarding libtemplate I think. I have libtemplate 1.5 correctly >>> installed at /usr/local/ >>> >>> Here is the error: >>> ----------------------------- >>> make[4]: Entering directory >>> `/root/tmp/devsec-3.0.6/devsec/web_interface' >>> /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -o >>> index.cgi main.o cameras.o sysstats.o config.o -ltemplate -lcgi >>> gcc -g -O2 -o index.cgi main.o cameras.o sysstats.o config.o >>> /usr/lib/libtemplate.so -lcgi -ldl -lpthread >>> main.o(.text+0x1f1): In function `get_resources': >>> /root/tmp/devsec-3.0.6/devsec/web_interface/main.c:44: undefined >>> reference to `tpl_element_set' >>> main.o(.text+0x251):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:46: >>> undefined reference to `tpl_element_set' >>> main.o(.text+0x359): In function `load_camera_entries': >>> /root/tmp/devsec-3.0.6/devsec/web_interface/main.c:74: undefined >>> reference to `tpl_element_set' >>> main.o(.text+0x428):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:84: >>> undefined reference to `tpl_element_set' >>> main.o(.text+0x440):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:85: >>> undefined reference to `tpl_element_set' >>> main.o(.text+0x466):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:86: >>> undefined reference to `tpl_parse' >>> main.o(.text+0x48c):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:87: >>> undefined reference to `tpl_parse' >>> main.o(.text+0x4ec): In function `main': >>> /root/tmp/devsec-3.0.6/devsec/web_interface/main.c:113: undefined >>> reference to `tpl_engine_new' >>> main.o(.text+0x4ff):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:114: >>> undefined reference to `tpl_file_load' >>> main.o(.text+0x567):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:127: >>> undefined reference to `tpl_element_set' >>> main.o(.text+0x59b):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:130: >>> undefined reference to `tpl_parse' >>> main.o(.text+0x5ac):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:131: >>> undefined reference to `tpl_element_get' >>> main.o(.text+0x5ca):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:136: >>> undefined reference to `tpl_engine_delete' >>> collect2: ld returned 1 exit status >>> make[4]: *** [index.cgi] Error 1 >>> make[4]: Leaving directory `/root/tmp/devsec-3.0.6/devsec/web_interface' >>> make[3]: *** [all-recursive] Error 1 >>> make[3]: Leaving directory `/root/tmp/devsec-3.0.6/devsec/web_interface' >>> make[2]: *** [all-recursive] Error 1 >>> make[2]: Leaving directory `/root/tmp/devsec-3.0.6/devsec' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/root/tmp/devsec-3.0.6' >>> make: *** [all] Error 2 >>> -------------------------------------- >>> >>> Any ideas what it might be? >>> >>> >>> >>> Peter Hartshorn wrote: >>> >>>> I have been planning on getting V4L2 going now that I am using a 2.6 >>>> kernel. You could try to configure with --disable-v4l2 and see if >>>> that works. >>>> >>>> >>>> Andres Toomsalu wrote: >>>> >>>>> Hi, >>>>> >>>>> I'm trying to compile devsec 3.0.6 on 2.6.11 machine but make fails >>>>> with >>>>> error described below. Is devsec 3.0.6 only supporting v4l API drivers >>>>> and not v4l2 API drivers included with 2.6 kernels? Do I have to >>>>> use 2.4 >>>>> kernel with V4L API and older V4L bttv driver for example in order to >>>>> successfully build devsec? >>>>> >>>>> make log: >>>>> ---------------------------- >>>>> make[7]: Entering directory >>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server/tsrep3' >>>>> /bin/sh ../../libtool --tag=CXX --mode=link g++ -DADD_XVID_ENCODER >>>>> -DADD_LAME_ENCODER -DADD_FAAC_ENCODER -D_REENTRANT -DNOCONTROLS >>>>> -fexceptions -Wall -Wmissing-prototypes -Wno-char-subscripts >>>>> -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated >>>>> -falign-loops=2 -falign-functions=2 -O2 -Wpointer-arithu >>>>> -fexpensive-optimizations -funroll-loops -finline-functions -DNDEBUG >>>>> -Wformat=2 -g -O2 -DUSE_MMX -DMPEG4IP -o tsrep3 audio_encoder.o >>>>> audio_encoder_tables.o video_encoder.o video_encoder_tables.o >>>>> mp4live.o >>>>> tsrep_com.o cpu_accel.o graphics.o motion.o gui_main.o socket.o >>>>> message.o tsrep_options.o rgb2yuv.o video_out.o video_out_ppm.o >>>>> video_out_yuv.o yuv2rgb.o yuv2rgb_mlib.o yuv2rgb_mmx.o libmp4live.la >>>>> -lfaac -lmp3lame ../../common/video/libmpeg32/libmpeg3.la >>>>> ../../lib/msg_queue/libmsg_queue.la ../../lib/mp4v2/libmp4v2.la >>>>> ../../lib/mp4av/libmp4av.la ../../lib/rtp/libuclmmbase.la >>>>> ../../lib/sdp/libsdp.la ../../lib/gnu/libmpeg4ip_gnu.la >>>>> ../../lib/utils/libutils.la ./h261/libmp4live_h261.la -lpthread >>>>> -L/usr/X11R6/lib -lX11 -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread >>>>> libmp4livepreview.la ../../../../ffmpeg/libavcodec/libavcodec.a -lz >>>>> -lvorbis -lvorbisenc -lfaad -ldl >>>>> g++ -DADD_XVID_ENCODER -DADD_LAME_ENCODER -DADD_FAAC_ENCODER >>>>> -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Wmissing-prototypes >>>>> -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas >>>>> -Wno-deprecated -falign-loops=2 -falign-functions=2 -O2 >>>>> -Wpointer-arithu >>>>> -fexpensive-optimizations -funroll-loops -finline-functions -DNDEBUG >>>>> -Wformat=2 -g -O2 -DUSE_MMX -DMPEG4IP -o .libs/tsrep3 audio_encoder.o >>>>> audio_encoder_tables.o video_encoder.o video_encoder_tables.o >>>>> mp4live.o >>>>> tsrep_com.o cpu_accel.o graphics.o motion.o gui_main.o socket.o >>>>> message.o tsrep_options.o rgb2yuv.o video_out.o video_out_ppm.o >>>>> video_out_yuv.o yuv2rgb.o yuv2rgb_mlib.o yuv2rgb_mmx.o -Wl,-rpath >>>>> -Wl,/usr/lib ./.libs/libmp4live.a -L/usr/i686-pc-linux-gnu/bin >>>>> -L/usr/i686-pc-linux-gnu/lib >>>>> -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib >>>>> /usr/lib/libfaac.so /usr/lib/libmp3lame.so >>>>> ../../common/video/libmpeg32/.libs/libmpeg3.a >>>>> ../../lib/msg_queue/.libs/libmsg_queue.so >>>>> ../../lib/mp4v2/.libs/libmp4v2.so ../../lib/mp4av/.libs/libmp4av.so >>>>> ../../lib/rtp/.libs/libuclmmbase.a ../../lib/sdp/.libs/libsdp.so >>>>> ../../lib/gnu/.libs/libmpeg4ip_gnu.a ../../lib/utils/.libs/libutils.a >>>>> ./h261/.libs/libmp4live_h261.a -L/usr/X11R6/lib -L/usr/lib >>>>> /usr/lib/libSDL.so ./.libs/libmp4livepreview.a >>>>> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so >>>>> ../../../../ffmpeg/libavcodec/libavcodec.a -lz /usr/lib/libvorbis.so >>>>> /usr/lib/libvorbisenc.so /usr/lib/libfaad.so -ldl -lX11 -lXext >>>>> -lpthread >>>>> gui_main.o(.text+0xa0): In function `grab_frame(ts_frame*)': >>>>> gui/gui_main.cpp:47: undefined reference to `v4l_pipe' >>>>> gui_main.o(.text+0x110):gui/gui_main.cpp:59: undefined reference to >>>>> `v4l_pipe' >>>>> collect2: ld returned 1 exit status >>>>> make[7]: *** [tsrep3] Error 1 >>>>> make[7]: Leaving directory >>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server/tsrep3' >>>>> make[6]: *** [all-recursive] Error 1 >>>>> make[6]: Leaving directory >>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server/tsrep3' >>>>> make[5]: *** [all-recursive] Error 1 >>>>> make[5]: Leaving directory >>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server' >>>>> make[4]: *** [all-recursive] Error 1 >>>>> make[4]: Leaving directory `/root/tmp/devsec-3.0.6/devsec/tsrep3' >>>>> make[3]: *** [all] Error 2 >>>>> make[3]: Leaving directory `/root/tmp/devsec-3.0.6/devsec/tsrep3' >>>>> make[2]: *** [all-recursive] Error 1 >>>>> make[2]: Leaving directory `/root/tmp/devsec-3.0.6/devsec' >>>>> make[1]: *** [all-recursive] Error 1 >>>>> make[1]: Leaving directory `/root/tmp/devsec-3.0.6' >>>>> make: *** [all] Error 2 >>>>> >>>>> >>>>> >>>>> >>>>> Best Regards, >>>>> >>>> >>>> >>> >>> >> >> > > |
From: Andres T. <an...@ac...> - 2005-11-02 12:42:49
|
Moving false libtemplate entries out from /usr/lib helped and I managed=20 to compile the beast. It installed fine. Now I'm stuck with my ATI TV wonder input selection - how could I=20 specify in devsec to choose composite video input (channel 1) instead of=20 TV tuner (e.g. channel 0)? Some config parameter in=20 /usr/local/lib/dtk/config/devsec/mp4live/camera0.conf file? Peter Hartshorn wrote: > Could you test something for me, move the libtemplate* files in=20 > /usr/lib to another location and > see if that solves the problem. If so, I will have to determine a way=20 > to check for the correct > version of libtemplate. Damn. > > Andres Toomsalu wrote: > >> the file listing from /usr/local/lib where I installed libtemplate is >> different from /usr/lib - maybe they are different libraries with=20 >> same name? >> >> ls -l /usr/local/lib/ | grep template >> ------------------------ >> -rw-r--r-- 1 root root 11418 Oct 31 13:38 libtemplate.a >> >> ls -l /usr/lib/ | grep template >> ------------------------- >> -rwxr-xr-x 1 root root 729 Jul 1 11:01 libtemplate.la >> lrwxrwxrwx 1 root root 20 Jul 1 11:01 libtemplate.so -> >> libtemplate.so.1.0.0 >> lrwxrwxrwx 1 root root 20 Jul 1 11:01 libtemplate.so.1 -> >> libtemplate.so.1.0.0 >> -rwxr-xr-x 1 root root 112468 Jul 1 11:01 libtemplate.so.1.0.0 >> >> devsec/web_interface/Makefile.am contains the following: >> -------------------------------------------------- >> SUBDIRS=3Dtemplates images >> bindir=3D/home/httpd/cgi-bin >> sysconfdir=3D/home/httpd/html >> bin_PROGRAMS=3Dindex.cgi >> index_cgi_SOURCES =3D \ >> main.c \ >> cameras.c \ >> sysstats.c \ >> config.c >> >> index_cgi_LDADD =3D -ltemplate -lcgi >> >> dist_sysconf_DATA=3D \ >> index.html \ >> style.css \ >> 95.css \ >> fp.css \ >> ice.css >> ------------------------------------------------ >> >> and 'grep -r libtemplate * ' returns only: >> ---------------------------------------------------------- >> README:1- get libtemplate and libcgi from the net and install. >> >> >> >> >> Peter Hartshorn wrote: >> >>> Interesting that there is a reference to /usr/lib/libtemplate.so.=20 >>> Could you have a look at the file devsec/web_interface/Makefile.am=20 >>> to see if this hard coded reference is in there. Attached is the=20 >>> output that I get when running make from the web_interface=20 >>> directory. As you can see, there is not a reference to=20 >>> /usr/lib/libtemplate.so. I do not even have the shared library=20 >>> installed. I only have the static library. >>> >>> Could you also grep the entire source tree for libtemplate (`grep -r=20 >>> libtemplate *`) and send me the output. >>> >>> Thanks >>> >>> >>> Andres Toomsalu wrote: >>> >>>> --disable-v4l2 helped to proceed with compiling but now I get error=20 >>>> regarding libtemplate I think. I have libtemplate 1.5 correctly=20 >>>> installed at /usr/local/ >>>> >>>> Here is the error: >>>> ----------------------------- >>>> make[4]: Entering directory=20 >>>> `/root/tmp/devsec-3.0.6/devsec/web_interface' >>>> /bin/sh ../../libtool --tag=3DCC --mode=3Dlink gcc -g -O2 -o=20 >>>> index.cgi main.o cameras.o sysstats.o config.o -ltemplate -lcgi >>>> gcc -g -O2 -o index.cgi main.o cameras.o sysstats.o config.o =20 >>>> /usr/lib/libtemplate.so -lcgi -ldl -lpthread >>>> main.o(.text+0x1f1): In function `get_resources': >>>> /root/tmp/devsec-3.0.6/devsec/web_interface/main.c:44: undefined=20 >>>> reference to `tpl_element_set' >>>> main.o(.text+0x251):/root/tmp/devsec-3.0.6/devsec/web_interface/main= .c:46:=20 >>>> undefined reference to `tpl_element_set' >>>> main.o(.text+0x359): In function `load_camera_entries': >>>> /root/tmp/devsec-3.0.6/devsec/web_interface/main.c:74: undefined=20 >>>> reference to `tpl_element_set' >>>> main.o(.text+0x428):/root/tmp/devsec-3.0.6/devsec/web_interface/main= .c:84:=20 >>>> undefined reference to `tpl_element_set' >>>> main.o(.text+0x440):/root/tmp/devsec-3.0.6/devsec/web_interface/main= .c:85:=20 >>>> undefined reference to `tpl_element_set' >>>> main.o(.text+0x466):/root/tmp/devsec-3.0.6/devsec/web_interface/main= .c:86:=20 >>>> undefined reference to `tpl_parse' >>>> main.o(.text+0x48c):/root/tmp/devsec-3.0.6/devsec/web_interface/main= .c:87:=20 >>>> undefined reference to `tpl_parse' >>>> main.o(.text+0x4ec): In function `main': >>>> /root/tmp/devsec-3.0.6/devsec/web_interface/main.c:113: undefined=20 >>>> reference to `tpl_engine_new' >>>> main.o(.text+0x4ff):/root/tmp/devsec-3.0.6/devsec/web_interface/main= .c:114:=20 >>>> undefined reference to `tpl_file_load' >>>> main.o(.text+0x567):/root/tmp/devsec-3.0.6/devsec/web_interface/main= .c:127:=20 >>>> undefined reference to `tpl_element_set' >>>> main.o(.text+0x59b):/root/tmp/devsec-3.0.6/devsec/web_interface/main= .c:130:=20 >>>> undefined reference to `tpl_parse' >>>> main.o(.text+0x5ac):/root/tmp/devsec-3.0.6/devsec/web_interface/main= .c:131:=20 >>>> undefined reference to `tpl_element_get' >>>> main.o(.text+0x5ca):/root/tmp/devsec-3.0.6/devsec/web_interface/main= .c:136:=20 >>>> undefined reference to `tpl_engine_delete' >>>> collect2: ld returned 1 exit status >>>> make[4]: *** [index.cgi] Error 1 >>>> make[4]: Leaving directory=20 >>>> `/root/tmp/devsec-3.0.6/devsec/web_interface' >>>> make[3]: *** [all-recursive] Error 1 >>>> make[3]: Leaving directory=20 >>>> `/root/tmp/devsec-3.0.6/devsec/web_interface' >>>> make[2]: *** [all-recursive] Error 1 >>>> make[2]: Leaving directory `/root/tmp/devsec-3.0.6/devsec' >>>> make[1]: *** [all-recursive] Error 1 >>>> make[1]: Leaving directory `/root/tmp/devsec-3.0.6' >>>> make: *** [all] Error 2 >>>> -------------------------------------- >>>> >>>> Any ideas what it might be? >>>> >>>> >>>> >>>> Peter Hartshorn wrote: >>>> >>>>> I have been planning on getting V4L2 going now that I am using a=20 >>>>> 2.6 kernel. You could try to configure with --disable-v4l2 and see=20 >>>>> if that works. >>>>> >>>>> >>>>> Andres Toomsalu wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I'm trying to compile devsec 3.0.6 on 2.6.11 machine but make=20 >>>>>> fails with >>>>>> error described below. Is devsec 3.0.6 only supporting v4l API=20 >>>>>> drivers >>>>>> and not v4l2 API drivers included with 2.6 kernels? Do I have to=20 >>>>>> use 2.4 >>>>>> kernel with V4L API and older V4L bttv driver for example in=20 >>>>>> order to >>>>>> successfully build devsec? >>>>>> >>>>>> make log: >>>>>> ---------------------------- >>>>>> make[7]: Entering directory >>>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server/tsrep3' >>>>>> /bin/sh ../../libtool --tag=3DCXX --mode=3Dlink g++ -DADD_XVID_ENC= ODER >>>>>> -DADD_LAME_ENCODER -DADD_FAAC_ENCODER -D_REENTRANT -DNOCONTROLS >>>>>> -fexceptions -Wall -Wmissing-prototypes -Wno-char-subscripts >>>>>> -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated >>>>>> -falign-loops=3D2 -falign-functions=3D2 -O2 -Wpointer-arithu >>>>>> -fexpensive-optimizations -funroll-loops -finline-functions -DNDEB= UG >>>>>> -Wformat=3D2 -g -O2 -DUSE_MMX -DMPEG4IP -o tsrep3 audio_encoder= .o >>>>>> audio_encoder_tables.o video_encoder.o video_encoder_tables.o=20 >>>>>> mp4live.o >>>>>> tsrep_com.o cpu_accel.o graphics.o motion.o gui_main.o socket.o >>>>>> message.o tsrep_options.o rgb2yuv.o video_out.o video_out_ppm.o >>>>>> video_out_yuv.o yuv2rgb.o yuv2rgb_mlib.o yuv2rgb_mmx.o =20 >>>>>> libmp4live.la >>>>>> -lfaac -lmp3lame ../../common/video/libmpeg32/libmpeg3.la >>>>>> ../../lib/msg_queue/libmsg_queue.la ../../lib/mp4v2/libmp4v2.la >>>>>> ../../lib/mp4av/libmp4av.la ../../lib/rtp/libuclmmbase.la >>>>>> ../../lib/sdp/libsdp.la ../../lib/gnu/libmpeg4ip_gnu.la >>>>>> ../../lib/utils/libutils.la ./h261/libmp4live_h261.la -lpthread >>>>>> -L/usr/X11R6/lib -lX11 -L/usr/lib -Wl,-rpath,/usr/lib -lSDL=20 >>>>>> -lpthread >>>>>> libmp4livepreview.la ../../../../ffmpeg/libavcodec/libavcodec.a -l= z >>>>>> -lvorbis -lvorbisenc -lfaad -ldl >>>>>> g++ -DADD_XVID_ENCODER -DADD_LAME_ENCODER -DADD_FAAC_ENCODER >>>>>> -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Wmissing-prototypes >>>>>> -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas >>>>>> -Wno-deprecated -falign-loops=3D2 -falign-functions=3D2 -O2=20 >>>>>> -Wpointer-arithu >>>>>> -fexpensive-optimizations -funroll-loops -finline-functions -DNDEB= UG >>>>>> -Wformat=3D2 -g -O2 -DUSE_MMX -DMPEG4IP -o .libs/tsrep3=20 >>>>>> audio_encoder.o >>>>>> audio_encoder_tables.o video_encoder.o video_encoder_tables.o=20 >>>>>> mp4live.o >>>>>> tsrep_com.o cpu_accel.o graphics.o motion.o gui_main.o socket.o >>>>>> message.o tsrep_options.o rgb2yuv.o video_out.o video_out_ppm.o >>>>>> video_out_yuv.o yuv2rgb.o yuv2rgb_mlib.o yuv2rgb_mmx.o -Wl,-rpath >>>>>> -Wl,/usr/lib ./.libs/libmp4live.a -L/usr/i686-pc-linux-gnu/bin >>>>>> -L/usr/i686-pc-linux-gnu/lib >>>>>> -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/li= b >>>>>> /usr/lib/libfaac.so /usr/lib/libmp3lame.so >>>>>> ../../common/video/libmpeg32/.libs/libmpeg3.a >>>>>> ../../lib/msg_queue/.libs/libmsg_queue.so >>>>>> ../../lib/mp4v2/.libs/libmp4v2.so ../../lib/mp4av/.libs/libmp4av.s= o >>>>>> ../../lib/rtp/.libs/libuclmmbase.a ../../lib/sdp/.libs/libsdp.so >>>>>> ../../lib/gnu/.libs/libmpeg4ip_gnu.a=20 >>>>>> ../../lib/utils/.libs/libutils.a >>>>>> ./h261/.libs/libmp4live_h261.a -L/usr/X11R6/lib -L/usr/lib >>>>>> /usr/lib/libSDL.so ./.libs/libmp4livepreview.a >>>>>> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so >>>>>> ../../../../ffmpeg/libavcodec/libavcodec.a -lz /usr/lib/libvorbis.= so >>>>>> /usr/lib/libvorbisenc.so /usr/lib/libfaad.so -ldl -lX11 -lXext=20 >>>>>> -lpthread >>>>>> gui_main.o(.text+0xa0): In function `grab_frame(ts_frame*)': >>>>>> gui/gui_main.cpp:47: undefined reference to `v4l_pipe' >>>>>> gui_main.o(.text+0x110):gui/gui_main.cpp:59: undefined reference t= o >>>>>> `v4l_pipe' >>>>>> collect2: ld returned 1 exit status >>>>>> make[7]: *** [tsrep3] Error 1 >>>>>> make[7]: Leaving directory >>>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server/tsrep3' >>>>>> make[6]: *** [all-recursive] Error 1 >>>>>> make[6]: Leaving directory >>>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server/tsrep3' >>>>>> make[5]: *** [all-recursive] Error 1 >>>>>> make[5]: Leaving directory=20 >>>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server' >>>>>> make[4]: *** [all-recursive] Error 1 >>>>>> make[4]: Leaving directory `/root/tmp/devsec-3.0.6/devsec/tsrep3' >>>>>> make[3]: *** [all] Error 2 >>>>>> make[3]: Leaving directory `/root/tmp/devsec-3.0.6/devsec/tsrep3' >>>>>> make[2]: *** [all-recursive] Error 1 >>>>>> make[2]: Leaving directory `/root/tmp/devsec-3.0.6/devsec' >>>>>> make[1]: *** [all-recursive] Error 1 >>>>>> make[1]: Leaving directory `/root/tmp/devsec-3.0.6' >>>>>> make: *** [all] Error 2 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Best Regards, >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server.=20 > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Devsec-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devsec-users > --=20 ---------------------------------------------- Andres Toomsalu, an...@ac... juhataja - general manager, O=DC Active Systems Lille 4-205, P=E4rnu 80041, phone +372 44 70 595 GSM +372 56 496 124, IM: fr...@ja... http://www.active.ee |
From: Peter H. <p3...@us...> - 2005-11-02 21:28:31
|
Congradulations on successfully building it. To select the video input add "videoInput=1" to the camera0.conf file. Also, to specify the number of cameras, add "cameras=<number>" to global.conf. These will eventually be added to the configuation dialog. Andres Toomsalu wrote: > Moving false libtemplate entries out from /usr/lib helped and I managed > to compile the beast. > It installed fine. > > Now I'm stuck with my ATI TV wonder input selection - how could I > specify in devsec to choose composite video input (channel 1) instead of > TV tuner (e.g. channel 0)? Some config parameter in > /usr/local/lib/dtk/config/devsec/mp4live/camera0.conf file? > > > > Peter Hartshorn wrote: > >> Could you test something for me, move the libtemplate* files in >> /usr/lib to another location and >> see if that solves the problem. If so, I will have to determine a way >> to check for the correct >> version of libtemplate. Damn. >> >> Andres Toomsalu wrote: >> >>> the file listing from /usr/local/lib where I installed libtemplate is >>> different from /usr/lib - maybe they are different libraries with >>> same name? >>> >>> ls -l /usr/local/lib/ | grep template >>> ------------------------ >>> -rw-r--r-- 1 root root 11418 Oct 31 13:38 libtemplate.a >>> >>> ls -l /usr/lib/ | grep template >>> ------------------------- >>> -rwxr-xr-x 1 root root 729 Jul 1 11:01 libtemplate.la >>> lrwxrwxrwx 1 root root 20 Jul 1 11:01 libtemplate.so -> >>> libtemplate.so.1.0.0 >>> lrwxrwxrwx 1 root root 20 Jul 1 11:01 libtemplate.so.1 -> >>> libtemplate.so.1.0.0 >>> -rwxr-xr-x 1 root root 112468 Jul 1 11:01 libtemplate.so.1.0.0 >>> >>> devsec/web_interface/Makefile.am contains the following: >>> -------------------------------------------------- >>> SUBDIRS=templates images >>> bindir=/home/httpd/cgi-bin >>> sysconfdir=/home/httpd/html >>> bin_PROGRAMS=index.cgi >>> index_cgi_SOURCES = \ >>> main.c \ >>> cameras.c \ >>> sysstats.c \ >>> config.c >>> >>> index_cgi_LDADD = -ltemplate -lcgi >>> >>> dist_sysconf_DATA= \ >>> index.html \ >>> style.css \ >>> 95.css \ >>> fp.css \ >>> ice.css >>> ------------------------------------------------ >>> >>> and 'grep -r libtemplate * ' returns only: >>> ---------------------------------------------------------- >>> README:1- get libtemplate and libcgi from the net and install. >>> >>> >>> >>> >>> Peter Hartshorn wrote: >>> >>>> Interesting that there is a reference to /usr/lib/libtemplate.so. >>>> Could you have a look at the file devsec/web_interface/Makefile.am >>>> to see if this hard coded reference is in there. Attached is the >>>> output that I get when running make from the web_interface >>>> directory. As you can see, there is not a reference to >>>> /usr/lib/libtemplate.so. I do not even have the shared library >>>> installed. I only have the static library. >>>> >>>> Could you also grep the entire source tree for libtemplate (`grep -r >>>> libtemplate *`) and send me the output. >>>> >>>> Thanks >>>> >>>> >>>> Andres Toomsalu wrote: >>>> >>>>> --disable-v4l2 helped to proceed with compiling but now I get error >>>>> regarding libtemplate I think. I have libtemplate 1.5 correctly >>>>> installed at /usr/local/ >>>>> >>>>> Here is the error: >>>>> ----------------------------- >>>>> make[4]: Entering directory >>>>> `/root/tmp/devsec-3.0.6/devsec/web_interface' >>>>> /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -o >>>>> index.cgi main.o cameras.o sysstats.o config.o -ltemplate -lcgi >>>>> gcc -g -O2 -o index.cgi main.o cameras.o sysstats.o config.o >>>>> /usr/lib/libtemplate.so -lcgi -ldl -lpthread >>>>> main.o(.text+0x1f1): In function `get_resources': >>>>> /root/tmp/devsec-3.0.6/devsec/web_interface/main.c:44: undefined >>>>> reference to `tpl_element_set' >>>>> main.o(.text+0x251):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:46: >>>>> undefined reference to `tpl_element_set' >>>>> main.o(.text+0x359): In function `load_camera_entries': >>>>> /root/tmp/devsec-3.0.6/devsec/web_interface/main.c:74: undefined >>>>> reference to `tpl_element_set' >>>>> main.o(.text+0x428):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:84: >>>>> undefined reference to `tpl_element_set' >>>>> main.o(.text+0x440):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:85: >>>>> undefined reference to `tpl_element_set' >>>>> main.o(.text+0x466):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:86: >>>>> undefined reference to `tpl_parse' >>>>> main.o(.text+0x48c):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:87: >>>>> undefined reference to `tpl_parse' >>>>> main.o(.text+0x4ec): In function `main': >>>>> /root/tmp/devsec-3.0.6/devsec/web_interface/main.c:113: undefined >>>>> reference to `tpl_engine_new' >>>>> main.o(.text+0x4ff):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:114: >>>>> undefined reference to `tpl_file_load' >>>>> main.o(.text+0x567):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:127: >>>>> undefined reference to `tpl_element_set' >>>>> main.o(.text+0x59b):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:130: >>>>> undefined reference to `tpl_parse' >>>>> main.o(.text+0x5ac):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:131: >>>>> undefined reference to `tpl_element_get' >>>>> main.o(.text+0x5ca):/root/tmp/devsec-3.0.6/devsec/web_interface/main.c:136: >>>>> undefined reference to `tpl_engine_delete' >>>>> collect2: ld returned 1 exit status >>>>> make[4]: *** [index.cgi] Error 1 >>>>> make[4]: Leaving directory >>>>> `/root/tmp/devsec-3.0.6/devsec/web_interface' >>>>> make[3]: *** [all-recursive] Error 1 >>>>> make[3]: Leaving directory >>>>> `/root/tmp/devsec-3.0.6/devsec/web_interface' >>>>> make[2]: *** [all-recursive] Error 1 >>>>> make[2]: Leaving directory `/root/tmp/devsec-3.0.6/devsec' >>>>> make[1]: *** [all-recursive] Error 1 >>>>> make[1]: Leaving directory `/root/tmp/devsec-3.0.6' >>>>> make: *** [all] Error 2 >>>>> -------------------------------------- >>>>> >>>>> Any ideas what it might be? >>>>> >>>>> >>>>> >>>>> Peter Hartshorn wrote: >>>>> >>>>>> I have been planning on getting V4L2 going now that I am using a >>>>>> 2.6 kernel. You could try to configure with --disable-v4l2 and see >>>>>> if that works. >>>>>> >>>>>> >>>>>> Andres Toomsalu wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I'm trying to compile devsec 3.0.6 on 2.6.11 machine but make >>>>>>> fails with >>>>>>> error described below. Is devsec 3.0.6 only supporting v4l API >>>>>>> drivers >>>>>>> and not v4l2 API drivers included with 2.6 kernels? Do I have to >>>>>>> use 2.4 >>>>>>> kernel with V4L API and older V4L bttv driver for example in >>>>>>> order to >>>>>>> successfully build devsec? >>>>>>> >>>>>>> make log: >>>>>>> ---------------------------- >>>>>>> make[7]: Entering directory >>>>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server/tsrep3' >>>>>>> /bin/sh ../../libtool --tag=CXX --mode=link g++ -DADD_XVID_ENCODER >>>>>>> -DADD_LAME_ENCODER -DADD_FAAC_ENCODER -D_REENTRANT -DNOCONTROLS >>>>>>> -fexceptions -Wall -Wmissing-prototypes -Wno-char-subscripts >>>>>>> -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated >>>>>>> -falign-loops=2 -falign-functions=2 -O2 -Wpointer-arithu >>>>>>> -fexpensive-optimizations -funroll-loops -finline-functions -DNDEBUG >>>>>>> -Wformat=2 -g -O2 -DUSE_MMX -DMPEG4IP -o tsrep3 audio_encoder.o >>>>>>> audio_encoder_tables.o video_encoder.o video_encoder_tables.o >>>>>>> mp4live.o >>>>>>> tsrep_com.o cpu_accel.o graphics.o motion.o gui_main.o socket.o >>>>>>> message.o tsrep_options.o rgb2yuv.o video_out.o video_out_ppm.o >>>>>>> video_out_yuv.o yuv2rgb.o yuv2rgb_mlib.o yuv2rgb_mmx.o >>>>>>> libmp4live.la >>>>>>> -lfaac -lmp3lame ../../common/video/libmpeg32/libmpeg3.la >>>>>>> ../../lib/msg_queue/libmsg_queue.la ../../lib/mp4v2/libmp4v2.la >>>>>>> ../../lib/mp4av/libmp4av.la ../../lib/rtp/libuclmmbase.la >>>>>>> ../../lib/sdp/libsdp.la ../../lib/gnu/libmpeg4ip_gnu.la >>>>>>> ../../lib/utils/libutils.la ./h261/libmp4live_h261.la -lpthread >>>>>>> -L/usr/X11R6/lib -lX11 -L/usr/lib -Wl,-rpath,/usr/lib -lSDL >>>>>>> -lpthread >>>>>>> libmp4livepreview.la ../../../../ffmpeg/libavcodec/libavcodec.a -lz >>>>>>> -lvorbis -lvorbisenc -lfaad -ldl >>>>>>> g++ -DADD_XVID_ENCODER -DADD_LAME_ENCODER -DADD_FAAC_ENCODER >>>>>>> -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Wmissing-prototypes >>>>>>> -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas >>>>>>> -Wno-deprecated -falign-loops=2 -falign-functions=2 -O2 >>>>>>> -Wpointer-arithu >>>>>>> -fexpensive-optimizations -funroll-loops -finline-functions -DNDEBUG >>>>>>> -Wformat=2 -g -O2 -DUSE_MMX -DMPEG4IP -o .libs/tsrep3 >>>>>>> audio_encoder.o >>>>>>> audio_encoder_tables.o video_encoder.o video_encoder_tables.o >>>>>>> mp4live.o >>>>>>> tsrep_com.o cpu_accel.o graphics.o motion.o gui_main.o socket.o >>>>>>> message.o tsrep_options.o rgb2yuv.o video_out.o video_out_ppm.o >>>>>>> video_out_yuv.o yuv2rgb.o yuv2rgb_mlib.o yuv2rgb_mmx.o -Wl,-rpath >>>>>>> -Wl,/usr/lib ./.libs/libmp4live.a -L/usr/i686-pc-linux-gnu/bin >>>>>>> -L/usr/i686-pc-linux-gnu/lib >>>>>>> -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib >>>>>>> /usr/lib/libfaac.so /usr/lib/libmp3lame.so >>>>>>> ../../common/video/libmpeg32/.libs/libmpeg3.a >>>>>>> ../../lib/msg_queue/.libs/libmsg_queue.so >>>>>>> ../../lib/mp4v2/.libs/libmp4v2.so ../../lib/mp4av/.libs/libmp4av.so >>>>>>> ../../lib/rtp/.libs/libuclmmbase.a ../../lib/sdp/.libs/libsdp.so >>>>>>> ../../lib/gnu/.libs/libmpeg4ip_gnu.a >>>>>>> ../../lib/utils/.libs/libutils.a >>>>>>> ./h261/.libs/libmp4live_h261.a -L/usr/X11R6/lib -L/usr/lib >>>>>>> /usr/lib/libSDL.so ./.libs/libmp4livepreview.a >>>>>>> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so >>>>>>> ../../../../ffmpeg/libavcodec/libavcodec.a -lz /usr/lib/libvorbis.so >>>>>>> /usr/lib/libvorbisenc.so /usr/lib/libfaad.so -ldl -lX11 -lXext >>>>>>> -lpthread >>>>>>> gui_main.o(.text+0xa0): In function `grab_frame(ts_frame*)': >>>>>>> gui/gui_main.cpp:47: undefined reference to `v4l_pipe' >>>>>>> gui_main.o(.text+0x110):gui/gui_main.cpp:59: undefined reference to >>>>>>> `v4l_pipe' >>>>>>> collect2: ld returned 1 exit status >>>>>>> make[7]: *** [tsrep3] Error 1 >>>>>>> make[7]: Leaving directory >>>>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server/tsrep3' >>>>>>> make[6]: *** [all-recursive] Error 1 >>>>>>> make[6]: Leaving directory >>>>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server/tsrep3' >>>>>>> make[5]: *** [all-recursive] Error 1 >>>>>>> make[5]: Leaving directory >>>>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server' >>>>>>> make[4]: *** [all-recursive] Error 1 >>>>>>> make[4]: Leaving directory `/root/tmp/devsec-3.0.6/devsec/tsrep3' >>>>>>> make[3]: *** [all] Error 2 >>>>>>> make[3]: Leaving directory `/root/tmp/devsec-3.0.6/devsec/tsrep3' >>>>>>> make[2]: *** [all-recursive] Error 1 >>>>>>> make[2]: Leaving directory `/root/tmp/devsec-3.0.6/devsec' >>>>>>> make[1]: *** [all-recursive] Error 1 >>>>>>> make[1]: Leaving directory `/root/tmp/devsec-3.0.6' >>>>>>> make: *** [all] Error 2 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Best Regards, >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: >> Tame your development challenges with Apache's Geronimo App Server. >> Download >> it for free - -and be entered to win a 42" plasma tv or your very own >> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >> _______________________________________________ >> Devsec-users mailing list >> Dev...@li... >> https://lists.sourceforge.net/lists/listinfo/devsec-users >> > > |
From: Andres T. <an...@ac...> - 2005-11-03 06:28:18
|
I made the suggested changes but nothing changes really - devsec still=20 selects card TV input not Composite. I'll attach configuration files, devsec runtime log and screenshot for=20 more information... Peter Hartshorn wrote: > Congradulations on successfully building it. To select the video input=20 > add "videoInput=3D1" to the camera0.conf file. > > Also, to specify the number of cameras, add "cameras=3D<number>" to=20 > global.conf. > > These will eventually be added to the configuation dialog. > > Andres Toomsalu wrote: > >> Moving false libtemplate entries out from /usr/lib helped and I=20 >> managed to compile the beast. >> It installed fine. >> >> Now I'm stuck with my ATI TV wonder input selection - how could I=20 >> specify in devsec to choose composite video input (channel 1) instead=20 >> of TV tuner (e.g. channel 0)? Some config parameter in=20 >> /usr/local/lib/dtk/config/devsec/mp4live/camera0.conf file? >> >> >> >> Peter Hartshorn wrote: >> >>> Could you test something for me, move the libtemplate* files in=20 >>> /usr/lib to another location and >>> see if that solves the problem. If so, I will have to determine a=20 >>> way to check for the correct >>> version of libtemplate. Damn. >>> >>> Andres Toomsalu wrote: >>> >>>> the file listing from /usr/local/lib where I installed libtemplate i= s >>>> different from /usr/lib - maybe they are different libraries with=20 >>>> same name? >>>> >>>> ls -l /usr/local/lib/ | grep template >>>> ------------------------ >>>> -rw-r--r-- 1 root root 11418 Oct 31 13:38 libtemplate.a >>>> >>>> ls -l /usr/lib/ | grep template >>>> ------------------------- >>>> -rwxr-xr-x 1 root root 729 Jul 1 11:01 libtemplate.la >>>> lrwxrwxrwx 1 root root 20 Jul 1 11:01 libtemplate.so -> >>>> libtemplate.so.1.0.0 >>>> lrwxrwxrwx 1 root root 20 Jul 1 11:01 libtemplate.so.1 -> >>>> libtemplate.so.1.0.0 >>>> -rwxr-xr-x 1 root root 112468 Jul 1 11:01 libtemplate.so.1.0.0 >>>> >>>> devsec/web_interface/Makefile.am contains the following: >>>> -------------------------------------------------- >>>> SUBDIRS=3Dtemplates images >>>> bindir=3D/home/httpd/cgi-bin >>>> sysconfdir=3D/home/httpd/html >>>> bin_PROGRAMS=3Dindex.cgi >>>> index_cgi_SOURCES =3D \ >>>> main.c \ >>>> cameras.c \ >>>> sysstats.c \ >>>> config.c >>>> >>>> index_cgi_LDADD =3D -ltemplate -lcgi >>>> >>>> dist_sysconf_DATA=3D \ >>>> index.html \ >>>> style.css \ >>>> 95.css \ >>>> fp.css \ >>>> ice.css >>>> ------------------------------------------------ >>>> >>>> and 'grep -r libtemplate * ' returns only: >>>> ---------------------------------------------------------- >>>> README:1- get libtemplate and libcgi from the net and install. >>>> >>>> >>>> >>>> >>>> Peter Hartshorn wrote: >>>> >>>>> Interesting that there is a reference to /usr/lib/libtemplate.so.=20 >>>>> Could you have a look at the file devsec/web_interface/Makefile.am=20 >>>>> to see if this hard coded reference is in there. Attached is the=20 >>>>> output that I get when running make from the web_interface=20 >>>>> directory. As you can see, there is not a reference to=20 >>>>> /usr/lib/libtemplate.so. I do not even have the shared library=20 >>>>> installed. I only have the static library. >>>>> >>>>> Could you also grep the entire source tree for libtemplate (`grep=20 >>>>> -r libtemplate *`) and send me the output. >>>>> >>>>> Thanks >>>>> >>>>> >>>>> Andres Toomsalu wrote: >>>>> >>>>>> --disable-v4l2 helped to proceed with compiling but now I get=20 >>>>>> error regarding libtemplate I think. I have libtemplate 1.5=20 >>>>>> correctly installed at /usr/local/ >>>>>> >>>>>> Here is the error: >>>>>> ----------------------------- >>>>>> make[4]: Entering directory=20 >>>>>> `/root/tmp/devsec-3.0.6/devsec/web_interface' >>>>>> /bin/sh ../../libtool --tag=3DCC --mode=3Dlink gcc -g -O2 -o=20 >>>>>> index.cgi main.o cameras.o sysstats.o config.o -ltemplate -lcgi >>>>>> gcc -g -O2 -o index.cgi main.o cameras.o sysstats.o config.o =20 >>>>>> /usr/lib/libtemplate.so -lcgi -ldl -lpthread >>>>>> main.o(.text+0x1f1): In function `get_resources': >>>>>> /root/tmp/devsec-3.0.6/devsec/web_interface/main.c:44: undefined=20 >>>>>> reference to `tpl_element_set' >>>>>> main.o(.text+0x251):/root/tmp/devsec-3.0.6/devsec/web_interface/ma= in.c:46:=20 >>>>>> undefined reference to `tpl_element_set' >>>>>> main.o(.text+0x359): In function `load_camera_entries': >>>>>> /root/tmp/devsec-3.0.6/devsec/web_interface/main.c:74: undefined=20 >>>>>> reference to `tpl_element_set' >>>>>> main.o(.text+0x428):/root/tmp/devsec-3.0.6/devsec/web_interface/ma= in.c:84:=20 >>>>>> undefined reference to `tpl_element_set' >>>>>> main.o(.text+0x440):/root/tmp/devsec-3.0.6/devsec/web_interface/ma= in.c:85:=20 >>>>>> undefined reference to `tpl_element_set' >>>>>> main.o(.text+0x466):/root/tmp/devsec-3.0.6/devsec/web_interface/ma= in.c:86:=20 >>>>>> undefined reference to `tpl_parse' >>>>>> main.o(.text+0x48c):/root/tmp/devsec-3.0.6/devsec/web_interface/ma= in.c:87:=20 >>>>>> undefined reference to `tpl_parse' >>>>>> main.o(.text+0x4ec): In function `main': >>>>>> /root/tmp/devsec-3.0.6/devsec/web_interface/main.c:113: undefined=20 >>>>>> reference to `tpl_engine_new' >>>>>> main.o(.text+0x4ff):/root/tmp/devsec-3.0.6/devsec/web_interface/ma= in.c:114:=20 >>>>>> undefined reference to `tpl_file_load' >>>>>> main.o(.text+0x567):/root/tmp/devsec-3.0.6/devsec/web_interface/ma= in.c:127:=20 >>>>>> undefined reference to `tpl_element_set' >>>>>> main.o(.text+0x59b):/root/tmp/devsec-3.0.6/devsec/web_interface/ma= in.c:130:=20 >>>>>> undefined reference to `tpl_parse' >>>>>> main.o(.text+0x5ac):/root/tmp/devsec-3.0.6/devsec/web_interface/ma= in.c:131:=20 >>>>>> undefined reference to `tpl_element_get' >>>>>> main.o(.text+0x5ca):/root/tmp/devsec-3.0.6/devsec/web_interface/ma= in.c:136:=20 >>>>>> undefined reference to `tpl_engine_delete' >>>>>> collect2: ld returned 1 exit status >>>>>> make[4]: *** [index.cgi] Error 1 >>>>>> make[4]: Leaving directory=20 >>>>>> `/root/tmp/devsec-3.0.6/devsec/web_interface' >>>>>> make[3]: *** [all-recursive] Error 1 >>>>>> make[3]: Leaving directory=20 >>>>>> `/root/tmp/devsec-3.0.6/devsec/web_interface' >>>>>> make[2]: *** [all-recursive] Error 1 >>>>>> make[2]: Leaving directory `/root/tmp/devsec-3.0.6/devsec' >>>>>> make[1]: *** [all-recursive] Error 1 >>>>>> make[1]: Leaving directory `/root/tmp/devsec-3.0.6' >>>>>> make: *** [all] Error 2 >>>>>> -------------------------------------- >>>>>> >>>>>> Any ideas what it might be? >>>>>> >>>>>> >>>>>> >>>>>> Peter Hartshorn wrote: >>>>>> >>>>>>> I have been planning on getting V4L2 going now that I am using a=20 >>>>>>> 2.6 kernel. You could try to configure with --disable-v4l2 and=20 >>>>>>> see if that works. >>>>>>> >>>>>>> >>>>>>> Andres Toomsalu wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I'm trying to compile devsec 3.0.6 on 2.6.11 machine but make=20 >>>>>>>> fails with >>>>>>>> error described below. Is devsec 3.0.6 only supporting v4l API=20 >>>>>>>> drivers >>>>>>>> and not v4l2 API drivers included with 2.6 kernels? Do I have=20 >>>>>>>> to use 2.4 >>>>>>>> kernel with V4L API and older V4L bttv driver for example in=20 >>>>>>>> order to >>>>>>>> successfully build devsec? >>>>>>>> >>>>>>>> make log: >>>>>>>> ---------------------------- >>>>>>>> make[7]: Entering directory >>>>>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server/tsrep3' >>>>>>>> /bin/sh ../../libtool --tag=3DCXX --mode=3Dlink g++ -DADD_XVID_E= NCODER >>>>>>>> -DADD_LAME_ENCODER -DADD_FAAC_ENCODER -D_REENTRANT -DNOCONTROLS >>>>>>>> -fexceptions -Wall -Wmissing-prototypes -Wno-char-subscripts >>>>>>>> -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated >>>>>>>> -falign-loops=3D2 -falign-functions=3D2 -O2 -Wpointer-arithu >>>>>>>> -fexpensive-optimizations -funroll-loops -finline-functions=20 >>>>>>>> -DNDEBUG >>>>>>>> -Wformat=3D2 -g -O2 -DUSE_MMX -DMPEG4IP -o tsrep3 audio_encod= er.o >>>>>>>> audio_encoder_tables.o video_encoder.o video_encoder_tables.o=20 >>>>>>>> mp4live.o >>>>>>>> tsrep_com.o cpu_accel.o graphics.o motion.o gui_main.o socket.o >>>>>>>> message.o tsrep_options.o rgb2yuv.o video_out.o video_out_ppm.o >>>>>>>> video_out_yuv.o yuv2rgb.o yuv2rgb_mlib.o yuv2rgb_mmx.o =20 >>>>>>>> libmp4live.la >>>>>>>> -lfaac -lmp3lame ../../common/video/libmpeg32/libmpeg3.la >>>>>>>> ../../lib/msg_queue/libmsg_queue.la ../../lib/mp4v2/libmp4v2.la >>>>>>>> ../../lib/mp4av/libmp4av.la ../../lib/rtp/libuclmmbase.la >>>>>>>> ../../lib/sdp/libsdp.la ../../lib/gnu/libmpeg4ip_gnu.la >>>>>>>> ../../lib/utils/libutils.la ./h261/libmp4live_h261.la -lpthread >>>>>>>> -L/usr/X11R6/lib -lX11 -L/usr/lib -Wl,-rpath,/usr/lib -lSDL=20 >>>>>>>> -lpthread >>>>>>>> libmp4livepreview.la ../../../../ffmpeg/libavcodec/libavcodec.a=20 >>>>>>>> -lz >>>>>>>> -lvorbis -lvorbisenc -lfaad -ldl >>>>>>>> g++ -DADD_XVID_ENCODER -DADD_LAME_ENCODER -DADD_FAAC_ENCODER >>>>>>>> -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Wmissing-prototype= s >>>>>>>> -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas >>>>>>>> -Wno-deprecated -falign-loops=3D2 -falign-functions=3D2 -O2=20 >>>>>>>> -Wpointer-arithu >>>>>>>> -fexpensive-optimizations -funroll-loops -finline-functions=20 >>>>>>>> -DNDEBUG >>>>>>>> -Wformat=3D2 -g -O2 -DUSE_MMX -DMPEG4IP -o .libs/tsrep3=20 >>>>>>>> audio_encoder.o >>>>>>>> audio_encoder_tables.o video_encoder.o video_encoder_tables.o=20 >>>>>>>> mp4live.o >>>>>>>> tsrep_com.o cpu_accel.o graphics.o motion.o gui_main.o socket.o >>>>>>>> message.o tsrep_options.o rgb2yuv.o video_out.o video_out_ppm.o >>>>>>>> video_out_yuv.o yuv2rgb.o yuv2rgb_mlib.o yuv2rgb_mmx.o -Wl,-rpat= h >>>>>>>> -Wl,/usr/lib ./.libs/libmp4live.a -L/usr/i686-pc-linux-gnu/bin >>>>>>>> -L/usr/i686-pc-linux-gnu/lib >>>>>>>> -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/= lib=20 >>>>>>>> >>>>>>>> /usr/lib/libfaac.so /usr/lib/libmp3lame.so >>>>>>>> ../../common/video/libmpeg32/.libs/libmpeg3.a >>>>>>>> ../../lib/msg_queue/.libs/libmsg_queue.so >>>>>>>> ../../lib/mp4v2/.libs/libmp4v2.so=20 >>>>>>>> ../../lib/mp4av/.libs/libmp4av.so >>>>>>>> ../../lib/rtp/.libs/libuclmmbase.a ../../lib/sdp/.libs/libsdp.so >>>>>>>> ../../lib/gnu/.libs/libmpeg4ip_gnu.a=20 >>>>>>>> ../../lib/utils/.libs/libutils.a >>>>>>>> ./h261/.libs/libmp4live_h261.a -L/usr/X11R6/lib -L/usr/lib >>>>>>>> /usr/lib/libSDL.so ./.libs/libmp4livepreview.a >>>>>>>> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so >>>>>>>> ../../../../ffmpeg/libavcodec/libavcodec.a -lz=20 >>>>>>>> /usr/lib/libvorbis.so >>>>>>>> /usr/lib/libvorbisenc.so /usr/lib/libfaad.so -ldl -lX11 -lXext=20 >>>>>>>> -lpthread >>>>>>>> gui_main.o(.text+0xa0): In function `grab_frame(ts_frame*)': >>>>>>>> gui/gui_main.cpp:47: undefined reference to `v4l_pipe' >>>>>>>> gui_main.o(.text+0x110):gui/gui_main.cpp:59: undefined=20 >>>>>>>> reference to >>>>>>>> `v4l_pipe' >>>>>>>> collect2: ld returned 1 exit status >>>>>>>> make[7]: *** [tsrep3] Error 1 >>>>>>>> make[7]: Leaving directory >>>>>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server/tsrep3' >>>>>>>> make[6]: *** [all-recursive] Error 1 >>>>>>>> make[6]: Leaving directory >>>>>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server/tsrep3' >>>>>>>> make[5]: *** [all-recursive] Error 1 >>>>>>>> make[5]: Leaving directory=20 >>>>>>>> `/root/tmp/devsec-3.0.6/devsec/tsrep3/server' >>>>>>>> make[4]: *** [all-recursive] Error 1 >>>>>>>> make[4]: Leaving directory `/root/tmp/devsec-3.0.6/devsec/tsrep3= ' >>>>>>>> make[3]: *** [all] Error 2 >>>>>>>> make[3]: Leaving directory `/root/tmp/devsec-3.0.6/devsec/tsrep3= ' >>>>>>>> make[2]: *** [all-recursive] Error 1 >>>>>>>> make[2]: Leaving directory `/root/tmp/devsec-3.0.6/devsec' >>>>>>>> make[1]: *** [all-recursive] Error 1 >>>>>>>> make[1]: Leaving directory `/root/tmp/devsec-3.0.6' >>>>>>>> make: *** [all] Error 2 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Best Regards, >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF.Net email is sponsored by: >>> Tame your development challenges with Apache's Geronimo App Server.=20 >>> Download >>> it for free - -and be entered to win a 42" plasma tv or your very own >>> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >>> _______________________________________________ >>> Devsec-users mailing list >>> Dev...@li... >>> https://lists.sourceforge.net/lists/listinfo/devsec-users >>> >> >> > > --=20 ---------------------------------------------- Andres Toomsalu, an...@ac... juhataja - general manager, O=DC Active Systems Lille 4-205, P=E4rnu 80041, phone +372 44 70 595 GSM +372 56 496 124, IM: fr...@ja... http://www.active.ee |
From: Peter H. <p3...@us...> - 2005-11-03 11:40:22
|
Below is your camera0.conf file, you need to add the following line: videoInput=1 the default is videoInput=0 Andres Toomsalu wrote: > I made the suggested changes but nothing changes really - devsec still > selects card TV input not Composite. > I'll attach configuration files, devsec runtime log and screenshot for > more information... > [SNIP] > ------------------------------------------------------------------------ > > duration=391 > durationUnits=31536000 > videoDevice=/dev/video0 > audioEnable=0 > audioInput=line > videoSignal=1 > videoTuner=0 > videoChannelListIndex=8 > videoChannelIndex=42 > videoPreview=1 > videoKeyFrameInterval=0.5 > videoEncodedPreview=0 > videoEncoder=ffmpeg > videoFrameRate=25.000000 > videoBitRate=951 > xvid10VideoQuality=0 > recordEnable=0 > rtpEnable=1 > rtpDestAddress=237.25.9.118 > audioRtpDestAddress=237.25.9.118 > rtpAudioDestPort=32002 > rtpVideoDestPort=32102 > rtpMulticastTtl=1 > recordAlways=1 > CameraName=Video0 > BoundsLeft=0 > BoundsTop=13 > BoundsRight=383 > BoundsBottom=287 > Sensitivity=160 > ShowBounds=0 > ShowMotion=0 > RecordOnMotion=0 > NotifyOnMotion=0 > Brightness=29089 > Contrast=32767 > Color=32767 > [SNIP] |
From: Peter H. <p3...@us...> - 2005-11-03 21:54:14
|
live.mp4 is the currently recording stream. Because this stream has not been closed yet it cannot be viewed. What happens is that there is a timer in devsec that checks the size of the file, when the file get around 16MB the application stops recording and the file is closed. It is then moved to a subdirectory named after the current date. The file is renamed to represet the start and end time of the stream. Recording is restarted and a new live.mp4 is created. This process takes less than a second. An example of the directory structure is as follows: /streams/ Video0/ live.mp4 <------------------ currently recorded stream 04Nov2005/ 1357.50_1358.06.mp4 <--- archived streams 1403.26_1403.31.mp4 I hope this helps. Andres Toomsalu wrote: > Sorry, my fault - I mixed it with videoSignal parameter earlier. > Now I got it all right and can see live stream from camera. > > I'm going to play around with devsec and ask more questions - that's for > sure... > I can see that it records live.mp4 stream into /streams folder but it > always stops after recording for 15megs or so and I can't figure out > what I'm doing that it stops or how do I reenable recording without > restarting the application. > Secondly I can't find anything to display live.mp4 file - mplayer > doesn't play it by default and also some other video players I tried - > any hints? > |
From: Peter H. <p3...@us...> - 2005-11-06 12:30:06
|
Sorry for the delay... Do you have libmp4v2.so anywhere on your system and what location(s)? If you have installed the mpg4ip packages, you could have a different version of the library. You could try setting the LD_LIBRARY_PATH environment variable to point to the one installed with devsec. It is installed into /<prefix>/lib/ So if you installed to /usr/local, try # export LD_LIBRARY_PATH=/usr/local/lib # devsec Andres Toomsalu wrote: > File rotation fails for me - it just stops recording and doesn't rotate > the file. > Getting some errors also from devsec: > ---------------------------------------------------------------------- > tsrep3: symbol lookup error: tsrep3: undefined symbol: MP4Exit > tsrep3: symbol lookup error: tsrep3: undefined symbol: MP4CloseIsma > > > Peter Hartshorn wrote: > >> live.mp4 is the currently recording stream. Because this stream has >> not been closed yet it cannot be viewed. What happens is that there is >> a timer in devsec that checks the size of the file, when the file get >> around 16MB the application stops recording and the file is closed. It >> is then moved to a subdirectory named after the current date. The file >> is renamed to represet the start and end time of the stream. Recording >> is restarted and a new live.mp4 is created. This process takes less >> than a second. >> >> An example of the directory structure is as follows: >> >> /streams/ >> Video0/ >> live.mp4 <------------------ currently recorded stream >> 04Nov2005/ >> 1357.50_1358.06.mp4 <--- archived streams >> 1403.26_1403.31.mp4 >> >> I hope this helps. >> >> Andres Toomsalu wrote: >> >>> Sorry, my fault - I mixed it with videoSignal parameter earlier. >>> Now I got it all right and can see live stream from camera. >>> >>> I'm going to play around with devsec and ask more questions - that's >>> for sure... >>> I can see that it records live.mp4 stream into /streams folder but it >>> always stops after recording for 15megs or so and I can't figure out >>> what I'm doing that it stops or how do I reenable recording without >>> restarting the application. >>> Secondly I can't find anything to display live.mp4 file - mplayer >>> doesn't play it by default and also some other video players I tried >>> - any hints? >>> >> >> > > |