usb_cam文件编译时出现以下问题,请问怎么解决
[100%] Built target person_publisher
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘av_packet_from_data’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘sws_scale’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘av_frame_alloc’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘avcodec_close’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘av_frame_get_buffer’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘av_new_packet’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘avcodec_alloc_context3’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘av_log_set_level’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘avcodec_free_context’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘av_free’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘avcodec_open2’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘avcodec_send_packet’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘sws_getContext’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘av_image_get_buffer_size’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘av_parser_close’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘av_parser_init’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘avcodec_register_all’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘sws_freeContext’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘avcodec_receive_frame’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘av_image_copy_to_buffer’未定义的引用
/home/lxz/catkin_ws/devel/lib/libusb_cam.so:对‘avcodec_find_decoder’未定义的引用
collect2: error: ld returned 1 exit status
usb_cam/CMakeFiles/usb_cam_node.dir/build.make:170: recipe for target '/home/lxz/catkin_ws/devel/lib/usb_cam/usb_cam_node' failed
make[2]: *** [/home/lxz/catkin_ws/devel/lib/usb_cam/usb_cam_node] Error 1
CMakeFiles/Makefile2:6323: recipe for target 'usb_cam/CMakeFiles/usb_cam_node.dir/all' failed
make[1]: *** [usb_cam/CMakeFiles/usb_cam_node.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed