执行
代码: 全选
./waf build
代码: 全选
/usr/bin/ld: /usr/local/lib/libswscale.a(swscale.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libswscale.a: error adding symbols: 错误的值
collect2: error: ld returned 1 exit status
代码: 全选
sudo CFLAGS="-fPIC" ./configure