Install error while trying to use sdk_manager to install multimedia api

I tried to use the sdk_manager to install multimedia api on jetson_xavier but it fails giving the following error.

Compiling: image_rgba.cpp
Compiling: video_dec_drm_csvparser.cpp
Compiling: video_dec_drm_conv.cpp
Compiling: video_dec_drm.cpp
Linking: video_dec_drm
make[1]: Leaving directory ‘/usr/src/tegra_multimedia_api/samples/08_video_dec_drm’
Make in samples/09_camera_jpeg_capture
make[1]: Entering directory ‘/usr/src/tegra_multimedia_api/samples/09_camera_jpeg_capture’
Compiling: main.cpp
Compiling: /usr/src/tegra_multimedia_api/argus/samples/utils/Thread.cpp
Linking: camera_jpeg_capture
main.o: In function ArgusSamples::ConsumerThread::threadInitialize()': main.cpp:(.text+0xb4): undefined reference to EGLStream::FrameConsumer::create(Argus::OutputStream*, Argus::Status*)’
collect2: error: ld returned 1 exit status
Makefile:60: recipe for target ‘camera_jpeg_capture’ failed
make[1]: *** [camera_jpeg_capture] Error 1
make[1]: Leaving directory ‘/usr/src/tegra_multimedia_api/samples/09_camera_jpeg_capture’
Makefile:53: recipe for target ‘all’ failed
make: *** [all] Error 1

This was due to an install error while using Jetpack sdk manager. I repaired the install and everything is fine.