Redpitaya OS build - RPC support not available in C library

Applications, development tools, FPGA, C, WEB
Post Reply
pita
Posts: 17
Joined: Mon Oct 05, 2015 12:00 pm

Redpitaya OS build - RPC support not available in C library

Post by pita » Wed Feb 10, 2016 1:32 pm

Hi !

I tried to compile the RedpitayaOS (official), but I get the following output at a later stage
in the make process:

Code: Select all

make -C OS/buildroot
make[1]: Entering directory `/home/red/redpitaya/RedPitaya/OS/buildroot'
make -C buildroot-2014.02 USER_HOOKS_EXTRA_ENV='VERSION=0.94-0-devbuild REVISION=devbuild'
make[2]: Entering directory `/home/red/redpitaya/RedPitaya/OS/buildroot/buildroot-2014.02'
>>> toolchain-external undefined Configuring
[b]RPC support not available in C library, please disable BR2_TOOLCHAIN_HAS_NATIVE_RPC[/b]
make[2]: *** [/home/red/redpitaya/RedPitaya/OS/buildroot/buildroot-2014.02/output/build/toolchain-external-undefined/.stamp_configured] Error 1
make[2]: Leaving directory `/home/red/redpitaya/RedPitaya/OS/buildroot/buildroot-2014.02'
make[1]: *** [buildroot-2014.02/output/images/rootfs.cpio.uboot] Error 2
make[1]: Leaving directory `/home/red/redpitaya/RedPitaya/OS/buildroot'
make: *** [buildroot] Error 2
I have Vivado+SDK installed... that part of the build process builds fine.
But as You can see - make fails at a later stage in buildroot.

Obviously this is related to RPC support that is not part of compiler's C library..
Of course I didn't forget to run these lines before running make:

Code: Select all

source /opt/Xilinx/Vivado/2015.4/settings64.sh
source /opt/Xilinx/SDK/2015.4/settings64.sh 

export CROSS_COMPILE=arm-xilinx-eabi-
So make should be using the right arm-xilinx-eabi compiler.
Has anyone of You ever encountered this warning ?

Best regards
pita

pita
Posts: 17
Joined: Mon Oct 05, 2015 12:00 pm

Re: Redpitaya OS build - RPC support not available in C libr

Post by pita » Thu Feb 11, 2016 12:28 pm

Got it !
Seems to be a mistake in http://wiki.redpitaya.com/index.php?title=Red_Pitaya_OS manual.

Taking a look at the makefile in <master branch>/OS/buildroot/ it is

Code: Select all

export CROSS_COMPILE=arm-xilinx-linux-gnueabi-
you have to specify, not arm-xilinx-eabi-.

Furthermore add the line

Code: Select all

BR2_TOOLCHAIN_EXTERNAL_PATH="/opt/Xilinx/SDK/2015.4/gnu/arm/lin"
in config.armel in the same <master branch>/OS/buildroot dir.
(adapt 2015.4 to the SDK/Vivado version you got installed)

Best regards
pita
Last edited by pita on Thu Feb 11, 2016 12:49 pm, edited 1 time in total.

Nils Roos
Posts: 1441
Joined: Sat Jun 07, 2014 12:49 pm
Location: Königswinter

Re: Redpitaya OS build - RPC support not available in C libr

Post by Nils Roos » Thu Feb 11, 2016 12:34 pm

Ah, right, I didn't immediately pick up on the CROSS_COMPILE.

As a general note: if you are building the master branch, you should only follow the instructions in the included READMEs. The informations in the wiki are still not up to date for the 0.94 ecosystem.

pita
Posts: 17
Joined: Mon Oct 05, 2015 12:00 pm

Re: Redpitaya OS build - RPC support not available in C libr

Post by pita » Thu Feb 11, 2016 2:03 pm

V-v-v-version clash ! :D
Good you mention it. I always follow instructions on the wiki's etc.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 86 guests