Build #3 for proteaaudio-0.6.3

[all reports]

Package proteaaudio-0.6.3
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-11-27 14:48:52.524903 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.3...
Building proteaaudio-0.6.3...
Failed to install proteaaudio-0.6.3
Build log ( /home/builder/.cabal/logs/proteaaudio-0.6.3.log ):
cabal: Entering directory '/tmp/cabal-tmp-29529/proteaaudio-0.6.3'
Configuring proteaaudio-0.6.3...
Building proteaaudio-0.6.3...
Preprocessing library proteaaudio-0.6.3...
[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);
                  ^
cbits/proteaaudio_binding.cpp: In function ‘int loaderAvailable(char*)’:

cbits/proteaaudio_binding.cpp:65:20: error:
     error: ‘nullptr’ was not declared in this scope
         if((&audio) == nullptr) return 0;
                        ^
cbits/proteaaudio_binding.cpp: In function ‘void volume(float, float)’:

cbits/proteaaudio_binding.cpp:71:20: error:
     error: ‘nullptr’ was not declared in this scope
         if((&audio) == nullptr) return;
                        ^
cbits/proteaaudio_binding.cpp: In function ‘sample_t sampleFromFile(char*, float)’:

cbits/proteaaudio_binding.cpp:77:20: error:
     error: ‘nullptr’ was not declared in this scope
         if((&audio) == nullptr) return 0;
                        ^
cbits/proteaaudio_binding.cpp: In function ‘sample_t sampleFromMemoryWav(char*, int, float)’:

cbits/proteaaudio_binding.cpp:83:20: error:
     error: ‘nullptr’ was not declared in this scope
         if((&audio) == nullptr) return 0;
                        ^
cbits/proteaaudio_binding.cpp: In function ‘sample_t sampleFromMemoryOgg(char*, int, float)’:

cbits/proteaaudio_binding.cpp:93:20: error:
     error: ‘nullptr’ was not declared in this scope
         if((&audio) == nullptr) return 0;
                        ^
cbits/proteaaudio_binding.cpp: In function ‘int soundActive()’:

cbits/proteaaudio_binding.cpp:103:20: error:
     error: ‘nullptr’ was not declared in this scope
         if((&audio) == nullptr) return 0;
                        ^
cbits/proteaaudio_binding.cpp: In function ‘void soundStopAll()’:

cbits/proteaaudio_binding.cpp:109:20: error:
     error: ‘nullptr’ was not declared in this scope
         if((&audio) == nullptr) return;
                        ^
cbits/proteaaudio_binding.cpp: In function ‘void soundLoop(sample_t, float, float, float, float)’:

cbits/proteaaudio_binding.cpp:116:20: error:
     error: ‘nullptr’ was not declared in this scope
         if((&audio) == nullptr) return;
                        ^
cbits/proteaaudio_binding.cpp: In function ‘void soundPlay(sample_t, float, float, float, float)’:

cbits/proteaaudio_binding.cpp:122:20: error:
     error: ‘nullptr’ was not declared in this scope
         if((&audio) == nullptr) return;
                        ^
cbits/proteaaudio_binding.cpp: In function ‘int soundUpdate(sample_t, float, float, float, float)’:

cbits/proteaaudio_binding.cpp:128:20: error:
     error: ‘nullptr’ was not declared in this scope
         if((&audio) == nullptr) return 0;
                        ^
cbits/proteaaudio_binding.cpp: In function ‘int soundStop(sample_t)’:

cbits/proteaaudio_binding.cpp:134:20: error:
     error: ‘nullptr’ was not declared in this scope
         if((&audio) == nullptr) return 0;
                        ^
`gcc' failed in phase `C Compiler'. (Exit code: 1)
cabal: Leaving directory '/tmp/cabal-tmp-29529/proteaaudio-0.6.3'
cabal: Error: some packages failed to install:
proteaaudio-0.6.3 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.