Open Harshan2522 opened 11 months ago
He seems not to find the function "project_Main".
Your project always needs a function "
Advice: if you can change the chip or have control over which chip to use, then use another one. this one is garbage.
For example: if you have a file "myhttp.c" which you want ot compile, thean this file needs a function "myhttp_Main(void)" to be compiled properly.
[LDGEN] >>> cust.ld [LD] 1:C:/GPRS_C_SDK-master/build/project//project.elf 2:--oformat=elf32-littlemips 5:-just-symbols C:/GPRS_C_SDK-master/platform/chip/rom/8955/lib/mem_bridge_rom_CHIP.elf 6: C:/GPRS_C_SDK-master/build/project/cust.ld 7:--gc-sections -LC:/GPRS_C_SDK-master/build/project/init/lib -LC:/GPRS_C_SDK-master/build/project/libs/lib -LC:/GPRS_C_SDK-master/build/project/project/lib --start-group -linit_debug -llibs_debug -lproject_debug --end-group -LC:/GPRS_C_SDK-master/platform/lib/gcc/mips-elf/4.4.2 -lgcc --warn-common --error-unresolved-symbols 8:C:/GPRS_C_SDK-master/build/project//project.map end1 project.elf C:/GPRS_C_SDK-master/build/project/init/lib\libinit_debug.a(sdk_init.o): In function
user_Main': C:\GPRS_C_SDK-master\init/src/sdk_init.c:30: undefined reference to
project_Main' value:0, p:ffffffff88240018, addend:0, symbol:0 C:\GPRS_C_SDK-master\init/src/sdk_init.c:30: relocation truncated to fit: R_MIPS16_26 against `project_Main' C:/GPRS_C_SDK-master/platform/compilation/cust_rules.mk:753: recipe for target 'C:/GPRS_C_SDK-master/build/project//project.elf' failed make[2]: [C:/GPRS_C_SDK-master/build/project//project.elf] Error 1 C:/GPRS_C_SDK-master/platform/compilation/cust_rules.mk:749: recipe for target 'C:/GPRS_C_SDK-master/build/project//project.srec' failed make[1]: [C:/GPRS_C_SDK-master/build/project//project.srec] Error 2 C:/GPRS_C_SDK-master/platform/compilation/cust_rules.mk:396: recipe for target 'lod' failed make: *** [lod] Error 2