#3011 closed defect (worksforme)

Error compiling xilinx_zynq_zedboard.

Reported by: Arturo Pérez Owned by: Gedare Bloom
Priority: normal Milestone: 5.1
Component: arch/arm Version: 5
Severity: normal Keywords: zedboard RSB buid
Cc: Blocked By:
Blocking:

Description

I encountered an error compiling the xilinx_zynq_zedboard BSP. I am using a built of the RSB that I compiled in December. With that built of the RSB I could built this BSP several times until I did a git pull of the RTEMS repo two weeks ago. Today I updated my repos of the RTEMS and RSB sources, I rebuilt the RSB and I tried to built again the xilinx_zynq_zedboard BSP, encountering the same error:

gmake[6]: * No rule to make target posix/include/sys/mman.h', needed by ../cpukit/../../../xilinx_zynq_zedboard/lib/include/sys/mman.h'. Stop.

Change History (11)

comment:1 Changed on May 9, 2017 at 2:24:45 PM by Gedare Bloom

Resolution: invalid
Status: newclosed

You need to re-build your toolchain with a new git-pull of the RSB.

comment:2 Changed on May 10, 2017 at 8:50:57 AM by Arturo Pérez

As I wrote, I updated the RSB sources by doing a git-pull. Then, I built it again, but using this new version I found the same error. I did it yesterday and today.

comment:3 Changed on May 10, 2017 at 12:46:23 PM by Gedare Bloom

Resolution: invalid
Status: closedreopened

The sys/mman.h was moved from RTEMS into newlib awhile ago, but maybe there is a problem with the integration. I recently added the mmap/munmap support. I'll try to look at this, can anyone else replicate it?

comment:4 Changed on May 10, 2017 at 12:46:43 PM by Gedare Bloom

Owner: changed from joel.sherrill@… to Gedare Bloom
Status: reopenedassigned

comment:5 Changed on May 10, 2017 at 1:07:47 PM by Joel Sherrill

I built all BSPs overnight and didn't have any failures due to this. I always bootstrap -c and rebootstrap before a build sweep. It is quite possible that the Makefile.in didn't get regenerated in the reporter's source tree.

comment:6 Changed on May 10, 2017 at 4:40:46 PM by Gedare Bloom

Yes, that makes sense. Arturo, please do bootstrap -c and then bootstrap, configure and make.

comment:7 Changed on May 11, 2017 at 7:31:02 AM by Sebastian Huber

Milestone: 4.124.12.0

comment:8 Changed on May 11, 2017 at 8:25:39 AM by Arturo Pérez

Yes, that was the solution. I was not doing bootstrap -c.

From now I will do the built always following the steps as Joel said.

Thanks, so much. Sorry, if I made you losing a bit of time.

Last edited on May 11, 2017 at 9:41:16 AM by Arturo Pérez (previous) (diff)

comment:9 Changed on May 11, 2017 at 11:08:58 AM by Sebastian Huber

Resolution: worksforme
Status: assignedclosed

comment:10 Changed on Oct 10, 2017 at 6:54:12 AM by Sebastian Huber

Component: bspsarch/arm

comment:11 Changed on Nov 9, 2017 at 6:27:14 AM by Sebastian Huber

Milestone: 4.12.05.1

Milestone renamed

Note: See TracTickets for help on using tickets.