Hacking [Release] rxTools - Roxas75 3DS Toolkit [fw 2.0 - 9.2]

Status
Not open for further replies.

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
done it already once
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\User>cd..

C:\Users>cd..

C:\>cd devkitPro

C:\devkitPro>cd devkitARM

C:\devkitPro\devkitARM>cd bin

C:\devkitPro\devkitARM\bin>arm-none-eabi-ld.exe --help
Usage: arm-none-eabi-ld.exe [options] file...
Options:
-a KEYWORD Shared library control for HP/UX compatibility
-A ARCH, --architecture ARCH
Set architecture
-b TARGET, --format TARGET Specify target for following input files
-c FILE, --mri-script FILE Read MRI format linker script
-d, -dc, -dp Force common symbols to be defined
-e ADDRESS, --entry ADDRESS Set start address
-E, --export-dynamic Export all dynamic symbols
--no-export-dynamic Undo the effect of --export-dynamic
-EB Link big-endian objects
-EL Link little-endian objects
-f SHLIB, --auxiliary SHLIB Auxiliary filter for shared object symbol table
-F SHLIB, --filter SHLIB Filter for shared object symbol table
-g Ignored
-G SIZE, --gpsize SIZE Small data size (if no size, same as --shared)
-h FILENAME, -soname FILENAME
Set internal name of shared library
-I PROGRAM, --dynamic-linker PROGRAM
Set PROGRAM as the dynamic linker to use
-l LIBNAME, --library LIBNAME
Search for library LIBNAME
-L DIRECTORY, --library-path DIRECTORY
Add DIRECTORY to library search path
--sysroot=<DIRECTORY> Override the default sysroot location
-m EMULATION Set emulation
-M, --print-map Print map file on standard output
-n, --nmagic Do not page align data
-N, --omagic Do not page align data, do not make text readonly
--no-omagic Page align data, make text readonly
-o FILE, --output FILE Set output file name
-O Optimize output file
-plugin PLUGIN Load named plugin
-plugin-opt ARG Send arg to last-loaded plugin
-flto Ignored for GCC LTO option compatibility
-flto-partition= Ignored for GCC LTO option compatibility
-fuse-ld= Ignored for GCC linker option compatibility
-Qy Ignored for SVR4 compatibility
-q, --emit-relocs Generate relocations in final output
-r, -i, --relocatable Generate relocatable output
-R FILE, --just-symbols FILE
Just link symbols (if directory, same as --rpath)
-s, --strip-all Strip all symbols
-S, --strip-debug Strip debugging symbols
--strip-discarded Strip symbols in discarded sections
--no-strip-discarded Do not strip symbols in discarded sections
-t, --trace Trace file opens
-T FILE, --script FILE Read linker script
--default-script FILE, -dT Read default linker script
-u SYMBOL, --undefined SYMBOL
Start with undefined reference to SYMBOL
--unique [=SECTION] Don't merge input [SECTION | orphan] sections
-Ur Build global constructor/destructor tables
-v, --version Print version information
-V Print version and emulation information
-x, --discard-all Discard all local symbols
-X, --discard-locals Discard temporary local symbols (default)
--discard-none Don't discard any local symbols
-y SYMBOL, --trace-symbol SYMBOL
Trace mentions of SYMBOL
-Y PATH Default search path for Solaris compatibility
-(, --start-group Start a group
-), --end-group End a group
--accept-unknown-input-arch Accept input files whose architecture cannot be de
termined
--no-accept-unknown-input-arch
Reject input files whose architecture is unknown
--as-needed Only set DT_NEEDED for following dynamic libs if u
sed
--no-as-needed Always set DT_NEEDED for dynamic libraries mention
ed on
the command line
-assert KEYWORD Ignored for SunOS compatibility
-Bdynamic, -dy, -call_shared
Link against shared libraries
-Bstatic, -dn, -non_shared, -static
Do not link against shared libraries
-Bsymbolic Bind global references locally
-Bsymbolic-functions Bind global function references locally
--check-sections Check section addresses for overlaps (default)
--no-check-sections Do not check section addresses for overlaps
--copy-dt-needed-entries Copy DT_NEEDED links mentioned inside DSOs that fo
llow
--no-copy-dt-needed-entries Do not copy DT_NEEDED links mentioned inside DSOs
that follow
--cref Output cross reference table
--defsym SYMBOL=EXPRESSION Define a symbol
--demangle [=STYLE] Demangle symbol names [using STYLE]
--embedded-relocs Generate embedded relocs
--fatal-warnings Treat warnings as errors
--no-fatal-warnings Do not treat warnings as errors (default)
-fini SYMBOL Call SYMBOL at unload-time
--force-exe-suffix Force generation of file with .exe suffix
--gc-sections Remove unused sections (on some targets)
--no-gc-sections Don't remove unused sections (default)
--print-gc-sections List removed unused sections on stderr
--no-print-gc-sections Do not list removed unused sections
--hash-size=<NUMBER> Set default hash table size close to <NUMBER>
--help Print option help
-init SYMBOL Call SYMBOL at load-time
-Map FILE Write a map file
--no-define-common Do not define Common storage
--no-demangle Do not demangle symbol names
--no-keep-memory Use less memory and more disk I/O
--no-undefined Do not allow unresolved references in object files

--allow-shlib-undefined Allow unresolved references in shared libraries
--no-allow-shlib-undefined Do not allow unresolved references in shared libs
--allow-multiple-definition Allow multiple definitions
--no-undefined-version Disallow undefined version
--default-symver Create default symbol version
--default-imported-symver Create default symbol version for imported symbols

--no-warn-mismatch Don't warn about mismatched input files
--no-warn-search-mismatch Don't warn on finding an incompatible library
--no-whole-archive Turn off --whole-archive
--noinhibit-exec Create an output file even if errors occur
-nostdlib Only use library directories specified on
the command line
--oformat TARGET Specify target of output file
--print-output-format Print default output format
-qmagic Ignored for Linux compatibility
--reduce-memory-overheads Reduce memory overheads, possibly taking much long
er
--relax Reduce code size by using target specific optimiza
tions
--no-relax Do not use relaxation techniques to reduce code si
ze
--retain-symbols-file FILE Keep only symbols listed in FILE
-rpath PATH Set runtime shared library search path
-rpath-link PATH Set link time shared library search path
-shared, -Bshareable Create a shared library
-pie, --pic-executable Create a position independent executable
--sort-common [=ascending|descending]
Sort common symbols by alignment [in specified ord
er]
--sort-section name|alignment
Sort sections by name or maximum alignment
--spare-dynamic-tags COUNT How many tags to reserve in .dynamic section
--split-by-file [=SIZE] Split output sections every SIZE octets
--split-by-reloc [=COUNT] Split output sections every COUNT relocs
--stats Print memory usage statistics
--target-help Display target specific options
--task-link SYMBOL Do task level linking
--traditional-format Use same format as native linker
--section-start SECTION=ADDRESS
Set address of named section
-Tbss ADDRESS Set address of .bss section
-Tdata ADDRESS Set address of .data section
-Ttext ADDRESS Set address of .text section
-Ttext-segment ADDRESS Set address of text segment
-Trodata-segment ADDRESS Set address of rodata segment
-Tldata-segment ADDRESS Set address of ldata segment
--unresolved-symbols=<method>
How to handle unresolved symbols. <method> is:
ignore-all, report-all, ignore-in-object-files,
ignore-in-shared-libs
--verbose [=NUMBER] Output lots of information during link
--version-script FILE Read version information script
--version-exports-section SYMBOL
Take export symbols list from .exports, using
SYMBOL as the version.
--dynamic-list-data Add data symbols to dynamic list
--dynamic-list-cpp-new Use C++ operator new/delete dynamic list
--dynamic-list-cpp-typeinfo Use C++ typeinfo dynamic list
--dynamic-list FILE Read dynamic list
--warn-common Warn about duplicate common symbols
--warn-constructors Warn if global constructors/destructors are seen
--warn-multiple-gp Warn if the multiple GP values are used
--warn-once Warn only once per undefined symbol
--warn-section-align Warn if start of section changes due to alignment
--warn-shared-textrel Warn if shared object has DT_TEXTREL
--warn-alternate-em Warn if an object has alternate ELF machine code
--warn-unresolved-symbols Report unresolved symbols as warnings
--error-unresolved-symbols Report unresolved symbols as errors
--whole-archive Include all objects from following archives
--wrap SYMBOL Use wrapper functions for SYMBOL
--ignore-unresolved-symbol SYMBOL
Unresolved SYMBOL will not cause an error or warni
ng
@FILE Read options from FILE
arm-none-eabi-ld.exe: supported targets: elf32-littlearm elf32-bigarm elf32-litt
le elf32-big plugin srec symbolsrec verilog tekhex binary ihex
arm-none-eabi-ld.exe: supported emulations: armelf
arm-none-eabi-ld.exe: emulation specific options:
armelf:
--audit=AUDITLIB Specify a library to use for auditing
-Bgroup Selects group name lookup rules for DSO
--build-id[=STYLE] Generate build ID note
-P AUDITLIB, --depaudit=AUDITLIB
Specify a library to use for auditing dependencies

--disable-new-dtags Disable new dynamic tags
--enable-new-dtags Enable new dynamic tags
--eh-frame-hdr Create .eh_frame_hdr section
--exclude-libs=LIBS Make all symbols in LIBS hidden
--hash-style=STYLE Set hash style to sysv, gnu or both
-z combreloc Merge dynamic relocs into one section and sort
-z common-page-size=SIZE Set common page size to SIZE
-z defs Report unresolved symbols in object files.
-z execstack Mark executable as requiring executable stack
-z global Make symbols in DSO available for subsequently
loaded objects
-z initfirst Mark DSO to be initialized first at runtime
-z interpose Mark object to interpose all DSOs but executable
-z lazy Mark object lazy runtime binding (default)
-z loadfltr Mark object requiring immediate process
-z max-page-size=SIZE Set maximum page size to SIZE
-z muldefs Allow multiple definitions
-z nocombreloc Don't merge dynamic relocs into one section
-z nocopyreloc Don't create copy relocs
-z nodefaultlib Mark object not to use default search paths
-z nodelete Mark DSO non-deletable at runtime
-z nodlopen Mark DSO not available to dlopen
-z nodump Mark DSO not available to dldump
-z noexecstack Mark executable as not requiring executable stack
-z norelro Don't create RELRO program header
-z now Mark object non-lazy runtime binding
-z origin Mark object requiring immediate $ORIGIN
processing at runtime
-z relro Create RELRO program header
-z stacksize=SIZE Set size of stack segment
--thumb-entry=<sym> Set the entry point to be Thumb symbol <sym>
--be8 Output BE8 format image
--target1-rel Interpret R_ARM_TARGET1 as R_ARM_REL32
--target1-abs Interpret R_ARM_TARGET1 as R_ARM_ABS32
--target2=<type> Specify definition of R_ARM_TARGET2
--fix-v4bx Rewrite BX rn as MOV pc, rn for ARMv4
--fix-v4bx-interworking Rewrite BX rn branch to ARMv4 interworking veneer
--use-blx Enable use of BLX instructions
--vfp11-denorm-fix Specify how to fix VFP11 denorm erratum
--no-enum-size-warning Don't warn about objects with incompatible
enum sizes
--no-wchar-size-warning Don't warn about objects with incompatible
wchar_t sizes
--pic-veneer Always generate PIC interworking veneers
--stub-group-size=N Maximum size of a group of input sections that
can be handled by one stub section. A negative
value locates all stubs after their branches
(with a group size of -N), while a positive
value allows two groups of input sections, one
before, and one after each stub section.
Values of +/-1 indicate the linker should
choose suitable defaults.
--[no-]fix-cortex-a8 Disable/enable Cortex-A8 Thumb-2 branch erratum fi
x
--no-merge-exidx-entries Disable merging exidx entries
--[no-]fix-arm1176 Disable/enable ARM1176 BLX immediate erratum fix

Report bugs to <http://www.sourceware.org/bugzilla/>

C:\devkitPro\devkitARM\bin>
--specs is missing. Try removing this argument from LDFLAGS in these Makefiles
Schermata del 2015-07-01 21:57:04.png

Schermata del 2015-07-01 21:57:15.png
 

duke_srg

Well-Known Member
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
I installed all needed things from the readme.
I modifided makefiles, because i got cc error. Now i get this error:

C:\Users\User\Desktop\rxTools-master\rxTools-master>make

C:\Users\User\Desktop\rxTools-master\rxTools-master>
First, revert makefiles to original because it is working. Yes, my armips-none-eabi-ld also do not have that option when trying to run it directly or list help option
 

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
First, revert makefiles to original because it is working. Yes, my armips-none-eabi-ld also do not have that option when trying to run it directly or list help option
Right, neither has mine. Maybe a make clean will fix it.
 

julian20

