Error messages refer to "undefined" symbols and sections

This commit is contained in:
Rangi42
2025-08-08 19:22:13 -04:00
parent 9fc83efe06
commit 2130a5ba1f
38 changed files with 86 additions and 79 deletions

View File

@@ -1,3 +1,3 @@
error: cascading-errors-fatal-assert.asm(1): Unknown symbol "UnknownSymbol"
error: cascading-errors-fatal-assert.asm(1): Undefined symbol "UnknownSymbol"
FATAL: cascading-errors-fatal-assert.asm(1): Failed to evaluate assertion
Linking aborted with 2 errors

View File

@@ -1,11 +1,11 @@
error: cascading-errors.asm(18): Unknown symbol "Foo"
error: cascading-errors.asm(19): Unknown symbol "Bar"
error: cascading-errors.asm(16): Unknown symbol "hNonExist"
error: cascading-errors.asm(14): Unknown symbol "NonExist"
error: cascading-errors.asm(12): Unknown symbol "Foo"
error: cascading-errors.asm(10): Unknown symbol "Foo"
error: cascading-errors.asm(18): Undefined symbol "Foo"
error: cascading-errors.asm(19): Undefined symbol "Bar"
error: cascading-errors.asm(16): Undefined symbol "hNonExist"
error: cascading-errors.asm(14): Undefined symbol "NonExist"
error: cascading-errors.asm(12): Undefined symbol "Foo"
error: cascading-errors.asm(10): Undefined symbol "Foo"
error: cascading-errors.asm(10): Division by 0
error: cascading-errors.asm(9): Unknown symbol "Foo"
error: cascading-errors.asm(9): Unknown symbol "Bar"
error: cascading-errors.asm(8): Unknown symbol "Bar"
error: cascading-errors.asm(9): Undefined symbol "Foo"
error: cascading-errors.asm(9): Undefined symbol "Bar"
error: cascading-errors.asm(8): Undefined symbol "Bar"
Linking failed with 10 errors

View File

@@ -1,9 +1,9 @@
error: invalid-patches.asm(10): JR target must be between -128 and 127 bytes away, not 190; use JP instead
error: invalid-patches.asm(9): Address $0 for LDH is not in HRAM range
error: invalid-patches.asm(8): Requested SIZEOF() of section "NonexistentSection", which was not found
error: invalid-patches.asm(7): Requested STARTOF() of section "NonexistentSection", which was not found
error: invalid-patches.asm(6): Requested BANK() of section "NonexistentSection", which was not found
error: invalid-patches.asm(5): Requested BANK() of symbol "NonexistentSymbol", which was not found
error: invalid-patches.asm(8): Requested SIZEOF() of undefined section "NonexistentSection"
error: invalid-patches.asm(7): Requested STARTOF() of undefined section "NonexistentSection"
error: invalid-patches.asm(6): Requested BANK() of undefined section "NonexistentSection"
error: invalid-patches.asm(5): Requested BANK() of undefined symbol "NonexistentSymbol"
error: invalid-patches.asm(4): Exponent by negative value -1
error: invalid-patches.asm(3): Modulo by 0
Linking failed with 8 errors

View File

@@ -1,2 +1,2 @@
error: script-unknown-section.link(2): Unknown section "Wheeee"
error: script-unknown-section.link(2): Undefined section "Wheeee"
Linking failed with 1 error

View File

@@ -1,3 +1,3 @@
error: sym-noexist.asm(3): Unknown symbol "nothing"
error: sym-noexist.asm(2): Unknown symbol "where"
error: sym-noexist.asm(3): Undefined symbol "nothing"
error: sym-noexist.asm(2): Undefined symbol "where"
Linking failed with 2 errors

View File

@@ -1,4 +1,4 @@
error: symbols/unknown/a.asm(2): Unknown symbol "Label"
error: symbols/unknown/a.asm(2): Undefined symbol "Label"
A label with that name is defined but not exported at symbols/unknown/b.asm(2)
A constant with that name is defined but not exported at symbols/unknown/c.asm(1)
A constant with that name is defined but not exported at symbols/unknown/d.asm(1)