DaneLLL, r u using 4.1.1 Jetpack release or 4.1?
freshly flashed with 4.1.1 Jetson seems to build modules as per default.
U r using
/usr/src/linux-headers-4.9.108-tegra/kernel/
It succeeds with
/usr/src/linux-headers-4.9.108-tegra/kernel-4.9# make modules_prepare
The latter path exists in 4.1.1 generated filesystem, while the former exists in 4.1 Jetpack generated filesystem, as it seems to me.
Therefore the solution will be :
install Jetpack 4.1.1 and flash a jetson with it
switch to sudo and navigate to /usr/src/linux-headers-4.9.108-tegra/kernel-4.9 and try again (GOTO POST N1).
Regards,
Andrei
The issue has been resolved
with help of DaneLLL and Honey_Patouceul.
The solution that will allow to use onboard CSI devkit camera OV5693 as web chat camera for use within Internet Browser is listed below:
as the issue got resolved, checking the next idea:
wget https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.14.4.tar.xz
tar -xvf gstreamer-1.14.4.tar.xz
cd gstreamer-1.14.4/
./configure --libdir=/usr/lib/arm-linux-gnueabihf/
make
make install
wget https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.14.4.tar.xz
tar -xvf gst-rtsp-server-1.14.4.tar.xz
cd gst-rtsp-server-1.14.4/
./configure --libdir=/usr/lib/arm-linux-gnueabihf/
checking for GST... no
configure: Requested 'gstreamer-1.0 >= 1.14.4' but version of GStreamer is 1.14.1
configure: error: no gstreamer-1.0 >= 1.14.4 (GStreamer) found
gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test ! 'application/x-rtp, media=(string)video' ! decodebin ! videoconvert ! ximagesink
ERROR: pipeline could not be constructed: no element "rtspsrc".
nvidia@jetson-0wert:~/gst-rtsp-server-1.14.4/examples$ vlc
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[00000055af802580] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000055af890a70] main playlist: playlist is empty
Created new TCP socket 40 for connection
[0000007f50001110] live555 demux error: Failed to connect with rtsp://localhost:8554/test
wget https://gstreamer.freedesktop.org/src/gst-rtsp/gst-rtsp-server-1.14.1.tar.xz
tar -xvf gst-rtsp-server-1.14.1.tar.xz
./configure --libdir=/usr/lib/arm-linux-gnueabihf/
make
make install
/gst-rtsp-server-1.14.1$ gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test ! 'application/x-rtp, media=(string)video' ! decodebin ! videoconvert ! ximagesink
(gst-plugin-scanner:4252): GStreamer-WARNING **: 04:15:11.681: Failed to load plugin '/usr/lib/arm-linux-gnueabihf/gstreamer-1.0/libgstcoreelements.so': /usr/lib/arm-linux-gnueabihf/gstreamer-1.0/libgstcoreelements.so: undefined symbol: gst_type_find_helper_get_range_full
ERROR: pipeline could not be constructed: no element "rtspsrc".
vlc
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[0000005582a00580] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000005582a8ea70] main playlist: playlist is empty
Gtk-Message: 04:23:16.017: GtkDialog mapped without a transient parent. This is discouraged.
Created new TCP socket 42 for connection
Bus error (core dumped)
I also see the vlc crash on Xavier, but vlc 2.2.2 Weatherwax on host succeeds to read the rtsp stream from Xavier, so it rather looks related to vlc itself.