Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed #3

Open
WebGuardMan opened this issue Mar 16, 2015 · 2 comments
Open

Build failed #3

WebGuardMan opened this issue Mar 16, 2015 · 2 comments

Comments

@WebGuardMan
Copy link

./waf configure build install
Setting top to : /root/rendersound-master
Setting out to : /root/rendersound-master/build
Checking for 'gcc' (c compiler) : /usr/bin/gcc
Checking for library gd : yes
Checking for program pkg-config : /usr/bin/pkg-config
Checking for 'libavcodec' : yes
Checking for 'libavformat' : yes
'configure' finished successfully (0.106s)
Waf: Entering directory /root/rendersound-master/build' Waf: Leaving directory/root/rendersound-master/build'
source not found: 'extern/ffsnd/src/ffsndin.c' in bld(use=['GD', 'AVCODEC', 'AVFORMAT'], features=['c', 'cprogram'], idx=1, _name='rendersound', meths=['process_rule', 'process_source', 'apply_link', 'process_use', 'propagate_uselib_vars', 'apply_incpaths', 'create_task_macapp', 'create_task_macplist', 'set_macosx_deployment_target'], prec=defaultdict(<type 'list'>, {}), includes='extern/ffsnd/src', source=['src/rendersound.c', 'src/soundrenderer.c', 'extern/ffsnd/src/ffsndin.c', 'extern/ffsnd/src/ffsndutil.c'], mappings={}, path=/root/rendersound-master, posted=True, target='rendersound') in /root/rendersound-master

@limikael
Copy link
Owner

Oh do you have the submodules? Try doing

git submodule init
git submodule update

@WebGuardMan
Copy link
Author

hi, better but..

uname -a

Linux 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 21:14:45 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/redhat-release

CentOS release 6.5 (Final)

git clone https://github.com/limikael/rendersound.git

Initialized empty Git repository in /root/rendersound/.git/
remote: Counting objects: 49, done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 49 (delta 17), reused 49 (delta 17), pack-reused 0
Unpacking objects: 100% (49/49), done.

cd rendersound

[... rendersound]# git submodule init
Submodule 'extern/ffsnd' (https://github.com/limikael/ffsnd.git) registered for path 'extern/ffsnd'
[... rendersound]# git submodule update
Initialized empty Git repository in /root/rendersound/extern/ffsnd/.git/
remote: Counting objects: 28, done.
remote: Total 28 (delta 0), reused 0 (delta 0), pack-reused 28
Unpacking objects: 100% (28/28), done.
Submodule path 'extern/ffsnd': checked out '646e79e32a7e8f919e4fcaed54441133be8debeb'
[... rendersound]# ./waf configure build install
Setting top to : /root/rendersound
Setting out to : /root/rendersound/build
Checking for 'gcc' (c compiler) : /usr/bin/gcc
Checking for library gd : yes
Checking for program pkg-config : /usr/bin/pkg-config
Checking for 'libavcodec' : yes
Checking for 'libavformat' : yes
'configure' finished successfully (0.056s)
Waf: Entering directory /root/rendersound/build' [1/5] c: src/rendersound.c -> build/src/rendersound.c.1.o [2/5] c: src/soundrenderer.c -> build/src/soundrenderer.c.1.o [3/5] c: extern/ffsnd/src/ffsndin.c -> build/extern/ffsnd/src/ffsndin.c.1.o [4/5] c: extern/ffsnd/src/ffsndutil.c -> build/extern/ffsnd/src/ffsndutil.c.1.o ../extern/ffsnd/src/ffsndin.c: In function ‘fill_buffer’: ../extern/ffsnd/src/ffsndin.c:93: warning: implicit declaration of function ‘avcodec_decode_audio4’ ../extern/ffsnd/src/ffsndin.c:102: error: ‘AVFrame’ has no member named ‘nb_samples’ ../extern/ffsnd/src/ffsndin.c:105: error: ‘AVFrame’ has no member named ‘sample_rate’ ../extern/ffsnd/src/ffsndin.c:116: error: ‘AVFrame’ has no member named ‘extended_data’ ../extern/ffsnd/src/ffsndin.c:117: error: ‘AVFrame’ has no member named ‘extended_data’ ../extern/ffsnd/src/ffsndin.c:119: error: ‘AVFrame’ has no member named ‘format’ ../extern/ffsnd/src/ffsndin.c:120: error: ‘AV_SAMPLE_FMT_S16’ undeclared (first use in this function) ../extern/ffsnd/src/ffsndin.c:120: error: (Each undeclared identifier is reported only once ../extern/ffsnd/src/ffsndin.c:120: error: for each function it appears in.) ../extern/ffsnd/src/ffsndin.c:121: error: ‘AVFrame’ has no member named ‘nb_samples’ ../extern/ffsnd/src/ffsndin.c:125: error: ‘AV_SAMPLE_FMT_S16P’ undeclared (first use in this function) ../extern/ffsnd/src/ffsndin.c:126: error: ‘AVFrame’ has no member named ‘nb_samples’ ../extern/ffsnd/src/ffsndin.c:133: error: ‘AVFrame’ has no member named ‘format’ ../extern/ffsnd/src/ffsndin.c: In function ‘ffsndin_close’: ../extern/ffsnd/src/ffsndin.c:220: warning: implicit declaration of function ‘avformat_close_input’ ../extern/ffsnd/src/ffsndin.c: In function ‘ffsndin_open’: ../extern/ffsnd/src/ffsndin.c:240: warning: implicit declaration of function ‘avformat_open_input’ ../extern/ffsnd/src/ffsndin.c:244: warning: implicit declaration of function ‘avformat_find_stream_info’ ../extern/ffsnd/src/ffsndin.c:248: warning: implicit declaration of function ‘av_find_best_stream’ ../extern/ffsnd/src/ffsndin.c:258: warning: implicit declaration of function ‘avcodec_open2’ Waf: Leaving directory/root/rendersound/build'
Build failed
-> task in 'rendersound' failed (exit status 1):
{task 43999824: c ffsndin.c -> ffsndin.c.1.o}
['/usr/bin/gcc', '-Wall', '-I/root/rendersound/build/extern/ffsnd/src', '-I/root/rendersound/extern/ffsnd/src', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '../extern/ffsnd/src/ffsndin.c', '-c', '-o', 'extern/ffsnd/src/ffsndin.c.1.o']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants