Hello,
I have been trying today to get ersky9x to compile correctly on my system.
Having a bit of a nightmare!
To start with. This file: stamp-er9x.h does not appear to be on the SVN? I have created one with the following 'test' content.
#define DATE_STR "04-04-2012"
#define TIME_STR "15:01"
#define SVN_VERS "44";
#define MOD_VERS "1";
That clears up some errors - but not all. Latest errors are
--
9x_rom.map,--cref,--no-warn-mismatch
menus.o: In function `.LANCHOR2':
menus.cpp:(.rodata+0x68): multiple de
stamp.o:(.rodata+0x0): first defined
c:/program files (x86)/yagarto/bin/..
m-none-eabi/bin/ld.exe: Warning: size
p.o to 11 in menus.o
menus.o: In function `.LANCHOR2':
menus.cpp:(.rodata+0x24): multiple de
stamp.o:(.rodata+0xc): first defined
c:/program files (x86)/yagarto/bin/..
m-none-eabi/bin/ld.exe: Warning: size
.o to 16 in menus.o
menus.o: In function `.LANCHOR2':
menus.cpp:(.rodata+0x58): multiple de
stamp.o:(.rodata+0x18): first defined
c:/program files (x86)/yagarto/bin/..
m-none-eabi/bin/ld.exe: Warning: size
p.o to 15 in menus.o
menus.o: In function `.LANCHOR2':
menus.cpp:(.rodata+0x44): multiple de
stamp.o:(.rodata+0x24): first defined
menus.o: In function `.LANCHOR2':
menus.cpp:(.rodata+0x34): multiple de
stamp.o:(.rodata+0x38): first defined
c:/program files (x86)/yagarto/bin/..
m-none-eabi/bin/ld.exe: Warning: size
p.o to 14 in menus.o
collect2: ld returned 1 exit status
make: *** [ersky9x_rom.elf] Error 1
--
Pretty certain I am missing something here.
Any ideas?
Rob
Compiling ersky9x
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Compiling ersky9x
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
- Mechcondrid
- Posts: 222
- Joined: Fri Dec 30, 2011 3:53 am
- Country: -
- Location: ledyard, connecticut, United States
- Contact:
Re: Compiling ersky9x
what system you compiling on?
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Compiling ersky9x
I'm using make REVB=1 DEBUG=1 STAMP=1
as the command line. STAMP=1 causes the stamp to be generated, Brent didn't have the er9x compiler installed and commands from that are used to create the stamp file.
I can't understand the error report you posted, it seems to have things missing.
Mike.
as the command line. STAMP=1 causes the stamp to be generated, Brent didn't have the er9x compiler installed and commands from that are used to create the stamp file.
I can't understand the error report you posted, it seems to have things missing.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- 9x Developer
- Posts: 2764
- Joined: Fri Dec 30, 2011 11:11 pm
- Country: -
Re: Compiling ersky9x
For the stamp generation, this line:
ifeq ($(STAMP), 1) and the following endif should be removed.
For the generation, here I have installed MSYS to have an access to cat, echo, date, sed ... from Windows.
Could you copy paste the first error, but with the complete line?
Bertrand.
ifeq ($(STAMP), 1) and the following endif should be removed.
For the generation, here I have installed MSYS to have an access to cat, echo, date, sed ... from Windows.
Could you copy paste the first error, but with the complete line?
Bertrand.
- Mechcondrid
- Posts: 222
- Joined: Fri Dec 30, 2011 3:53 am
- Country: -
- Location: ledyard, connecticut, United States
- Contact:
Re: Compiling ersky9x
ya i was baout to say if thats windows its giving some linker errors from the peicemeal error lines im guessing you might have some multiple declarations within the code not sure if this will help but you might want to try cygwin for windows thats what i use along with the gcc chain
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: Compiling ersky9x
Sweet. All working now
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!