I figured out enough to get rid of the compile time errors.



Now just have to wait for the avrisp.


Thanks for the help


DaR






From: Dennis Ruffer
Sent: ‎Tuesday‎, ‎February‎ ‎11‎, ‎2014 ‎4‎:‎20‎ ‎PM
To: Everything around amforth





Getting things to compile on the command line in Windows is fun, but not the 
issue right now.  However, the appl/arduino/uno.asm had the missing line from 
the web instructions:




.equ AMFORTH_RO_SEG = NRWW_START_ADDR





I had to comment out the following lines from dict_appl_core.in:





;.include "words/estore.asm"

;.include "words/efetch.asm"

;.include "words/istore.asm"

;.include "words/istore_nrww.asm"

;.include "words/ifetch.asm"




But I think I still need those files, since I now get the following errors:




Error 4 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/f_cpu.asm 19 0 amforth
Error 9 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/f_cpu.asm 22 0 amforth
Error 14 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/f_cpu.asm 24 0 amforth
Error 24 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/compile.asm 16 0 amforth
Error 29 Undefined symbol: XT_STOREI 
C:\cygwin\usr\src\amforth\amforth\words/comma.asm 13 0 amforth
Error 34 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/do-sliteral.asm 15 0 amforth
Error 39 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/itype.asm 24 0 amforth
Error 44 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/itype.asm 37 0 amforth
Error 49 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/icount.asm 15 0 amforth
Error 54 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/find-name.asm 14 0 amforth
Error 59 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/find-name.asm 26 0 amforth
Error 64 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/sp0.asm 32 0 amforth
Error 69 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/sp0.asm 39 0 amforth
Error 74 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/interpret.asm 20 0 amforth
Error 79 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/interpret.asm 39 0 amforth
Error 84 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/to.asm 38 0 amforth
Error 89 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/to.asm 43 0 amforth
Error 94 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/edefer-fetch.asm 13 0 amforth
Error 99 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/edefer-fetch.asm 14 0 amforth
Error 104 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/edefer-store.asm 13 0 amforth
Error 109 Undefined symbol: XT_STOREE 
C:\cygwin\usr\src\amforth\amforth\words/edefer-store.asm 14 0 amforth
Error 114 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/rdefer-fetch.asm 13 0 amforth
Error 119 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/rdefer-store.asm 13 0 amforth
Error 124 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/udefer-fetch.asm 13 0 amforth
Error 129 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/udefer-store.asm 13 0 amforth
Error 134 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/defer-store.asm 16 0 amforth
Error 139 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/defer-fetch.asm 15 0 amforth
Error 144 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/do-defer.asm 17 0 amforth
Error 149 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/search-wordlist.asm 53 0 amforth
Error 154 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/traverse-wordlist.asm 29 0 amforth
Error 159 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/traverse-wordlist.asm 45 0 amforth
Error 164 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/icompare.asm 35 0 amforth
Error 169 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/init-user.asm 31 0 amforth
Error 174 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/words.asm 14 0 amforth
Error 178 Undefined symbol: XT_INTON 
C:\cygwin\usr\src\amforth\amforth\applturnkey.asm 14 0 amforth
Error 186 Undefined symbol: XT_STOREI 
C:\cygwin\usr\src\amforth\amforth\words/g_resolve.asm 15 0 amforth
Error 191 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/header.asm 26 0 amforth
Error 196 Undefined symbol: XT_STOREE 
C:\cygwin\usr\src\amforth\amforth\words/reveal.asm 22 0 amforth
Error 201 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/does.asm 50 0 amforth
Error 206 Undefined symbol: XT_STOREI 
C:\cygwin\usr\src\amforth\amforth\words/does.asm 54 0 amforth
Error 211 Undefined symbol: XT_STOREE 
C:\cygwin\usr\src\amforth\amforth\words/value.asm 25 0 amforth
Error 216 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/value.asm 31 0 amforth
Error 221 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/value.asm 32 0 amforth
Error 226 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/value.asm 38 0 amforth
Error 231 Undefined symbol: XT_STOREE 
C:\cygwin\usr\src\amforth\amforth\words/value.asm 39 0 amforth
Error 236 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/immediate.asm 13 0 amforth
Error 241 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/immediate.asm 15 0 amforth
Error 246 Undefined symbol: XT_STOREI 
C:\cygwin\usr\src\amforth\amforth\words/immediate.asm 20 0 amforth
Error 251 Undefined symbol: XT_STOREI 
C:\cygwin\usr\src\amforth\amforth\words/abortstring.asm 31 0 amforth
Error 256 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/fetch-ee-array.asm 13 0 amforth
Error 261 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/fetch-ee-array.asm 26 0 amforth
Error 266 Undefined symbol: XT_STOREE 
C:\cygwin\usr\src\amforth\amforth\words/store-ee-array.asm 13 0 amforth
Error 271 Undefined symbol: XT_STOREE 
C:\cygwin\usr\src\amforth\amforth\words/store-ee-array.asm 22 0 amforth
Error 276 Undefined symbol: XT_FETCHE 
C:\cygwin\usr\src\amforth\amforth\words/get-current.asm 14 0 amforth
Error 281 Undefined symbol: XT_ISREXEC 
C:\cygwin\usr\src\amforth\amforth\amforth-interpreter.asm 23 0 amforth
Error 284 Undefined symbol: XT_ISREXEC 
C:\cygwin\usr\src\amforth\amforth\amforth-interpreter.asm 24 0 amforth
Error 287 Undefined symbol: XT_FETCHI 
C:\cygwin\usr\src\amforth\amforth\words/do-value.asm 22 0 amforth
Error 292 Undefined symbol: XT_DO_STOREI 
C:\cygwin\usr\src\amforth\amforth\amforth-eeprom.inc 11 0 amforth





