-
Notifications
You must be signed in to change notification settings - Fork 20
compile nginx failure #13
Comments
Hello, I was about to split source code into multiple version to make test, last commit was broken due to poor-checking. |
@adisis any luck? |
I still missing some library, could you point out what library I should add for this errors ?
objs/addon/src/ngx_http_estreaming_module.o: In function |
Sorry not try it yet, will try tonight. Thanks for support Sent from Yahoo Mail on Android From:"Hung Nguyen" notifications@github.com @adisis any luck? — |
You must install ffmpeg library before installing this module On Tue, 28 Jul 2015 at 21:16 adisis notifications@github.com wrote:
|
Yeach,looks like I missing ffmpeg-dev in my repository Ubuntu trusty
You must install ffmpeg library before installing this module On Tue, 28 Jul 2015 at 21:16 adisis notifications@github.com wrote:
|
I'm sure I've ffmpeg installed correctly ffmpeg version git-2015-07-24-5da90d7 Copyright (c) 2000-2015 the FFmpeg developers but I still got error message when compile objs/addon/src/ngx_http_estreaming_module.o: In function |
can you share the way you install ffmpeg on your system? |
update, I just clone source code from this repo and it compiled ok on my system: centos 7, with ffmpeg and libfdk-aac install |
here below my ffmpeg config PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure |
ok lets do all once again, to install this module, we have to go to few steps:
At this step (for me) on Centos 7, those libraries will be install in /usr/local/lib which Centos 7 does not look at to load dynamic loading libraries, so you have to add to /etc/ld.so.conf like this [root@localhost ffmpeg-2.5]# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/local/lib then run
if it does not work, please post the errors, I will follow up with you :) |
rerun procedure with your pointer, stuck on this
ok lets do all once again, to install this module, we have to go to few steps:
[root@localhost ffmpeg-2.5]# cat /etc/ld.so.conf
|
could you please use newest commit and try again, commit id 422c0d1 |
@adisis any thing new? |
sorry late to response, cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -ggdb -D_DEBUG -D_LARGEFILE_SOURCE -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail
@adisis any thing new?— |
I am sorry, my development machine uses static libraries so I can not test this error completely, I used older version than yours. |
@adisis are you still getting error? |
close as you didn't response for long time |
when I 'make' nginx , previously using './configure --add-module=./ngx_http_estreaming_module' I got this error :
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -ggdb -D_DEBUG -D_LARGEFILE_SOURCE -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail -I src/stream
-o objs/addon/src/ngx_http_estreaming_module.o
./ngx_http_estreaming_module/src/ngx_http_estreaming_module.c
In file included from ./ngx_http_estreaming_module/src/ngx_http_estreaming_module.c:12:0:
./ngx_http_estreaming_module/src/output_m3u8.h: In function ‘mp4_create_m3u8’:
./ngx_http_estreaming_module/src/output_m3u8.h:73:9: error: ‘rewrite’ undeclared (first use in this function)
rewrite = (char ) ngx_palloc(mp4_context->r->pool,
^
./ngx_http_estreaming_module/src/output_m3u8.h:73:9: note: each undeclared identifier is reported only once for each function it appears in
make[1]: ** [objs/addon/src/ngx_http_estreaming_module.o] Error 1
note : I'm using ubuntu 14.04
The text was updated successfully, but these errors were encountered: