On Sat, Apr 4, 2020, 12:18 PM Gedare Bloom <[email protected]> wrote: > Hi Mike, > > On Sat, Apr 4, 2020 at 10:08 AM Michael Westfall <[email protected]> > wrote: > > > > Hi, this is maybe not an RTEMS problem specifically, but I wonder if > someone can give me a pointer as to what's going on. > > > > I want to build libreadline-6.2 from rtems-addon-packages under RTEMS > 5.0.0, but it fails during the ./configure stage with a message that the C > compiler can't create executables. > > > > mikew@pollux:/gem_sw/targetOS/RTEMS/source/rtems-addon-packages/readline-6.2$ > make -f ../RTEMS_Makefiles/Makefile.readline-6.2 > > bash_cv_have_mbstate_t=yes ./configure \ > > --host=powerpc-rtems \ > > --prefix=/gem_sw/targetOS/RTEMS/rtems-5.0.0/powerpc-rtems5 \ > > --libdir=/gem_sw/targetOS/RTEMS/rtems-5.0.0/powerpc-rtems5/beatnik/lib \ > > > --includedir=/gem_sw/targetOS/RTEMS/rtems-5.0.0/powerpc-rtems5/beatnik/lib/include > \ > > --disable-shared --enable-static > > configure: WARNING: If you wanted to set the --build type, don't use > --host. > > If a cross compiler is detected then cross compile mode will be used. > > checking build system type... x86_64-unknown-linux-gnu > > checking host system type... powerpc-unknown-rtems > > > > Beginning configuration for readline-6.2 for powerpc-unknown-rtems > > > > checking whether make sets $(MAKE)... yes > > checking for powerpc-rtems-gcc... powerpc-rtems5-gcc --pipe > -B/gem_sw/targetOS/RTEMS/rtems-5.0.0/powerpc-rtems5/beatnik/lib/ -specs > bsp_specs -qrtems -mcpu=7400 > > checking for C compiler default output file name... > > configure: error: in > `/gem_sw/targetOS/RTEMS/source/rtems-addon-packages/readline-6.2': > > configure: error: C compiler cannot create executables > > See `config.log' for more details. > > Can you find the line in config.log that shows which compilation > failed and what was the output of the compiler? >
There is a line above with powerpc-unknown-rtems without the 5 on the target. That's likely indicative of the problem. I converted most of the add-on packages to RSB recipes. I don't recall this one specifically. But eventually they all should be there.. easy enough to create when you actually know the package. I was trying to do them mechanically. https://git.rtems.org/rtems-source-builder/tree/rtems/config is where they would be. --joel > > ../RTEMS_Makefiles/Makefile.readline-6.2:9: recipe for target 'all' > failed > > make: *** [all] Error 77 > > mikew@pollux > :/gem_sw/targetOS/RTEMS/source/rtems-addon-packages/readline-6.2$ > > > > Thanks for any help, > > -- > > Mike Westfall > > Control Systems Software Engineer > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.rtems.org/mailman/listinfo/users > _______________________________________________ > users mailing list > [email protected] > http://lists.rtems.org/mailman/listinfo/users >
_______________________________________________ users mailing list [email protected] http://lists.rtems.org/mailman/listinfo/users
