Megadrum interface code size

Megadrum USBMIDI connects and disconnects all the time when I burn the compiled source code into Pic18f2550 using Mplab C18 compiler. But it works fine with the Firmware V2.
The generated Hex file by C18 is 1703kb bigger than pic18f2550-12MHz V2 firmware.
The board I have made has a 12 MHz resonator. I added these files to C18 in order to generate the Hex file.
Main.c
Usb.c
Usb_descreptors.c
Usb_device.c
Usb_function_audio.c
This is the only error I see during compiling: (But the build is successful)
D:\ SOURCE CODE MEGADRUM\ main.c:197:Warning [2058] call of function without prototype
Can anyone tell me what can be the problem? Can the Hex size have effect on the function of Megadrum interface?
Thank you in advance.
The generated Hex file by C18 is 1703kb bigger than pic18f2550-12MHz V2 firmware.
The board I have made has a 12 MHz resonator. I added these files to C18 in order to generate the Hex file.
Main.c
Usb.c
Usb_descreptors.c
Usb_device.c
Usb_function_audio.c
This is the only error I see during compiling: (But the build is successful)
D:\ SOURCE CODE MEGADRUM\ main.c:197:Warning [2058] call of function without prototype
Can anyone tell me what can be the problem? Can the Hex size have effect on the function of Megadrum interface?
Thank you in advance.