Build #3 for proteaaudio-0.6.4

[all reports]

Package proteaaudio-0.6.4
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-11-27 14:41:31.202142 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

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

Test log

No test log was submitted for this report.