Instruction for setup for uClinux:
Use this Command line to configure:
./configure --host=nios2-linux-uclibc --target=nios2-linux-uclibc --with-cpu=generic_nofpu --with-optimization=4 --enable-gapless=no --with-audio=dummy CC="nios2-linux-uclibc-gcc -D__KERNEL__ -elf2flt"

in src/config.h make sure these lines are set
#define NOXFERMEM
#undef GAPLESS
#undef HAVE_TERMIOS

type 'make' then copy src/mpg123 to uClinux-dist/romfs/bin

