Skip to content

Instantly share code, notes, and snippets.

@slaskis
Created October 8, 2009 15:30
Show Gist options
  • Save slaskis/205112 to your computer and use it in GitHub Desktop.
Save slaskis/205112 to your computer and use it in GitHub Desktop.
gcc -O2 -Imikmod -DOGG_MUSIC -DHAVE_LIBC=1 -DMID_MUSIC -DCMD_MUSIC -DWAV_MUSIC -DUSE_NATIVE_MIDI -DMOD_MUSIC -DMP3_MUSIC -D__STDC__ -I../../include -Inative_midi -I../../include/SDL13 native_midi/native_midi_mac.c -c -onative_midi/native_midi_mac.o
<command-line>: warning: "__STDC__" redefined
<built-in>: warning: this is the location of the previous definition
native_midi/native_midi_mac.c:51: error: ‘NoteRequest’ undeclared here (not in a function)
native_midi/native_midi_mac.c:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gTunePlayer’
native_midi/native_midi_mac.c: In function ‘native_midi_loadsong’:
native_midi/native_midi_mac.c:134: error: ‘gTunePlayer’ undeclared (first use in this function)
native_midi/native_midi_mac.c:134: error: (Each undeclared identifier is reported only once
native_midi/native_midi_mac.c:134: error: for each function it appears in.)
native_midi/native_midi_mac.c:135: error: ‘kTunePlayerComponentType’ undeclared (first use in this function)
native_midi/native_midi_mac.c: In function ‘native_midi_loadsong_RW’:
native_midi/native_midi_mac.c:197: error: ‘gTunePlayer’ undeclared (first use in this function)
native_midi/native_midi_mac.c:198: error: ‘kTunePlayerComponentType’ undeclared (first use in this function)
native_midi/native_midi_mac.c: In function ‘native_midi_freesong’:
native_midi/native_midi_mac.c:239: error: ‘gTunePlayer’ undeclared (first use in this function)
native_midi/native_midi_mac.c: In function ‘native_midi_start’:
native_midi/native_midi_mac.c:251: error: ‘gTunePlayer’ undeclared (first use in this function)
native_midi/native_midi_mac.c:260: error: ‘kTuneStartNow’ undeclared (first use in this function)
native_midi/native_midi_mac.c: In function ‘native_midi_stop’:
native_midi/native_midi_mac.c:310: error: ‘gTunePlayer’ undeclared (first use in this function)
native_midi/native_midi_mac.c: In function ‘native_midi_active’:
native_midi/native_midi_mac.c:322: error: ‘gTunePlayer’ undeclared (first use in this function)
native_midi/native_midi_mac.c:324: error: ‘TuneStatus’ undeclared (first use in this function)
native_midi/native_midi_mac.c:324: error: expected ‘;’ before ‘ts’
native_midi/native_midi_mac.c:326: error: ‘ts’ undeclared (first use in this function)
native_midi/native_midi_mac.c: In function ‘native_midi_setvolume’:
native_midi/native_midi_mac.c:335: error: ‘gTunePlayer’ undeclared (first use in this function)
native_midi/native_midi_mac.c: In function ‘BuildTuneSequence’:
native_midi/native_midi_mac.c:432: error: ‘kFirstDrumkit’ undeclared (first use in this function)
native_midi/native_midi_mac.c:434: error: ‘kFirstGMInstrument’ undeclared (first use in this function)
native_midi/native_midi_mac.c:504: error: ‘kControllerVolume’ undeclared (first use in this function)
native_midi/native_midi_mac.c:516: error: ‘kControllerPan’ undeclared (first use in this function)
native_midi/native_midi_mac.c:567: error: ‘kControllerPitchBend’ undeclared (first use in this function)
native_midi/native_midi_mac.c:618: error: ‘kEndMarkerValue’ undeclared (first use in this function)
native_midi/native_midi_mac.c: In function ‘BuildTuneHeader’:
native_midi/native_midi_mac.c:627: error: ‘myNoteRequest’ undeclared (first use in this function)
native_midi/native_midi_mac.c:628: error: ‘NoteAllocator’ undeclared (first use in this function)
native_midi/native_midi_mac.c:628: error: expected ‘;’ before ‘myNoteAllocator’
native_midi/native_midi_mac.c:633: error: ‘myNoteAllocator’ undeclared (first use in this function)
native_midi/native_midi_mac.c:638: error: ‘kNoteAllocatorComponentType’ undeclared (first use in this function)
native_midi/native_midi_mac.c:661: error: ‘kGeneralEventNoteRequest’ undeclared (first use in this function)
native_midi/native_midi_mac.c:662: error: expected expression before ‘)’ token
native_midi/native_midi_mac.c:688: error: ‘kEndMarkerValue’ undeclared (first use in this function)
make[1]: *** [native_midi/native_midi_mac.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment