Q: failed to set dynamic section sizes
A: delete -lc from makefile.
Q: how to configure xvid configure
A: ./configure --host arm-linux --build i686-linux --disable-profile --enable-add-ons --enable-shared --enable-omitfp
./configure --host arm-linux --build i686-linux --disable-profile --enable-add-ons --disable-shared --enable-omitfp --enable-static-nss
Q: crt1.o error
A: -lm add as last argumnet.
Q:how to get the free size of disk?
A: use statfs but notes. k=free*size/1024 ; maybe free*size overout the long so first size/1024 then *free.