Resolving dependencies... Configuring proteaaudio-0.6.4... Building proteaaudio-0.6.4... Failed to install proteaaudio-0.6.4 Build log ( /home/builder/.cabal/logs/proteaaudio-0.6.4.log ): cabal: Entering directory '/tmp/cabal-tmp-15061/proteaaudio-0.6.4' Configuring proteaaudio-0.6.4... Building proteaaudio-0.6.4... Preprocessing library proteaaudio-0.6.4... [1 of 1] Compiling Sound.ProteaAudio ( dist/build/Sound/ProteaAudio.hs, dist/build/Sound/ProteaAudio.o ) cbits/proteaaudio_binding.cpp: In function ‘size_t mem_fread(void*, size_t, size_t, FILE*)’: cbits/proteaaudio_binding.cpp:17:46: error: error: ‘memcpy’ was not declared in this scope memcpy(ptr,&stream->data[stream->pos],bytes); ^ cbits/proteaaudio_binding.cpp: In function ‘AudioSample* loadOggFromMemory(unsigned char*, size_t)’: cbits/proteaaudio_binding.cpp:46:27: error: error: ‘memcpy’ was not declared in this scope memcpy(data,decoded, size); ^ cbits/proteaaudio_binding.cpp:47:14: error: error: ‘free’ was not declared in this scope free(decoded); ^ `gcc' failed in phase `C Compiler'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-15061/proteaaudio-0.6.4' cabal: Error: some packages failed to install: proteaaudio-0.6.4 failed during the building phase. The exception was: ExitFailure 1