matanbs / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

make fails due to undefined symbol CONFIG_PIC in preprocessor #956

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
making on ubuntu 14.04 - everything fine until:

[CREATE] vpx_config.asm
/bin/sh: 1: egrep: not found

(which may be nothing to worry about, but the file vpx_config.asm is empty, and 
after 20 more lines of [AS]...:-)

vp8/common/x86/postproc_mmx.asm.o
vp8/common/x86/postproc_mmx.asm:185: error: undefined symbol `CONFIG_PIC' in 
preprocessor

Original issue reported on code.google.com by ggra...@gmail.com on 18 Feb 2015 at 10:45

GoogleCodeExporter commented 9 years ago
It's strange that your system doesn't appear to have egrep. It's in the 'grep' 
package for ubuntu and I was under the impression that it came standard. Did 
you remove it?

That is the problem though: you need egrep to generate vpx_config.asm in 
libs.mk. It translates the #defines in vpx_config.h from "#define VAR value" to 
"VAR equ val" which is the syntax the assembler needs.

Please reopen if you do have egrep installed.

Original comment by johannko...@google.com on 18 Feb 2015 at 7:37

GoogleCodeExporter commented 9 years ago
thanks for your help!
egrep was missing - i don't recall having removed it (why would i do 
such a thing?) - so i fixed the broken package and all now works as it 
should.
thanks again for pointing me in the right direction

Original comment by ggra...@gmail.com on 18 Feb 2015 at 10:48