DaR






From: Erich Waelde
Sent: ‎Tuesday‎, ‎February‎ ‎11‎, ‎2014 ‎12‎:‎48‎ ‎PM
To: Everything around amforth





-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi DaR,

On 02/11/2014 08:59 PM, daruf...@gmail.com wrote:
> 
> I'm using the ATmega328p on the OSEPP™ Uno R3 Plus 
> (http://osepp.com/products/arduino-compatible-boards/uno-r3-plus/) board.
> 
> Removing the “_0” from .include "drivers/usart_0.asm" didn't change the 
> errors.
Nope. For a atmega328p this does not help.

> 
> Perhaps this is due to using the Simulator because I haven't gotten a working 
> AVRISP yet?

Well, I'm not using AVRStudio, I just use the assembler from that (via wine on 
linux).
But I still would expect a valid .hex file to be produced. Your error messages 
below
do not indicate a successful build.

Be sure to inspect the appl/arduino directory. The uno.asm should assemble 
without
any questions, given all include paths are correct.

Amforth might not run in the Simulator, I don't know that. But two hex files
uno.hex and uno.eep.hex should be produced nonetheless.

Cheers,
Erich

> 
> On 02/09/2014 10:31 PM, daruf...@gmail.com wrote:
>> I must be doing something wrong…
> 
> 
>> I downloaded version 5.2 and set it up within Atmel Studio 6 (Version 
>> 6.1.2730 - Service Pack 2), but I get the following errors:
> 
>> Error 4 Invalid redefinition of 'USART_B_VALUE' 
>> C:\cygwin\usr\src\amforth\amforth\myproj.asm 30 0 amforth
>> Error 6 Invalid redefinition of 'USART_C_VALUE' 
>> C:\cygwin\usr\src\amforth\amforth\myproj.asm 35 0 amforth
>> Error 9 Use of undefined or forward referenced symbol 'AMFORTH_RO_SEG' in 
>> .org C:\cygwin\usr\src\amforth\amforth\amforth.asm 15 0 amforth
>> Error 11 Overlap in .cseg: addr=0x0 conflicts with 0x0:0x2 
>> C:\cygwin\usr\src\amforth\amforth\amforth-interpreter.asm 4 0 amforth
>> Error 14 Overlap in .cseg: addr=0x1 conflicts with 0x0:0x2 
>> C:\cygwin\usr\src\amforth\amforth\amforth-interpreter.asm 5 0 amforth
> ...
> 
> 
> Which controller are you using?
> 
> Could it be that in your template.asm file you have
>   .include "drivers/usart_0.asm"
> where
>   .include "drivers/usart.asm"
> could work, or vice versa? This is just a guess. Older controllers
> like the venerable atmega32 do not have usart_0 but just usart.
> 
> Hope this helps.
> 
> Cheers,
> Erich
> 
> 
> ------------------------------------------------------------------------------
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience.  Start now.
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> _______________________________________________
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> ------------------------------------------------------------------------------
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience.  Start now.
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> _______________________________________________
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBAgAGBQJS+oyWAAoJEHx024vXVRNQ2LoP/RUnQnpcuICuuxEAo3aySQrf
rQ8/9oDyot2eA+6uI4wYN5ZSONJ9Cos2RDhz7AuT5b/wHsJGegG9EW18pGS1/qlr
S4mPrunhH9hHW7y+GKATfxMmcPbfMq56mtwR6LgKhvm5tD5sntpJ/ATkz2TZaCxm
qUlJDrDGhZKDDAQ5/FvhJ2RAgx8WMbxf20vR0ZxknHSpikYpd3/q0B1ju8X7HQRF
OtOokWhF6s6utsTkhhF3xEzFyDk47PjoJop0jL8mnAay9ATxGIKOYWOKqSRNkPkm
qWMJJ+bkPzGk3RGmjvu1VrUTQkc+IylcgvsMohO8w5wBxL9DAcY2FG4vrXEKdfrV
I9AEBHrpk9vMcT5+IyCWkFMEek1v+zJJKr1Ro2Y3eXvhgotRF5LLOh9kmGToupZL
lcR/VaSl0wvWtDsYUAusJjSljeNL9Gk56xKtPq6aDA4v0y4CvuElZhYzMim2xmou
c0dXGQlS9CYDnAXnNXU9iPooGWYUAtkB/I34rScYanfcSLyo3Kce8yX7yy2crKJG
9DvfC2m5MTwZcigNkvuH4hpoE8FPbdci/W7jLpnS3nsRrM5PRSSk8BOgmC76g7D2
ffhm0kfn0RTvfmxOvamrSke4hcpAhGnOcwBxLCmglTtgHIRX90c/wKBsWelPWzgw
FTsB8YNgwcOsXspFwTGt
=DOOi
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to