Well-Known Member
Member
Joined
Jan 10, 2015
Messages
352
Trophies
0
XP
648
Country
Germany
i tried removing LDFLAGS in my modifed makefiles
result ->
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Nan
dDumper.c:148: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Nan
dDumper.c:148: undefined reference to `sprintf'
NandDumper.o: In function `RebuildNand':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Nan
dDumper.c:198: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Nan
dDumper.c:204: undefined reference to `sprintf'
TitleKeyDecrypt.o: In function `DecryptTitleKey':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Tit
leKeyDecrypt.c:49: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Tit
leKeyDecrypt.c:51: undefined reference to `memcpy'
TitleKeyDecrypt.o: In function `DecryptTitleKeys':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Tit
leKeyDecrypt.c:78: undefined reference to `strcmp'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Tit
leKeyDecrypt.c:81: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Tit
leKeyDecrypt.c:83: undefined reference to `memcpy'
TitleKeyDecrypt.o: In function `DecryptTitleKeyFile':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Tit
leKeyDecrypt.c:161: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Tit
leKeyDecrypt.c:164: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Tit
leKeyDecrypt.c:166: undefined reference to `memcpy'
TitleKeyDecrypt.o:c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/s
ource/features/TitleKeyDecrypt.c:170: more undefined references to `memcpy' foll
ow
TitleKeyDecrypt.o: In function `DecryptTitleKeyFile':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Tit
leKeyDecrypt.c:178: undefined reference to `__aeabi_uidiv'
TitleKeyDecrypt.o: In function `GetTitleKey':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Tit
leKeyDecrypt.c:219: undefined reference to `strcmp'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Tit
leKeyDecrypt.c:222: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/Tit
leKeyDecrypt.c:225: undefined reference to `memcpy'
cfw.o: In function `firmlaunch':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/cfw
.c:22: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/cfw
.c:23: undefined reference to `memcpy'
cfw.o: In function `decryptFirmTitleNcch':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/cfw
.c:48: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/cfw
.c:49: undefined reference to `memcmp'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/cfw
.c:50: undefined reference to `memcpy'
cfw.o: In function `DevMode':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/cfw
.c:126: undefined reference to `strncmp'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/cfw
.c:129: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/cfw
.c:130: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/cfw
.c:131: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/cfw
.c:135: undefined reference to `memcmp'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/cfw
.c:136: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/cfw
.c:138: undefined reference to `memcmp'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/cfw
.c:142: undefined reference to `memcpy'
configuration.o: In function `InstallData':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/con
figuration.c:34: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/con
figuration.c:64: undefined reference to `strcmp'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/con
figuration.c:65: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/con
figuration.c:57: undefined reference to `strcmp'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/con
figuration.c:59: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/con
figuration.c:72: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/con
figuration.c:86: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/con
figuration.c:121: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/con
figuration.c:133: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/con
figuration.c:103: undefined reference to `sprintf'
configuration.o: In function `CheckInstallationData':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/con
figuration.c:157: undefined reference to `memcmp'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/con
figuration.c:158: undefined reference to `memcmp'
downgradeapp.o: In function `FindApp':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:65: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:74: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:86: undefined reference to `strstr'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:88: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:89: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:86: undefined reference to `strstr'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:117: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:132: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:133: undefined reference to `sprintf'
downgradeapp.o: In function `CheckRegion':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:158: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:162: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:163: undefined reference to `sprintf'
downgradeapp.o: In function `downgradeMSET':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:213: undefined reference to `memcpy'
downgradeapp.o: In function `manageFBI':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:319: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:320: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:366: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:367: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:370: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:371: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:375: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:418: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:419: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:420: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:421: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:385: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:386: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:448: undefined reference to `memcmp'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:452: undefined reference to `memcmp'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/dow
ngradeapp.c:465: undefined reference to `memcmp'
nandtools.o: In function `dumpCoolFiles':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/nan
dtools.c:75: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/nan
dtools.c:76: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/nan
dtools.c:85: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/nan
dtools.c:94: undefined reference to `sprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/nan
dtools.c:93: undefined reference to `sprintf'
nandtools.o:c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/
features/nandtools.c:152: more undefined references to `sprintf' follow
padgen.o: In function `CreatePad':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/pad
gen.c:136: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/pad
gen.c:139: undefined reference to `__aeabi_uidiv'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/pad
gen.c:149: undefined reference to `__aeabi_uidiv'
padgen.o: In function `NcchPadgen':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/pad
gen.c:45: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/pad
gen.c:46: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/pad
gen.c:47: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/pad
gen.c:48: undefined reference to `memcpy'
padgen.o: In function `SdPadgen':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/pad
gen.c:69: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/pad
gen.c:79: undefined reference to `memcmp'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/pad
gen.c:105: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/pad
gen.c:106: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/features/pad
gen.c:107: undefined reference to `memcpy'
console.o: In function `ConsoleFlush':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/console.
c:131: undefined reference to `memset'
console.o: In function `ConsoleSetTitle':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/console.
c:61: undefined reference to `vsnprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/console.
c:63: undefined reference to `strncpy'
console.o: In function `ConsoleShow':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/console.
c:83: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/console.
c:126: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/console.
c:127: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/console.
c:116: undefined reference to `memset'
console.o: In function `ConsoleFlush':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/console.
c:131: undefined reference to `memset'
console.o: In function `print':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/console.
c:155: undefined reference to `vsnprintf'
draw.o: In function `DrawString':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/draw.c:1
00: undefined reference to `strlen'
draw.o: In function `DrawHexWithName':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/draw.c:1
18: undefined reference to `strlen'
draw.o: In function `Debug':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/draw.c:1
27: undefined reference to `vasprintf'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/draw.c:1
31: undefined reference to `free'
draw.o: In function `SplashScreen':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/draw.c:1
74: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/draw.c:1
76: undefined reference to `memcpy'
filepack.o: In function `GetFilePack':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/filepack
.c:49: undefined reference to `strncmp'
screenshot.o: In function `ScreenShot':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/screensh
ot.c:24: undefined reference to `sprintf'
ff.o: In function `find_volume':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/fatfs/ff
.c:2388: undefined reference to `__aeabi_uidiv'
ff.o: In function `dir_register':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/fatfs/ff
.c:1729: undefined reference to `__aeabi_uidiv'
ff.o: In function `f_lseek':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/fatfs/ff
.c:3206: undefined reference to `__aeabi_uidiv'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/lib/fatfs/ff
.c:3206: undefined reference to `__aeabi_uidiv'
aes.o: In function `aes_gen_tables':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/aes
.c:436: undefined reference to `__aeabi_idivmod'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/aes
.c:437: undefined reference to `__aeabi_idivmod'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/aes
.c:435: undefined reference to `__aeabi_idivmod'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/aes
.c:438: undefined reference to `__aeabi_idivmod'
aes.o: In function `aes_setkey_dec':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/aes
.c:614: undefined reference to `memset'
aes.o: In function `aes_crypt_cbc':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/aes
.c:804: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/aes
.c:810: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/aes
.c:825: undefined reference to `memcpy'
sha2.o: In function `sha2_update':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/sha
2.c:270: undefined reference to `memcpy'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/sha
2.c:255: undefined reference to `memcpy'
sha2.o: In function `sha2':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/sha
2.c:329: undefined reference to `memset'
sha2.o: In function `sha2_hmac_starts':
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/sha
2.c:382: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/sha
2.c:383: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/sha
2.c:382: undefined reference to `memset'
c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polarssl/sha
2.c:383: undefined reference to `memset'
sha2.o:c:/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/source/polar
ssl/sha2.c:447: more undefined references to `memset' follow
make[2]: *** [/c/Users/Admin/Desktop/rxTools-master/rxTools-master/rxtools/rxtoo
ls.elf] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/c/Users/Admin/Desktop/rxTools-master/rxTools-master
/rxtools'
make: *** [rxtools/rxtools.bin] Error 2

