Skip to contentSkip to conversation

arm-unknown-linux-gnu-ld: no machine record defined

DISCUSSION Kristoffer Ericson 2 participants 4 messages Dec 31, 2009 – Jan 1, 2010

lore
Share & tools
lore
#0 lore raw

Greetings,

Im adding support for the Dell AXIM X30. Ive created the machine file with relevant makefile/Kconfig option and everything compiles nicely up to the linker that spits out no machine record defined.

Kconfig contains
config MACH_X30
bool "AximX30 platform"
select PXA27x
select IWMMXT
select PXA_HAVE_BOARDS_IRQ

and aximx30.c got
MACHINE_START(X30, "Axim X30")
.......

Shouldnt that be enough for it to find the machine record?

mach-types got
X30 MACH_X30 X30 655

Maybe im using too old toolchain? Using gcc-3.4.5 + glibc 2.3.5

Best wishes
Kristoffer Ericson

Signature · 1 line
Kristoffer Ericson <[email protected]>
#1 lore raw

2009/12/31 Kristoffer Ericson <[email protected]>:

Quoted 5 lines

Greetings,

Im adding support for the Dell AXIM X30. Ive created the machine file with relevant makefile/Kconfig option and everything compiles nicely up to the linker that spits out no machine record defined.

Quoted 7 lines

Kconfig contains
config MACH_X30
? ? ? bool "AximX30 platform"
? ? ? select PXA27x
? ? ? select IWMMXT
? ? ? select PXA_HAVE_BOARDS_IRQ

Please make sure above definition was really included in your current system at compiling time.

Quoted 23 lines

and aximx30.c got
MACHINE_START(X30, "Axim X30")
.......

Shouldnt that be enough for it to find the machine record?

mach-types got
X30 ? ? MACH_X30 ? ? ? ?X30 ? ? 655

Maybe im using too old toolchain? Using gcc-3.4.5 + glibc 2.3.5

Best wishes
Kristoffer Ericson
--
Kristoffer Ericson <[email protected]>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Signature · 3 lines
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#2 lore raw
Quoted 14 lines · On Thu, 31 Dec 2009 21:19:54 +0800 Wan ZongShun <[email protected]> wrote:

2009/12/31 Kristoffer Ericson <[email protected]>:

Quoted 5 lines

Greetings,

Im adding support for the Dell AXIM X30. Ive created the machine file with relevant makefile/Kconfig option and everything compiles nicely up to the linker that spits out no machine record defined.

Quoted 7 lines

Kconfig contains
config MACH_X30
? ? ? bool "AximX30 platform"
? ? ? select PXA27x
? ? ? select IWMMXT
? ? ? select PXA_HAVE_BOARDS_IRQ

Quoted 3 lines

Please make sure above definition was really included in your current system at compiling time.

Ive made distclean/clean and recompiled numerous times and getting exactly same problem. So must be something else.

Quoted 31 lines
Quoted 24 lines

and aximx30.c got
MACHINE_START(X30, "Axim X30")
.......

Shouldnt that be enough for it to find the machine record?

mach-types got
X30 ? ? MACH_X30 ? ? ? ?X30 ? ? 655

Maybe im using too old toolchain? Using gcc-3.4.5 + glibc 2.3.5

Best wishes
Kristoffer Ericson
--
Kristoffer Ericson <[email protected]>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Signature · 3 lines
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 1 line
Kristoffer Ericson <[email protected]>
#3 lore raw

2010/1/1 Kristoffer Ericson <[email protected]>:

Quoted 17 lines
Quoted 14 lines · On Thu, 31 Dec 2009 21:19:54 +0800 Wan ZongShun <[email protected]> wrote:

2009/12/31 Kristoffer Ericson <[email protected]>:

Quoted 12 lines

Greetings,

Im adding support for the Dell AXIM X30. Ive created the machine file with relevant makefile/Kconfig option and everything compiles nicely up to the linker that spits out no machine record defined.

Kconfig contains
config MACH_X30
? ? ? bool "AximX30 platform"
? ? ? select PXA27x
? ? ? select IWMMXT
? ? ? select PXA_HAVE_BOARDS_IRQ

Quoted 7 lines
Quoted 3 lines

Please make sure above definition was really included in your current system at compiling time.

Ive made distclean/clean and recompiled numerous times and getting exactly same problem. So must be something else.

Would ou please send more info? such as error log, arch/arm/kconfig,arch/arm/mach-xxx/kcondig?

Quoted 36 lines
Quoted 27 lines
Quoted 19 lines

and aximx30.c got
MACHINE_START(X30, "Axim X30")
.......

Shouldnt that be enough for it to find the machine record?

mach-types got
X30 ? ? MACH_X30 ? ? ? ?X30 ? ? 655

Maybe im using too old toolchain? Using gcc-3.4.5 + glibc 2.3.5

Best wishes
Kristoffer Ericson
--
Kristoffer Ericson <[email protected]>

Quoted 5 lines

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Quoted 4 lines

--
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

--
Kristoffer Ericson <[email protected]>

Signature · 3 lines
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel