I had to change the Makefile:
-OPTIONS = -Wall -shared -O3 -march=pentium --fast-math
-DPOSIX -D_REENTRANT -DREENTRANT -I.. -DMPP_ENCODER
+OPTIONS = -Wall -shared -O3 --fast-math -fPIC -DPOSIX
-D_REENTRANT -DREENTRANT -I.. -DMPP_ENCODER
I.e. remove -march=pentium and add -fPIC!
If you have questions, contact me at hodaniel at
student dot ethz dot ch.