C:\Users\Admin\Desktop\rxTools-master\rxTools-master>

and result of the original makfefiles(which no more have the problems of yesterday(i dont know why))
->
C:\Users\Admin\Desktop\rxTools-master (4)\rxTools-master>make
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `basename /c/Users/Admin/Desktop/rxTools-master (4)/rxTools
-master/rxtools'
make[1]: Entering directory `/c/Users/Admin/Desktop/rxTools-master (4)/rxTools-m
aster/rxtools'
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `make --no-print-directory -C build -f /c/Users/Admin/Deskt
op/rxTools-master (4)/rxTools-master/rxtools/Makefile'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/c/Users/Admin/Desktop/rxTools-master (4)/rxTools-ma
ster/rxtools'
make: *** [rxtools/rxtools.bin] Error 2

C:\Users\Admin\Desktop\rxTools-master (4)\rxTools-master>
 

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
->
C:\Users\Admin\Desktop\rxTools-master (4)\rxTools-master>make
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `basename /c/Users/Admin/Desktop/rxTools-master (4)/rxTools
-master/rxtools'
make[1]: Entering directory `/c/Users/Admin/Desktop/rxTools-master (4)/rxTools-m
aster/rxtools'
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `make --no-print-directory -C build -f /c/Users/Admin/Deskt
op/rxTools-master (4)/rxTools-master/rxtools/Makefile'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/c/Users/Admin/Desktop/rxTools-master (4)/rxTools-ma
ster/rxtools'
make: *** [rxtools/rxtools.bin] Error 2

C:\Users\Admin\Desktop\rxTools-master (4)\rxTools-master>
/bin/sh, in Windows? Maybe these makefiles have only been designed to be used on GNU/Linux or OS X.
 

duke_srg

Well-Known Member
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
@julian20
Make sure you've got sources of the latest commit, but not the latest release.
Change project location path with no spaces, there might be issues that noone was trying to ever fix :)

/bin/sh, in Windows? Maybe these makefiles have only been designed to be used on GNU/Linux or OS X.
That's ok, the actual build is performed under msys installed with devkitPRO :)
 
  • Like
Reactions: nastys

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
@julian20
Make sure you've got sources of the latest commit, but not the latest release.
Change project location path with no spaces, there might be issues that noone was trying to ever fix :)
True
Code:
nastys@ULNS:~/GIToth/forks/rxTools$ cd ..
nastys@ULNS:~/GIToth/forks$ mv rxTools rxTools\ fork
nastys@ULNS:~/GIToth/forks$ cd rxTools\ fork/
nastys@ULNS:~/GIToth/forks/rxTools fork$ LANG=en make
make[1]: Entering directory '/home/nastys/GIToth/forks/rxTools fork/rxtools'
make[2]: /home/nastys/GIToth/forks/rxTools: No such file or directory
make[2]: *** No rule to make target '/home/nastys/GIToth/forks/rxTools'.  Stop.
Makefile:103: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/home/nastys/GIToth/forks/rxTools fork/rxtools'
Makefile:60: recipe for target 'rxtools/rxtools.bin' failed
make: *** [rxtools/rxtools.bin] Error 2
 

julian20

Well-Known Member
Member
Joined
Jan 10, 2015
Messages
352
Trophies
0
XP
648
Country
Germany
@julian20
Make sure you've got sources of the latest commit, but not the latest release.
Change project location path with no spaces, there might be issues that noone was trying to ever fix :)
result->
Code:
C:\rxTools>make
cc -std=c11 -O2 -Wall -Wextra    -o tools/addxor_tool tools/toolsrc/addxor_tool/
main.c
make[1]: Entering directory `/c/rxTools/rxtools'
CTRDecryptor.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/CTRDecryptor.d -g -Wall
-O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -m
thumb -mthumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source
-I/c/rxTools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTo
ols/rxtools/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/r
xtools/build -DARM9 -c /c/rxTools/rxtools/source/features/CTRDecryptor.c -o CTRD
ecryptor.o
NandDumper.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/NandDumper.d -g -Wall -O
2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mth
umb -mthumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -
I/c/rxTools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTool
s/rxtools/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxt
ools/build -DARM9 -c /c/rxTools/rxtools/source/features/NandDumper.c -o NandDump
er.o
TitleKeyDecrypt.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/TitleKeyDecrypt.d -g -Wa
ll -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99
-mthumb -mthumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/sou
rce -I/c/rxTools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/r
xTools/rxtools/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTool
s/rxtools/build -DARM9 -c /c/rxTools/rxtools/source/features/TitleKeyDecrypt.c -
o TitleKeyDecrypt.o
cfw.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/cfw.d -g -Wall -O2 -marc
h=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb -mt
humb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/rxT
ools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rxtoo
ls/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools/bu
ild -DARM9 -c /c/rxTools/rxtools/source/features/cfw.c -o cfw.o
configuration.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/configuration.d -g -Wall
-O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -
mthumb -mthumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/sourc
e -I/c/rxTools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxT
ools/rxtools/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/
rxtools/build -DARM9 -c /c/rxTools/rxtools/source/features/configuration.c -o co
nfiguration.o
downgradeapp.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/downgradeapp.d -g -Wall
-O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -m
thumb -mthumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source
-I/c/rxTools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTo
ols/rxtools/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/r
xtools/build -DARM9 -c /c/rxTools/rxtools/source/features/downgradeapp.c -o down
gradeapp.o
nandtools.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/nandtools.d -g -Wall -O2
-march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthu
mb -mthumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I
/c/rxTools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools
/rxtools/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxto
ols/build -DARM9 -c /c/rxTools/rxtools/source/features/nandtools.c -o nandtools.
o
padgen.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/padgen.d -g -Wall -O2 -m
arch=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb
-mthumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/
rxTools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rx
tools/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools
/build -DARM9 -c /c/rxTools/rxtools/source/features/padgen.c -o padgen.o
main.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/main.d -g -Wall -O2 -mar
ch=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb -m
thumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/rx
Tools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rxto
ols/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools/b
uild -DARM9 -c /c/rxTools/rxtools/source/main.c -o main.o
console.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/console.d -g -Wall -O2 -
march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb
-mthumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c
/rxTools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/r
xtools/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtool
s/build -DARM9 -c /c/rxTools/rxtools/source/lib/console.c -o console.o
crypto.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/crypto.d -g -Wall -O2 -m
arch=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb
-mthumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/
rxTools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rx
tools/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools
/build -DARM9 -c /c/rxTools/rxtools/source/lib/crypto.c -o crypto.o
draw.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/draw.d -g -Wall -O2 -mar
ch=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb -m
thumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/rx
Tools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rxto
ols/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools/b
uild -DARM9 -c /c/rxTools/rxtools/source/lib/draw.c -o draw.o
filepack.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/filepack.d -g -Wall -O2
-march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthum
b -mthumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/
c/rxTools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/
rxtools/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtoo
ls/build -DARM9 -c /c/rxTools/rxtools/source/lib/filepack.c -o filepack.o
fs.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/fs.d -g -Wall -O2 -march
=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb -mth
umb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/rxTo
ols/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rxtool
s/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools/bui
ld -DARM9 -c /c/rxTools/rxtools/source/lib/fs.c -o fs.o
hid.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/hid.d -g -Wall -O2 -marc
h=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb -mt
humb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/rxT
ools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rxtoo
ls/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools/bu
ild -DARM9 -c /c/rxTools/rxtools/source/lib/hid.c -o hid.o
i2c.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/i2c.d -g -Wall -O2 -marc
h=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb -mt
humb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/rxT
ools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rxtoo
ls/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools/bu
ild -DARM9 -c /c/rxTools/rxtools/source/lib/i2c.c -o i2c.o
menu.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/menu.d -g -Wall -O2 -mar
ch=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb -m
thumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/rx
Tools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rxto
ols/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools/b
uild -DARM9 -c /c/rxTools/rxtools/source/lib/menu.c -o menu.o
nand.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/nand.d -g -Wall -O2 -mar
ch=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb -m
thumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/rx
Tools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rxto
ols/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools/b
uild -DARM9 -c /c/rxTools/rxtools/source/lib/nand.c -o nand.o
ncch.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/ncch.d -g -Wall -O2 -mar
ch=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb -m
thumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/rx
Tools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rxto
ols/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools/b
uild -DARM9 -c /c/rxTools/rxtools/source/lib/ncch.c -o ncch.o
screenshot.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/screenshot.d -g -Wall -O
2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mth
umb -mthumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -
I/c/rxTools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTool
s/rxtools/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxt
ools/build -DARM9 -c /c/rxTools/rxtools/source/lib/screenshot.c -o screenshot.o

diskio.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/diskio.d -g -Wall -O2 -m
arch=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb
-mthumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/
rxTools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rx
tools/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools
/build -DARM9 -c /c/rxTools/rxtools/source/lib/fatfs/diskio.c -o diskio.o
ff.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/ff.d -g -Wall -O2 -march
=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb -mth
umb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/rxTo
ols/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rxtool
s/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools/bui
ld -DARM9 -c /c/rxTools/rxtools/source/lib/fatfs/ff.c -o ff.o
aes.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/aes.d -g -Wall -O2 -marc
h=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb -mt
humb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/rxT
ools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rxtoo
ls/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools/bu
ild -DARM9 -c /c/rxTools/rxtools/source/polarssl/aes.c -o aes.o
padlock.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/padlock.d -g -Wall -O2 -
march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb
-mthumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c
/rxTools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/r
xtools/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtool
s/build -DARM9 -c /c/rxTools/rxtools/source/polarssl/padlock.c -o padlock.o
sha2.c
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/sha2.d -g -Wall -O2 -mar
ch=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -std=c99 -mthumb -m
thumb-interwork -I/c/rxTools/rxtools/include -I/c/rxTools/rxtools/source -I/c/rx
Tools/rxtools/source/lib -I/c/rxTools/rxtools/source/lib/fatfs -I/c/rxTools/rxto
ols/source/features -I/c/rxTools/rxtools/source/polarssl  -I/c/rxTools/rxtools/b
uild -DARM9 -c /c/rxTools/rxtools/source/polarssl/sha2.c -o sha2.o
start.s
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/start.d -x assembler-wit
h-cpp -g -mthumb -mthumb-interwork -c /c/rxTools/rxtools/source/start.s -o start
.o
delay.s
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/delay.d -x assembler-wit
h-cpp -g -mthumb -mthumb-interwork -c /c/rxTools/rxtools/source/lib/delay.s -o d
elay.o
sdmc.s
arm-none-eabi-gcc -MMD -MP -MF /c/rxTools/rxtools/build/sdmc.d -x assembler-with
-cpp -g -mthumb -mthumb-interwork -c /c/rxTools/rxtools/source/lib/fatfs/sdmc.s
-o sdmc.o
linking rxtools.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-e
abi/lib/thumb\libg.a(lib_a-sbrkr.o): In function `_sbrk_r':
sbrkr.c.text._sbrk_r+0xc): undefined reference to `_sbrk'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [/c/rxTools/rxtools/rxtools.elf] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/c/rxTools/rxtools'
make: *** [rxtools/rxtools.bin] Error 2
C:\rxTools>
not modified and newest version from github, path in C
 

duke_srg

Well-Known Member
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
@julian20 just reinstalled like that, everything is still working:
upload_2015-7-1_23-38-0.png

upload_2015-7-2_0-12-30.png

%PATH%=c:\Python27;C:\MinGW\bin\;c:\devkitPro\msys\bin;%PATH%
(in case make fails, C:\Program Files (x86)\GnuWin32\bin must be plased before C:\devkitPro\msys\bin; )
 
Last edited by duke_srg,
  • Like
Reactions: OctopusRift

duke_srg

Well-Known Member
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
you mean uninstall and install? When i start the setup it no more shows the option to install defkitarm, becuase i already installed it.
You can rename the current devkitpro directory and be able to install the new one ;)
P.S. looks like found one of the issue with spaces in the path
 

julian20

Well-Known Member
Member
Joined
Jan 10, 2015
Messages
352
Trophies
0
XP
648
Country
Germany
Code:
C:\rxTools>make
make[1]: Entering directory `/c/rxTools/rxtools'
linking rxtools.elf
built ... rxtools.bin
make[1]: Leaving directory `/c/rxTools/rxtools'
0+1 records in
1+0 records out
917504 bytes (918 kB) copied, 0 seconds, Infinity B/s
Base : 67893421
Seed : 12756342
make[1]: Entering directory `/c/rxTools/rxmode'
make[2]: Entering directory `/c/rxTools/rxmode/native_firm'
make[3]: Entering directory `/c/rxTools/rxmode/native_firm/source/arm9'
arm-none-eabi-gcc -g -Wall source/myThread/myThread.c source/myThread/lib.c -c -
mcpu=arm946e-s -march=armv5te -mlittle-endian -fshort-wchar -std=c99
arm-none-eabi-gcc -g source/EmuNAND.s source/CreateThread.s source/myThread/FS.S
 -I source/myThread -c -mcpu=arm946e-s -march=armv5te -mlittle-endian -fshort-wc
