<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [LS1028ARDB]: LSDK2012 Error at compiling application in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028ARDB-LSDK2012-Error-at-compiling-application/m-p/1494451#M5188</link>
    <description>&lt;P&gt;Please refer to&amp;nbsp;flexbuild_lsdk2012/packages/apps/networking/dce/Makefile for reference.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2022 03:39:41 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2022-07-25T03:39:41Z</dc:date>
    <item>
      <title>[LS1028ARDB]: LSDK2012 Error at compiling application</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028ARDB-LSDK2012-Error-at-compiling-application/m-p/1464024#M5139</link>
      <description>&lt;P&gt;Hi NXP Support Team,&lt;/P&gt;&lt;P&gt;I am building an application and for this I am using "aarch64-linux-gnu".&lt;BR /&gt;While building the application, receiving an error message "Relocations in generic ELF (EM: 62)" for aarch64-linux-gnu-ld.&lt;BR /&gt;I searched online but couldn't understand the issue.&lt;/P&gt;&lt;P&gt;Here I have added the error prints.&lt;BR /&gt;{&lt;BR /&gt;aarch64-linux-gnu-gcc ./arch/*.o ./user/*.o -L -g -O2 -lrt -static -lpthread -o moogSMSApp&lt;BR /&gt;/usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: ./arch/arch_command_module.o: Relocations in generic ELF (EM: 62)&lt;BR /&gt;/usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: ./arch/arch_command_module.o: Relocations in generic ELF (EM: 62)&lt;BR /&gt;./arch/arch_command_module.o: error adding symbols: File in wrong format&lt;BR /&gt;collect2: error: ld returned 1 exit status&lt;BR /&gt;Makefile:17: recipe for target 'all' failed&lt;BR /&gt;make: *** [all] Error 1&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Also added the make file.&lt;BR /&gt;{&lt;BR /&gt;EXE_NAME=moogSMSApp&lt;BR /&gt;CROSS_COMPILE=aarch64-linux-gnu-&lt;BR /&gt;#CROSS_COMPILE=arm-linux-gnueabihf-&lt;BR /&gt;CC=$(CROSS_COMPILE)gcc&lt;BR /&gt;LD=$(CROSS_COMPILE)ld&lt;BR /&gt;#LD=$(CROSS_COMPILE)cc&lt;BR /&gt;CFLAGS= -c&lt;BR /&gt;LDFLAGS=-g -O2 -lrt -static -lpthread&lt;BR /&gt;#LDFLAGS= -static -lpthread&lt;BR /&gt;#LDFLAGS1=-g -O2 -lrt -lpthread&lt;BR /&gt;TAGS=tags&lt;BR /&gt;CSCOPE_OUT=cscope.out&lt;BR /&gt;ARCH=./arch/&lt;BR /&gt;USER=./user/&lt;BR /&gt;OBJS= ./arch/*.o ./user/*.o&lt;BR /&gt;all:$(OBJS)&lt;BR /&gt;$(CC) $(OBJS) -L $(LD_LIBRARY_PATH) $(LDFLAGS) -o $(EXE_NAME)&lt;BR /&gt;#$(LD) $(OBJS) -L $(LD_LIBRARY_PATH) $(LDFLAGS) -o $(EXE_NAME)&lt;BR /&gt;$(MAKE) -C $(ARCH) clean&lt;BR /&gt;$(MAKE) -C $(USER) clean&lt;BR /&gt;$(OBJS):&lt;BR /&gt;$(MAKE) -C $(ARCH)&lt;BR /&gt;$(MAKE) -C $(USER)&lt;BR /&gt;tags:&lt;BR /&gt;ctags -R&lt;BR /&gt;clean_tags:&lt;BR /&gt;rm -rf $(TAGS) $(CSCOPE_OUT)&lt;BR /&gt;&lt;BR /&gt;.PHONY: clean&lt;BR /&gt;clean:&lt;BR /&gt;$(MAKE) -C $(ARCH) clean&lt;BR /&gt;$(MAKE) -C $(USER) clean&lt;BR /&gt;rm -rf $(EXE_NAME) $(CSCOPE_OUT)&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Let me know how to resolve this error.&lt;BR /&gt;Awaiting Reply,&lt;BR /&gt;Rishabh Mishra&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 13:10:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028ARDB-LSDK2012-Error-at-compiling-application/m-p/1464024#M5139</guid>
      <dc:creator>RiskyUser</dc:creator>
      <dc:date>2022-05-25T13:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028ARDB]: LSDK2012 Error at compiling application</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028ARDB-LSDK2012-Error-at-compiling-application/m-p/1494451#M5188</link>
      <description>&lt;P&gt;Please refer to&amp;nbsp;flexbuild_lsdk2012/packages/apps/networking/dce/Makefile for reference.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 03:39:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028ARDB-LSDK2012-Error-at-compiling-application/m-p/1494451#M5188</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-07-25T03:39:41Z</dc:date>
    </item>
  </channel>
</rss>

