cygwin, sim build for nano 2G:

$ make
CC apps/codecs/lib/codeclib.c
/cygdrive/c/development/rockbox_test/apps/codecs/lib/codeclib.c:1: warning: -ffunction-sections may affect debugging on
some targets
/cygdrive/c/development/rockbox_test/apps/codecs/lib/codeclib.c:40: warning: weak declaration of 'codec_main' not suppor
ted
AR libcodec.a
LD vorbis.codec
/cygdrive/c/development/rockbox_test/build-pcsim-nano2g/apps/codecs/libcodec.a(codeclib.o): In function `qsort':
/cygdrive/c/development/rockbox_test/apps/codecs/lib/codeclib.c:147: multiple definition of `_codec_main'
/cygdrive/c/development/rockbox_test/build-pcsim-nano2g/apps/codecs/vorbis.o:/cygdrive/c/development/rockbox_test/apps/c
odecs/vorbis.c:108: first defined here
collect2: ld returned 1 exit status
make: *** [/cygdrive/c/development/rockbox_test/build-pcsim-nano2g/apps/codecs/vorbis.codec] Error 1