Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure v4l2rtspserver-0.1.3 #21

Open
Anirudhdh opened this issue Mar 15, 2019 · 12 comments
Open

Build failure v4l2rtspserver-0.1.3 #21

Anirudhdh opened this issue Mar 15, 2019 · 12 comments

Comments

@Anirudhdh
Copy link

Anirudhdh commented Mar 15, 2019

I run the buildopenfang.sh script on Debian GCC 6.3.0 and get the following errors:

[ 59%] Building CXX object CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/ServerMediaSubsession.cpp.o
[ 62%] Building CXX object CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/ImpCapture.cpp.o
[ 65%] Building CXX object CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/main.cpp.o
[ 68%] Building CXX object CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/MJPEGVideoSource.cpp.o
In file included from /home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3/src/MJPEGVideoSource.cpp:14:0:
/home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3/inc/MJPEGVideoSource.h:15:30: fatal error: JPEGVideoSource.hh: No such file or directory
compilation terminated.
In file included from /home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3/src/ServerMediaSubsession.cpp:14:0:
/home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3/inc/ServerMediaSubsession.h:20:24: fatal error: liveMedia.hh: No such file or directory
compilation terminated.
In file included from /home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3/inc/ImpCapture.h:4:0,
                 from /home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3/src/ImpCapture.cpp:1:
/home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3/inc/DeviceSource.h:22:24: fatal error: liveMedia.hh: No such file or directory
compilation terminated.
In file included from /home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3/inc/MulticastServerMediaSubsession.h:12:0,
                 from /home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3/src/MulticastServerMediaSubsession.cpp:10:
/home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3/inc/ServerMediaSubsession.h:20:24: fatal error: liveMedia.hh: No such file or directory
compilation terminated.
/home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3/src/main.cpp:29:36: fatal error: BasicUsageEnvironment.hh: No such file or directory
compilation terminated.
CMakeFiles/v4l2rtspserver-v0.1.3.dir/build.make:62: recipe for target 'CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/MulticastServerMediaSubsession.cpp.o' failed
make[3]: *** [CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/MulticastServerMediaSubsession.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CMakeFiles/v4l2rtspserver-v0.1.3.dir/build.make:182: recipe for target 'CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/MJPEGVideoSource.cpp.o' failed
make[3]: *** [CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/MJPEGVideoSource.cpp.o] Error 1
CMakeFiles/v4l2rtspserver-v0.1.3.dir/build.make:110: recipe for target 'CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/ServerMediaSubsession.cpp.o' failed
make[3]: *** [CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/ServerMediaSubsession.cpp.o] Error 1
CMakeFiles/v4l2rtspserver-v0.1.3.dir/build.make:134: recipe for target 'CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/main.cpp.o' failed
make[3]: *** [CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/main.cpp.o] Error 1
CMakeFiles/v4l2rtspserver-v0.1.3.dir/build.make:206: recipe for target 'CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/ImpCapture.cpp.o' failed
make[3]: *** [CMakeFiles/v4l2rtspserver-v0.1.3.dir/src/ImpCapture.cpp.o] Error 1
make[3]: Leaving directory '/home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3'
CMakeFiles/Makefile2:291: recipe for target 'CMakeFiles/v4l2rtspserver-v0.1.3.dir/all' failed
make[2]: *** [CMakeFiles/v4l2rtspserver-v0.1.3.dir/all] Error 2
make[2]: Leaving directory '/home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3'
Makefile:160: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3'
package/pkg-generic.mk:195: recipe for target '/home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3/.stamp_built' failed
make: *** [/home/tt/openfang/_build/buildroot-2016.02/output/build/v4l2rtspserver-v0.1.3/.stamp_built] Error 2``` 
How to solve this issuse?
@Cabalist
Copy link
Contributor

Could you use ``` to enclose the error message? The formatting is all messed up without newlines. :)

@Anirudhdh Anirudhdh changed the title Build files Build filure Mar 15, 2019
@Anirudhdh
Copy link
Author

Could you use ``` to enclose the error message? The formatting is all messed up without newlines. :)

Fixit, sanx.

@Cabalist
Copy link
Contributor

It looks like live555 isn't being downloaded or put in the right place by the build script.

Silly question but are you building this on a machine with internet access?

@Anirudhdh
Copy link
Author

Anirudhdh commented Mar 16, 2019

It looks like live555 isn't being downloaded or put in the right place by the build script.

Silly question but are you building this on a machine with internet access?

find / -iname liveMedia.hh
/usr/include/liveMedia/liveMedia.hh
/home/tt/openfang/_build/buildroot-2016.02/output/host/usr/mipsel-ingenic-linux-uclibc/sysroot/usr/include/liveMedia/liveMedia.hh
/home/tt/openfang/_build/buildroot-2016.02/output/build/live555-2016.01.29/liveMedia/include/liveMedia.hh
/home/tt/openfang/_build/buildroot-2016.02/output/target/usr/include/liveMedia/liveMedia.hh

Internet is available, and liveMedia.hh looks downloaded, but buildopenfang.sh can't find it

@anmaped anmaped changed the title Build filure Build failure v4l2rtspserver-1.3.0 Mar 16, 2019
@anmaped
Copy link
Owner

anmaped commented Mar 16, 2019

How do you managed to enable v4l2rtspserver version 0.1.3 ?

Have you tried the docker container?

@anmaped anmaped changed the title Build failure v4l2rtspserver-1.3.0 Build failure v4l2rtspserver-0.1.3 Mar 16, 2019
@Anirudhdh
Copy link
Author

Anirudhdh commented Mar 17, 2019

How do you managed to enable v4l2rtspserver version 0.1.3 ?

Have you tried the docker container?

I just installed liblivemedia-dev from debian repo. Probably v4l2rtspserver is from there. I dont used docker

@anmaped
Copy link
Owner

anmaped commented Mar 18, 2019

Could I close the issue then?

@Anirudhdh
Copy link
Author

Anirudhdh commented Mar 18, 2019

Could I close the issue then?

Issue that I report is still not solved. Probably, the decision is obvious, but I am a noob in Linux. Could you please indicate a exact solution?

@anmaped
Copy link
Owner

anmaped commented Mar 19, 2019

Try to use docker then.

@Anirudhdh
Copy link
Author

Try to use docker then.

tt@qkg:~$ docker build -f ./Dockerfile -t openfang/container .
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/tt/Dockerfile: no such file or directory
tt@qkg:~$ mkdir /home/tt/Dockerfile

tt@qkg:~$ docker build -f ./Dockerfile -t openfang/container .
Sending build context to Docker daemon   7.11GB
Error response from daemon: unexpected error reading Dockerfile: read /var/lib/docker/tmp/docker-builder922711618/Dockerfile: is a directory

I get follow errors with docker installation.

@linkiln
Copy link

linkiln commented Mar 25, 2019

There is a problem in 0.1.3 with source of live555 package. You need to decompress and manually change location. After that create archive of v4l2rtspserver-v0.1.3. Also there is problem with 3 libraries libsharedmem.so, libwrap.so and libfilter.so, you need to put them in /usr/lib.

@anmaped
Copy link
Owner

anmaped commented Mar 25, 2019

v4l2rtspserver have done some changes in the repository (live555), you can check it there. However, 0.1.3 it's just not stable as 0.0.8 so I don't recommend to use it for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants