[RTEMS Project] #4002: Beaglebone and PC BSP stacks do not build

RTEMS trac trac at rtems.org
Mon Jun 15 06:43:07 UTC 2020


#4002: Beaglebone and PC BSP stacks do not build
-------------------------+---------------------
 Reporter:  Chris Johns  |       Owner:  (none)
     Type:  defect       |      Status:  new
 Priority:  highest      |   Milestone:  5.1
Component:  bsps         |     Version:  5
 Severity:  blocker      |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:  3985         |
-------------------------+---------------------

Comment (by Sebastian Huber):

 We have:
 {{{
 #
 # Check for installed libraries.
 #
 # - Check is LibBSD is install
 # - Add librtemsdefaultconfig so configure scripts work.
 #
 # Note: default BSP flags include the standard RTEMS libraries.
 #
 %define rtems-dep-check %(%{_sbdir}/sb/rtems-build-dep -c
 %{with_tools}/bin/%{rtems_bsp_cc}

 %define rtems-libbsd %{rtems-dep-check} -L %{rtems_bsp_libpath} -l
 libbsd.a)
 %if %{rtems-libbsd} == found
  %define rtems_bsp_libs %{rtems_bsp_libs} -lbsd -lm -lz
 %endif

 %define rtems-defaultconfig %{rtems-dep-check} -L %{rtems_bsp_libpath} -l
 librtemsdefaultconfig.a)
 %if %{rtems-defaultconfig} == found
  %define rtems_bsp_libs %{rtems_bsp_libs} -lrtemsdefaultconfig
 %endif
 }}}
 Maybe there is an issue with the macro evaluation on your system. I don't
 see the -lbsd -lm -lz in your report also.

--
Ticket URL: <http://devel.rtems.org/ticket/4002#comment:7>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list