Pages: 1
Posted on 09-17-18, 06:23 am (rev. 2 by Nathan ^-^ on 09-17-18, 06:24 am)


Karma: 47
Posts: 3/7
Since: 05-22-18
Hey, I'm brand new to all of this so I could just be getting the basics wrong, but I keep on getting this error

ramviewer_asm.s
arm-none-eabi-gcc -MMD -MP -MF /home/####/nsmb-editor-356/ASMPatchTemplate-master/build/ramviewer_asm.d -x assembler-with-cpp -g -c /home/littl/D####itor-356/ASMPatchTemplate-master/source/ramviewer_asm.s -o ramviewer_asm.o
C:########nsmb-editor-356/ASMPatchTemplate-master/source/ramviewer_asm.s: Assembler messages:
C:########nsmb-editor-356/ASMPatchTemplate-master/source/ramviewer_asm.s:21: Error: selected processor does not support `blx r0' in ARM mode
C:########SMPatchTemplate-master/source/ramviewer_asm.s:31: Error: selected processor does not support `blx r0' in ARM mode
make[1]: *** [/home/#####nsmb-editor-356/ASMPatchTemplate-master/Makefile:170: ramviewer_asm.o] Error 1
make: *** [Makefile:122: build] Error 2
Press any key to continue . . .

Thanks!
Posted on 09-17-18, 06:26 am
Red Cheep-cheep
Beyond DS and Project Tape

Karma: 636
Posts: 189/209
Since: 06-28-17
Try deleting -lgcc on line 79 in Makefile.
_________________________
Check out these awesome hacks! Beyond DS is now my major hack!
Posted on 09-17-18, 04:05 pm


Karma: 47
Posts: 4/7
Since: 05-22-18
Posted by user123123
Try deleting -lgcc on line 79 in Makefile.

nonintendo.cpp
arm-none-eabi-g++ -MMD -MP -MF /home/###/nsmb-editor-356/ASMPatchTemplate-master/build/nonintendo.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm946e-s -iquote /home/##nsmb-editor-356/ASMPatchTemplate-master/include -I/opt/devkitpro/libnds/include -I/opt/devkitpro/devkitARM/include -I/opt/devkitpro/devkitARM/arm-none-eabi/include -I/home/littl/Desktop/mkds/nsmb-editor-356/ASMPatchTemplate-master/build -DARM9 -nodefaultlibs -I. -fno-builtin -c -fno-rtti -fno-exceptions -c /###nsmb-editor-356/ASMPatchTemplate-master/source/nonintendo.cpp -o nonintendo.o
keys.cpp
arm-none-eabi-g++ -MMD -MP -MF /###/nsmb-editor-356/ASMPatchTemplate-master/build/keys.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm946e-s -iquote /###nsmb-editor-356/ASMPatchTemplate-master/include -I/opt/devkitpro/libnds/include -I/opt/devkitpro/devkitARM/include -I/opt/devkitpro/devkitARM/arm-none-eabi/include -I/###nsmb-editor-356/ASMPatchTemplate-master/build -DARM9 -nodefaultlibs -I. -fno-builtin -c -fno-rtti -fno-exceptions -c /###/nsmb-editor-356/ASMPatchTemplate-master/source/keys.cpp -o keys.o
ramviewer.cpp
arm-none-eabi-g++ -MMD -MP -MF /###/nsmb-editor-356/ASMPatchTemplate-master/build/ramviewer.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm946e-s -iquote /###/nsmb-editor-356/ASMPatchTemplate-master/include -I/opt/devkitpro/libnds/include -I/opt/devkitpro/devkitARM/include -I/opt/devkitpro/devkitARM/arm-none-eabi/include -I#/nsmb-editor-356/ASMPat##chTemplate-master/build -DARM9 -nodefaultlibs -I. -fno-builtin -c -fno-rtti -fno-exceptions -c /###/nsmb-editor-356/ASMPatchTemplate-master/source/ramviewer.cpp -o ramviewer.o
C:/U#/nsmb-editor-356/ASMPa##tchTemplate-master/source/ramviewer.cpp: In function 'void debugScreenRamViewer()':
C:/###/nsmb-editor-356/ASMPatchTemplate-master/source/ramviewer.cpp:25:6: warning: unused variable 'x' [-Wunused-variable]
int x=1;
^
C:/U###s/nsmb-editor-356/ASMPatchTemplate-master/source/ramviewer.cpp:26:6: warning: unused variable 'y' [-Wunused-variable]
int y=1;
^
C:###/nsmb-editor-356/ASMPatchTemplate-master/source/ramviewer.cpp:28:6: warning: unused variable 'keys' [-Wunused-variable]
int keys = myKeysHeld();
^~~~
print.s
arm-none-eabi-gcc -MMD -MP -MF ###nsmb-editor-356/ASMPatchTemplate-master/build/print.d -x assembler-with-cpp -g -c /###/nsmb-editor-356/ASMPatchTemplate-master/source/print.s -o print.o
noOverlaySig.s
arm-none-eabi-gcc -MMD -MP -MF /###nsmb-editor-356/ASMPatchTemplate-master/build/noOverlaySig.d -x assembler-with-cpp -g -c /###nsmb-editor-356/ASMPatchTemplate-master/source/noOverlaySig.s -o noOverlaySig.o
selectactivatesitem.s
arm-none-eabi-gcc -MMD -MP -MF /###/nsmb-editor-356/ASMPatchTemplate-master/build/selectactivatesitem.d -x assembler-with-cpp -g -c /###/nsmb-editor-356/ASMPatchTemplate-master/source/selectactivatesitem.s -o selectactivatesitem.o
ramviewer_asm.s
arm-none-eabi-gcc -MMD -MP -MF /###nsmb-editor-356/ASMPatchTemplate-master/build/ramviewer_asm.d -x assembler-with-cpp -g -c ###/nsmb-editor-356/ASMPatchTemplate-master/source/ramviewer_asm.s -o ramviewer_asm.o
C:/###/nsmb-editor-356/ASMPatchTemplate-master/source/ramviewer_asm.s: Assembler messages:
C:/###/nsmb-editor-356/ASMPatchTemplate-master/source/ramviewer_asm.s:21: Error: selected processor does not support `blx r0' in ARM mode
C:/###/nsmb-editor-356/ASMPatchTemplate-master/source/ramviewer_asm.s:31: Error: selected processor does not support `blx r0' in ARM mode
make[1]: *** [/###/nsmb-editor-356/ASMPatchTemplate-master/Makefile:170: ramviewer_asm.o] Error 1
rm ramviewer.o nonintendo.o print.o noOverlaySig.o selectactivatesitem.o keys.o
make: *** [Makefile:122: build] Error 2
Press any key to continue . . .
Pages: 1