stubs_auto.S:246:1: error: unterminated argument list invoking macro "STUB"
-->how to find dmSetup.I double click the dmSetup,then IDA go to it's definition.I want to know how to get the function like "sub_FFC097EC" to replace the dmSetup.
\-> main.elf../platform/a1100/sub/100c/libplatformsub.a(boot.o): In function `sub_FFC00FC8_my':boot.c:(.text+0x258): undefined reference to `sub_FFE6C5B0'boot.c:(.text+0x2f0): undefined reference to `sub_FFC02D68'../platform/a1100/sub/100c/libplatformsub.a(boot.o): In function `sub_FFC04D3C_my':boot.c:(.text+0x350): undefined reference to `sub_FFC00954'boot.c:(.text+0x354): undefined reference to `sub_FFC090B4'boot.c:(.text+0x360): undefined reference to `sub_FFC04E2C'boot.c:(.text+0x364): undefined reference to `sub_FFC04974'boot.c:(.text+0x370): undefined reference to `sub_FFC04E2'boot.c:(.text+0x378): undefined reference to `sub_FFC04A5C'boot.c:(.text+0x384): undefined reference to `sub_FFC04E2C'boot.c:(.text+0x38c): undefined reference to `sub_FFC03578'boot.c:(.text+0x398): undefined reference to `sub_FFC04E2C'boot.c:(.text+0x39c): undefined reference to `sub_FFC08BCC'boot.c:(.text+0x3a8): undefined reference to `sub_FFC04E2C'boot.c:(.text+0x3ac): undefined reference to `sub_FFC014A8'boot.c:(.text+0x3b8): undefined reference to `sub_FFC04E2C'.....many....
1.How can I get the address of function that in the stubs_entry_2.S.Now I temply set the 0x12345678 for every function.
After fixed the boot.c I get these compile errors.Looks like if there is "BL sub_xxxxx" in the asm(),then it will tell me"undefined reference to 'sub_xxxxx'.
boot.c capt_seq.c movie_rec.c \-> stubs_auto.Sstubs_auto.S \-> stubs_auto.ostubs_auto.S:256:1: error: unterminated argument list invoking macro "STUB"make[4]: *** [stubs_auto.o] Error 1make[3]: *** [all-recursive] Error 1make[2]: *** [all-recursive] Error 1make[1]: *** [all-recursive] Error 1make: *** [all-recursive] Error 1
../platform/a1100/sub/100c/libplatformsub.a(boot.o): In function `sub_FFC00FC8_my':boot.c:(.text+0x250): undefined reference to `sub_FFE6C5B0'boot.c:(.text+0x2e8): undefined reference to `sub_FFC02D68'...
boot.c capt_seq.c movie_rec.c \-> stubs_auto.S
You need to look at this step in the makefile. Maybe it's getting the wrong program from the path. Also look inside stubs_auto.S after this step, maybe there is some clue there.
volatile long *p = (void*)DP; // turned off later, so assumed to be power int counter; // DEBUG: blink led counter = DELAY; *p = 0x46; while (counter--) { asm("nop\n nop\n"); }; counter = DELAY; *p = 0x44; while (counter--) { asm("nop\n nop\n"); }; _CreateTask("SpyTask", 0x19, 0x2000, core_spytask, 0);
Now the code like this.Code: [Select]... _CreateTask("SpyTask", 0x19, 0x2000, core_spytask, 0);The led works.Then camera shutdown.Because I can push the power button to restart the camera.So after runing in CreateTask,What have camera done?1.Some of the function in the stubs_entry_2.S have not been found yet.
... _CreateTask("SpyTask", 0x19, 0x2000, core_spytask, 0);
Started by bobble « 1 2 ... 61 62 » General Discussion and Assistance
Started by fboesch « 1 2 ... 38 39 » General Discussion and Assistance
Started by HarpoMa « 1 2 ... 67 68 » General Discussion and Assistance
Started by drewm1980 « 1 2 ... 39 40 » DryOS Development
Started by awesome71717 General Discussion and Assistance