Hacking rxTools Source Code - Compilation Error

  • Thread starter Thread starter whitefire
  • Start date Start date
  • Views Views 1,074
  • Replies Replies 4

whitefire

Member
Newcomer
Joined
Jul 4, 2015
Messages
13
Reaction score
0
Trophies
0
Age
39
XP
116
Country
Romania
Hello,

I got the rxtools CFW from github and I wanted to compile it myself. I've installed everything mentioned in the readme file. However, something weird it happens when I compile and it makes it to stop and I can't figure out how to solve it. Here is the error:

Code:
make[1]: Entering directory `/d/ThingsToBeCopied/rxTools-master/rxtools'
linking rxtools.elf
built ... rxtools.bin
make[1]: Leaving directory `/d/ThingsToBeCopied/rxTools-master/rxtools'
0+1 records in
1+0 records out
917504 bytes (918 kB) copied, 0.003 seconds, 306 MB/s
Base : 67893421
Seed : 12756342
make[1]: Entering directory `/d/ThingsToBeCopied/rxTools-master/rxmode'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/d/ThingsToBeCopied/rxTools-master/rxmode'
make[1]: Entering directory `/d/ThingsToBeCopied/rxTools-master/rxmode'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/d/ThingsToBeCopied/rxTools-master/rxmode'
make[1]: Entering directory `/d/ThingsToBeCopied/rxTools-master/rxmode'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/d/ThingsToBeCopied/rxTools-master/rxmode'
make -C msethax/ all
make[1]: Entering directory `/d/ThingsToBeCopied/rxTools-master/msethax'
make[2]: Entering directory `/d/ThingsToBeCopied/rxTools-master/msethax/rxinstaller'
grit /d/ThingsToBeCopied/rxTools-master/msethax/rxinstaller/gfx/drunkenlogo.png -fts -odrunkenlogo
drunkenlogo.s
arm-none-eabi-gcc -MMD -MP -MF /d/ThingsToBeCopied/rxTools-master/msethax/rxinstaller/build/drunkenlogo.d -x assembler-with-cpp -g -marm -mthumb-interwork -march=armv5te -mtune=arm946e-s -c drunk
enlogo.s -o drunkenlogo.o
main.cpp
arm-none-eabi-g++ -MMD -MP -MF /d/ThingsToBeCopied/rxTools-master/msethax/rxinstaller/build/main.d -Wno-multichar -g -Wall -O3 -marm -mthumb-interwork -march=armv5te -mtune=arm946e-s -iquote /d/T
hingsToBeCopied/rxTools-master/msethax/rxinstaller/source -I/c/devkitPro/libnds/include -I/c/devkitPro/portlibs/arm/include -I/d/ThingsToBeCopied/rxTools-master/msethax/rxinstaller/build -DARM9 -
fno-rtti -fno-exceptions -c /d/ThingsToBeCopied/rxTools-master/msethax/rxinstaller/source/main.cpp -o main.o
d:/ThingsToBeCopied/rxTools-master/msethax/rxinstaller/source/main.cpp: In function 'int main(int, char**)':
d:/ThingsToBeCopied/rxTools-master/msethax/rxinstaller/source/main.cpp:117:30: error: 'readFirmware' was not declared in this scope
  readFirmware(0,workbuffer,42);
                              ^
d:/ThingsToBeCopied/rxTools-master/msethax/rxinstaller/source/main.cpp:131:59: error: 'writeFirmware' was not declared in this scope
  int ret = writeFirmware(userSettingsOffset,workbuffer,512);
                                                           ^
make[3]: *** [main.o] Error 1
make[2]: *** [build] Error 2
make[2]: Leaving directory `/d/ThingsToBeCopied/rxTools-master/msethax/rxinstaller'
make[1]: *** [rxinstaller.nds] Error 2
make[1]: Leaving directory `/d/ThingsToBeCopied/rxTools-master/msethax'
make: *** [msethax/mset.bin] Error 2

Any help will be appreciated. Thanks in advance.

Whitefire.
 
Hello zoogie,

I've installed everything: Devkitpro (DevkitARM), armips in msys folder, GCC and python 2.7 I'm on windows7 of course.

Those two errors make me crazy (readFirmware() and WriteFirmware). I opened the main.cpp in msethax folder and I comment every "readFirmware() & writeFirmware()" function in the code, I exeuted make again and booom!!! I got the rxtools.dat but dirty one. It won't work.

I need your help guys.

Regards,
 
Hello,

I got it to work I had a problem with my devkitARM installation. However, I wonder why I can't modify rxTools source code since it's source code made public. I mean I want to change the main menu (Launch rxMode -> Launch Emunand) but when I compile the project I got always the original rxTools even if the change is made. Is the main menu protect in some sort ?

Appreciate any explanation.

Thanks.
 
Hello,

I got it to work I had a problem with my devkitARM installation. However, I wonder why I can't modify rxTools source code since it's source code made public. I mean I want to change the main menu (Launch rxMode -> Launch Emunand) but when I compile the project I got always the original rxTools even if the change is made. Is the main menu protect in some sort ?

Appreciate any explanation.

Thanks.
Oh no. However you would have to clean the rxTools folder, as
cd rxTools; make clean; make; cd ..; make
then it should be updated.
Well don't forget to copy your new rxtools.dat or whatever.
 

Site & Scene News

Popular threads in this forum