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 issue: ld: symbol(s) not found for architecture x86_64 #2

Open
eladg opened this issue Mar 22, 2014 · 0 comments
Open

Build issue: ld: symbol(s) not found for architecture x86_64 #2

eladg opened this issue Mar 22, 2014 · 0 comments

Comments

@eladg
Copy link

eladg commented Mar 22, 2014

elad-hb2:rendersound $ ./waf configure build install
Setting top to                           : /Users/elad/Documents/rendersound 
Setting out to                           : /Users/elad/Documents/rendersound/build 
Checking for 'gcc' (c compiler)          : /usr/bin/gcc 
Checking for library gd                  : yes 
Checking for program pkg-config          : /usr/local/bin/pkg-config 
Checking for 'libavcodec'                : yes 
Checking for 'libavformat'               : yes 
'configure' finished successfully (0.142s)
Waf: Entering directory `/Users/elad/Documents/rendersound/build'
[5/5] cprogram: build/src/rendersound.c.1.o build/src/soundrenderer.c.1.o build/extern/ffsnd/src/ffsndin.c.1.o build/extern/ffsnd/src/ffsndutil.c.1.o -> build/rendersound
Undefined symbols for architecture x86_64:
  "_av_rescale_q", referenced from:
      _ffsndin_seek in ffsndin.c.1.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Waf: Leaving directory `/Users/elad/Documents/rendersound/build'
Build failed
 -> task in 'rendersound' failed (exit status 1): 
  {task 4380362000: cprogram rendersound.c.1.o,soundrenderer.c.1.o,ffsndin.c.1.o,ffsndutil.c.1.o -> rendersound}
['/usr/bin/gcc', 'src/rendersound.c.1.o', 'src/soundrenderer.c.1.o', 'extern/ffsnd/src/ffsndin.c.1.o', 'extern/ffsnd/src/ffsndutil.c.1.o', '-o', '/Users/elad/Documents/rendersound/build/rendersound', '-L/usr/local/Cellar/ffmpeg/2.1.3/lib', '-L/usr/local/Cellar/ffmpeg/2.1.3/lib', '-lgd', '-lavcodec', '-lavformat']

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

1 participant