LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

unrecognised emulation mode

 
I have a LPC 229x evaluation board. I wrote a simple application with labview. It sends "Hello world" string to serial port.
When I build the project I get this error message:
 
Linker error occurred
/opt/ecos/gnutools/arm-elf/bin/arm-elf-ld: unrecognised emulation mode: structure-size-boundary=8
cported emulations: armelf

What's wrong here?
 
Thanks for your help.
 
0 Kudos
Message 1 of 3
(6,418 Views)
Hi,

LabVIEW Embedded passes this option to the linker: '-mstructure-size-boundary=8'. Apparently, the linker got confused with this option. It would help if we could find out the version you have of arm-elf-gcc (use 'arm-elf-gcc -v' in a console). Also, set a breakpoint in 'LEP_ecos_Phytec_LPC229x_ScriptLinker.vi' and capture the command passed to the linker so we can take a look at it. The command is passed into the Sys Exec Wrap VI as a string.
--
Michael P
National Instruments
0 Kudos
Message 2 of 3
(6,411 Views)
Thanks Michael,
You were right. It was a version problem.
0 Kudos
Message 3 of 3
(6,402 Views)