SAMA5D36-XPLD and PPPD

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

majkowp2
Posts: 2
Joined: Wed Sep 25, 2019 11:42 am

SAMA5D36-XPLD and PPPD

Wed Sep 25, 2019 11:57 am

Hello,

I try to install PPPD package to linux4sam-poky-sama5d3_xplained-6.1 demo system from linux4dsam, board SAMA5D36-XPLD.

In the running demo linux system, i check the opkg list, but there i cannot find pppd package available.

Is is possible to install pppd package on that system?
Linux sama5d3-xplained 4.19.56-linux4sam-6.1 #1 Tue Jul 16 13:18:43 UTC 2019 armv7l armv7l armv7l GNU/Linux

Whats the simplest way? Is it possible to copy this package to and install it?

Thanks
majkowp2
Posts: 2
Joined: Wed Sep 25, 2019 11:42 am

Re: SAMA5D36-XPLD and PPPD

Mon Sep 30, 2019 9:08 pm

Hello
I managed to enable in kernel PPP and flash it to nand.
Now i want to bitbake PPPD package and then transfer it to board and install.
But i have a problem with bitbake and gold linker:

Code: Select all


| libgold.a(target.o): In function `gold::Target::do_plt_fde_location(gold::Output_data const*, unsigned char*, unsigned long*, long*) const':
| target.cc:(.text+0x577): undefined reference to `gold::do_gold_unreachable(char const*, int, char const*)'
| target.cc:(.text+0x58f): undefined reference to `gold::do_gold_unreachable(char const*, int, char const*)'
| libgold.a(target.o): In function `gold::Target::set_view_to_nop(unsigned char*, unsigned long, long, unsigned long) const':
| target.cc:(.text+0x6b3): undefined reference to `gold::do_gold_unreachable(char const*, int, char const*)'
| libgold.a(target.o): In function `gold::Sized_target<32, false>::do_adjust_elf_header(unsigned char*, int)':
| target.cc:(.text._ZN4gold12Sized_targetILi32ELb0EE20do_adjust_elf_headerEPhi[_ZN4gold12Sized_targetILi32ELb0EE20do_adjust_elf_headerEPhi]+0x51): undefined reference to `gold::do_gold_unreachable(char const*, int, char const*)'
| libgold.a(target.o): In function `gold::Sized_target<32, true>::do_adjust_elf_header(unsigned char*, int)':
| target.cc:(.text._ZN4gold12Sized_targetILi32ELb1EE20do_adjust_elf_headerEPhi[_ZN4gold12Sized_targetILi32ELb1EE20do_adjust_elf_headerEPhi]+0x51): undefined reference to `gold::do_gold_unreachable(char const*, int, char const*)'
| libgold.a(target.o):target.cc:(.text._ZN4gold12Sized_targetILi64ELb0EE20do_adjust_elf_headerEPhi[_ZN4gold12Sized_targetILi64ELb0EE20do_adjust_elf_headerEPhi]+0x51): more undefined references to `gold::do_gold_unreachable(char const*, int, char const*)' follow
| collect2: error: ld returned 1 exit status
| Makefile:810: recipe for target 'ld-new' failed
| make[4]: *** [ld-new] Error 1
| make[4]: Leaving directory '/home/park/build3/poky/build-microchip/tmp/work/x86_64-linux/binutils-cross-arm/2.30-r0/git/build.x86_64-linux.arm-poky-linux-gnueabi/gold'
| Makefile:941: recipe for target 'all-recursive' failed
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory '/home/park/build3/poky/build-microchip/tmp/work/x86_64-linux/binutils-cross-arm/2.30-r0/git/build.x86_64-linux.arm-poky-linux-gnueabi/gold'
| Makefile:692: recipe for target 'all' failed
| make[2]: *** [all] Error 2
| make[2]: Leaving directory '/home/park/build3/poky/build-microchip/tmp/work/x86_64-linux/binutils-cross-arm/2.30-r0/git/build.x86_64-linux.arm-poky-linux-gnueabi/gold'
| Makefile:6045: recipe for target 'all-gold' failed
| make[1]: *** [all-gold] Error 2
| make[1]: Leaving directory '/home/park/build3/poky/build-microchip/tmp/work/x86_64-linux/binutils-cross-arm/2.30-r0/git/build.x86_64-linux.arm-poky-linux-gnueabi'
| Makefile:849: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/park/build3/poky/build-microchip/tmp/work/x86_64-linux/binutils-cross-arm/2.30-r0/temp/log.do_compile.19304)
ERROR: Task (/home/park/build3/poky/meta/recipes-devtools/binutils/binutils-cross_2.30.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 393 tasks of which 392 didn't need to be rerun and 1 failed.

Is there any way to workaround/disable gold linker?

Thanks

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 3 guests