Форум обсуждения систем  

Вернуться   Форум обсуждения систем "Умный дом", проектов Ардуино, OpenWRT и других DIY устройств > Форум умного дома > Сделай сам > OpenWRT/LEDE

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.10.2015, 02:32   #11
sakatgg
Senior Member
 
Регистрация: 15.07.2014
Сообщений: 939
Вес репутации: 991
sakatgg is just really nicesakatgg is just really nicesakatgg is just really nicesakatgg is just really nicesakatgg is just really nice
По умолчанию Re: Компиляция стороннего пакета для openwrt

Что-то вылетает, компилирую на BB ar71, или эта версия под trunk?
Код:
make[3]: Entering directory `/home/user/openwrt/BB_42625_ar71/build_dir/target-mips_34kc_uClibc-0.9.33.2/motion-ffmpeg/motion-20140827-051001'
Welcome to the setup procedure for Motion, the motion detection daemon! If you get
error messages during this procedure, please report them to the mailing list. The
Motion Guide contains all information you should need to get Motion up and running.
Run "make updateguide" to download the latest version of the Motion Guide.

Version: trunkREV561
Platform: Linux (if this is incorrect, please read README.FreeBSD)

Compiling Motion object files...
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Motion object files compiled.

Linking Motion...
--------------------------------------------------------------------------------
mips-openwrt-linux-uclibc-gcc -L/home/user/openwrt/BB_42625_ar71/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/user/openwrt/BB_42625_ar71/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/user/openwrt/BB_42625_ar71/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/user/openwrt/BB_42625_ar71/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib  -L/home/user/openwrt/BB_42625_ar71/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -o motion motion.o logger.o conf.o draw.o jpegutils.o vloopback_motion.o video.o video2.o video_common.o netcam.o netcam_ftp.o netcam_jpeg.o netcam_wget.o track.o alg.o event.o picture.o rotate.o webhttpd.o stream.o md5.o ffmpeg.o  netcam_rtsp.o -lm  -lpthread -ljpeg -L/home/user/openwrt/BB_42625_ar71/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -lavformat -lavcodec -lavutil -lm -lz 
netcam_rtsp.o: In function `rtsp_connect':
netcam_rtsp.c:(.text+0xba): undefined reference to `av_err2str'
netcam_rtsp.o: In function `netcam_read_rtsp_image':
netcam_rtsp.c:(.text+0x2a8): undefined reference to `av_image_get_buffer_size'
netcam_rtsp.c:(.text+0x32a): undefined reference to `av_image_copy_to_buffer'
collect2: error: ld returned 1 exit status
make[3]: *** [motion] Error 1
make[3]: Leaving directory `/home/user/openwrt/BB_42625_ar71/build_dir/target-mips_34kc_uClibc-0.9.33.2/motion-ffmpeg/motion-20140827-051001'
make[2]: *** [/home/user/openwrt/BB_42625_ar71/build_dir/target-mips_34kc_uClibc-0.9.33.2/motion-ffmpeg/motion-20140827-051001/.built] Error 2
make[2]: Leaving directory `/home/user/openwrt/BB_42625_ar71/package/051001'
make[1]: *** [package/051001/compile] Error 2
make[1]: Leaving directory `/home/user/openwrt/BB_42625_ar71'
make: *** [package/051001/compile] Ошибка 2
user@(none):~/openwrt/BB_42625_ar71$
P.S. Похоже версия FFmpeg нужна более старая
Код:
ffmpeg.c:27:10: warning: #warning ************************************************** [-Wcpp]
 #        warning **************************************************
          ^
ffmpeg.c:28:10: warning: #warning Your version of FFmpeg is newer than version 0.4.8 [-Wcpp]
 #        warning Your version of FFmpeg is newer than version 0.4.8
          ^
ffmpeg.c:29:10: warning: #warning Newer versions of ffmpeg do not support MPEG1 with [-Wcpp]
 #        warning Newer versions of ffmpeg do not support MPEG1 with
          ^
ffmpeg.c:30:10: warning: #warning non-standard framerate. MPEG1 will be disabled for [-Wcpp]
 #        warning non-standard framerate. MPEG1 will be disabled for
          ^
ffmpeg.c:31:10: warning: #warning normal video output. You can still use mpeg4 and [-Wcpp]
 #        warning normal video output. You can still use mpeg4 and
          ^
ffmpeg.c:32:10: warning: #warning and mpeg4ms which are both better in terms of size [-Wcpp]
 #        warning and mpeg4ms which are both better in terms of size
          ^
ffmpeg.c:33:10: warning: #warning and quality. MPEG1 is always used for timelapse. [-Wcpp]
 #        warning and quality. MPEG1 is always used for timelapse.
          ^
ffmpeg.c:34:10: warning: #warning Please read the Motion Guide for more information. [-Wcpp]
 #        warning Please read the Motion Guide for more information.
          ^
ffmpeg.c:35:10: warning: #warning Note that this is not an error message! [-Wcpp]
 #        warning Note that this is not an error message!
          ^
ffmpeg.c:36:10: warning: #warning ************************************************** [-Wcpp]
 #        warning **************************************************
          ^

Последний раз редактировалось sakatgg; 28.10.2015 в 04:21.
sakatgg вне форума   Ответить с цитированием
 


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 16:56. Часовой пояс GMT +3.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Яндекс.Метрика