One minute, i forgot that

First:
make[1]: Entering directory `/home/primus/gesrc/Game Editor/SDL/SDL_mixer/VisualC/native_midi'
llvm-gcc -emit-llvm -c -c ../../native_midi_gpl/emumidi.c -o ../../../../output/emumidi.o -I"../../../SDL/include/" -I"../.." -I"../../native_midi" -I"../../native_midi_gpl" -DLLVM
In file included from ../../native_midi_gpl/emumidi.h:16,
from ../../native_midi_gpl/emumidi.c:21:
../../native_midi_gpl/playmidi.h:58:30: error: linux/awe_voice.h: No such file or directory
After you copy native_midi_gpl/awe_voice.h to native_midi_gpl/linux/awe_voice.h it compiles.
Second:
make -f makefile.raknet -C RakNet/ 'BUILD_TYPE=' 'CC=llvm-gcc -emit-llvm -c' 'TARGET=-DLLVM'
make[1]: Entering directory `/home/primus/gesrc/Game Editor/RakNet'
make[1]: *** No rule to make target `Source/NatPunchthrough.cpp', needed by `../output/RakNet/NatPunchthrough.o'. Stop.
make[1]: Leaving directory `/home/primus/gesrc/Game Editor/RakNet'
make: *** [all] Error 2
After you edit the RakNet/makefile.raknet and delete /output/RakNet/NatPunchthrough.o from OBJ list, it compiles
Third:
../src/preproc.c:315: error: conflicting types for 'getline'
/usr/include/stdio.h:653: error: previous declaration of 'getline' was here
../src/preproc.c: In function 'EiC_prolineStringFile':
../src/preproc.c:617: warning: return discards qualifiers from pointer target type
make[1]: *** [../../../output/preproc.o] Error 1
make[1]: Leaving directory `/home/primus/gesrc/Game Editor/gameEngine/EiC/Visual'
make: *** [all] Error 2
I did not get how to correct this. There are many functions used by preproc.c so i cant find where the second declaration of getline is.

Log attached to the post.