har
arm-none-eabi-gcc -nostdlib -T 3ds.ld EmuNAND.o CreateThread.o myThread.o lib.o
FS.o
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/4.9.2/../../../../arm-none-e
abi/bin/ld.exe: warning: cannot find entry symbol _start; defaulting to 0801a4c0

arm-none-eabi-objcopy -O binary a.out arm9.bin
rm -f *.o *.out
mv arm9.bin ../../build/0801a4c0.bin
make[3]: Leaving directory `/c/rxTools/rxmode/native_firm/source/arm9'
/c/devkitPro/devkitARM/bin/armips: /c/devkitPro/devkitARM/bin/armips: cannot exe
cute binary file
/c/devkitPro/devkitARM/bin/armips: /c/devkitPro/devkitARM/bin/armips: cannot exe
cute binary file
/c/devkitPro/devkitARM/bin/armips: /c/devkitPro/devkitARM/bin/armips: cannot exe
cute binary file
/c/devkitPro/devkitARM/bin/armips: /c/devkitPro/devkitARM/bin/armips: cannot exe
cute binary file
/c/devkitPro/devkitARM/bin/armips: /c/devkitPro/devkitARM/bin/armips: cannot exe
cute binary file
/c/devkitPro/devkitARM/bin/armips: /c/devkitPro/devkitARM/bin/armips: cannot exe
cute binary file
make[2]: *** [patch.bin] Error 126
make[2]: Leaving directory `/c/rxTools/rxmode/native_firm'
make[1]: *** [nat_patch.bin] Error 2
make[1]: Leaving directory `/c/rxTools/rxmode'
make: *** [rxmode/*.bin] Error 2

C:\rxTools>
seems like having a problem with armips

--------------------- MERGED ---------------------------

YES!!!!! IT WORKED. I USED NOW ANOTHER ARMIPS
TX YOU GUYS
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    DinohScene @ DinohScene: ahh nothing beats a coffee disaronno at work