no rule to make all

Gedare Bloom gedare at rtems.org
Sun Oct 13 23:36:40 UTC 2013


I believe you want "--enable-rtemsbsp=pc386". Otherwise the command looks right.

-Gedare

On Sun, Oct 13, 2013 at 3:18 PM, dave <daveerickson at shaw.ca> wrote:
> ok sure:
>
> here is the pc-386 configure only:
>
> [dave at localhost build-i386]$ ../rtems/configure --target=i386-rtems4.11
> --enable-posix --enable-networking --prefix=/opt/rtems-4.11  --enable-cxx
> --enable-bsp="pc386"
> ...
> configure still works...then it still fails:
> ....
>
> target architecture: i386.
> available BSPs: pc386 pc486 pc586-sse pc586 pc686 pcp4.
> 'gmake all' will build the following BSPs: pc386 pc486 pc586-sse pc586 pc686
> pcp4.
> other BSPs can be built with 'gmake RTEMS_BSP="bsp1 bsp2 ..."'
>
> config.status: creating Makefile
> [dave at localhost build-i386]$ gmake RTEMS_BSP="pc386"
>
> Making all in tools/build
> gmake[1]: Entering directory `/home/dave/src/RTEMS/build-i386/tools/build'
> gmake  all-am
> gmake[2]: Entering directory `/home/dave/src/RTEMS/build-i386/tools/build'
> gmake[2]: Leaving directory `/home/dave/src/RTEMS/build-i386/tools/build'
> gmake[1]: Leaving directory `/home/dave/src/RTEMS/build-i386/tools/build'
> Making all in tools/cpu
> gmake[1]: Entering directory `/home/dave/src/RTEMS/build-i386/tools/cpu'
> Making all in generic
> gmake[2]: Entering directory
> `/home/dave/src/RTEMS/build-i386/tools/cpu/generic'
> gmake[2]: Nothing to be done for `all'.
> gmake[2]: Leaving directory
> `/home/dave/src/RTEMS/build-i386/tools/cpu/generic'
> gmake[2]: Entering directory `/home/dave/src/RTEMS/build-i386/tools/cpu'
> gmake[2]: Nothing to be done for `all-am'.
> gmake[2]: Leaving directory `/home/dave/src/RTEMS/build-i386/tools/cpu'
> gmake[1]: Leaving directory `/home/dave/src/RTEMS/build-i386/tools/cpu'
> Making all in testsuites/tools
> gmake[1]: Entering directory
> `/home/dave/src/RTEMS/build-i386/testsuites/tools'
> Making all in generic
> gmake[2]: Entering directory
> `/home/dave/src/RTEMS/build-i386/testsuites/tools/generic'
> gmake[2]: Nothing to be done for `all'.
> gmake[2]: Leaving directory
> `/home/dave/src/RTEMS/build-i386/testsuites/tools/generic'
> gmake[2]: Entering directory
> `/home/dave/src/RTEMS/build-i386/testsuites/tools'
> gmake[2]: Nothing to be done for `all-am'.
> gmake[2]: Leaving directory
> `/home/dave/src/RTEMS/build-i386/testsuites/tools'
> gmake[1]: Leaving directory
> `/home/dave/src/RTEMS/build-i386/testsuites/tools'
> Making all in i386-rtems4.11/c
> gmake[1]: Entering directory
> `/home/dave/src/RTEMS/build-i386/i386-rtems4.11/c'
> Making all in .
> gmake[2]: Entering directory
> `/home/dave/src/RTEMS/build-i386/i386-rtems4.11/c'
> gmake[2]: Nothing to be done for `all-am'.
> gmake[2]: Leaving directory
> `/home/dave/src/RTEMS/build-i386/i386-rtems4.11/c'
> Making all in pc386
> gmake[2]: Entering directory
> `/home/dave/src/RTEMS/build-i386/i386-rtems4.11/c/pc386'
> gmake[2]: *** No rule to make target `all'.  Stop.
> gmake[2]: Leaving directory
> `/home/dave/src/RTEMS/build-i386/i386-rtems4.11/c/pc386'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/home/dave/src/RTEMS/build-i386/i386-rtems4.11/c'
> gmake: *** [all-recursive] Error 1
>
>
>
> On 10/13/2013 11:03 AM, Joel Sherrill wrote:
>>
>> Hmm.. Can you provide the configure command?
>>
>> And if you don't want to build all bsps in an architecture add
>> --enable-rtemsbsp=xxx where xxx is the single bsp you care about.
>>
>> And it was expected the RTEMS x86 executable didn't run on Linux. It
>> assumes bare hardware.
>>
>> --joel
>>
>> dave <daveerickson at shaw.ca> wrote:
>>
>>
>> Ok thank you,
>>
>> So a native GCC compiler version must be a dependency?  You are right, I
>> installed gcc only and it worked to configure;  then I tried to make: it
>> says no rule to make all:
>> configure: creating ./config.status
>> config.status: creating Makefile
>>
>> target architecture: i386.
>> available BSPs: pc386 pc486 pc586-sse pc586 pc686 pcp4.
>> 'gmake all' will build the following BSPs: pc386 pc486 pc586-sse pc586
>> pc686 pcp4.
>> other BSPs can be built with 'gmake RTEMS_BSP="bsp1 bsp2 ..."'
>>
>> config.status: creating Makefile
>> [dave at localhost build-i386]$ gmake all
>> Making all in tools/build
>> gmake[1]: Entering directory `/home/dave/src/RTEMS/build-i386/tools/build'
>> gmake  all-am
>> gmake[2]: Entering directory `/home/dave/src/RTEMS/build-i386/tools/build'
>> gmake[2]: Leaving directory `/home/dave/src/RTEMS/build-i386/tools/build'
>> gmake[1]: Leaving directory `/home/dave/src/RTEMS/build-i386/tools/build'
>> Making all in tools/cpu
>> gmake[1]: Entering directory `/home/dave/src/RTEMS/build-i386/tools/cpu'
>> Making all in generic
>> gmake[2]: Entering directory
>> `/home/dave/src/RTEMS/build-i386/tools/cpu/generic'
>> gmake[2]: Nothing to be done for `all'.
>> gmake[2]: Leaving directory
>> `/home/dave/src/RTEMS/build-i386/tools/cpu/generic'
>> gmake[2]: Entering directory `/home/dave/src/RTEMS/build-i386/tools/cpu'
>> gmake[2]: Nothing to be done for `all-am'.
>> gmake[2]: Leaving directory `/home/dave/src/RTEMS/build-i386/tools/cpu'
>> gmake[1]: Leaving directory `/home/dave/src/RTEMS/build-i386/tools/cpu'
>> Making all in testsuites/tools
>> gmake[1]: Entering directory
>> `/home/dave/src/RTEMS/build-i386/testsuites/tools'
>> Making all in generic
>> gmake[2]: Entering directory
>> `/home/dave/src/RTEMS/build-i386/testsuites/tools/generic'
>> gmake[2]: Nothing to be done for `all'.
>> gmake[2]: Leaving directory
>> `/home/dave/src/RTEMS/build-i386/testsuites/tools/generic'
>> gmake[2]: Entering directory
>> `/home/dave/src/RTEMS/build-i386/testsuites/tools'
>> gmake[2]: Nothing to be done for `all-am'.
>> gmake[2]: Leaving directory
>> `/home/dave/src/RTEMS/build-i386/testsuites/tools'
>> gmake[1]: Leaving directory
>> `/home/dave/src/RTEMS/build-i386/testsuites/tools'
>> Making all in i386-rtems4.11/c
>> gmake[1]: Entering directory
>> `/home/dave/src/RTEMS/build-i386/i386-rtems4.11/c'
>> Making all in .
>> gmake[2]: Entering directory
>> `/home/dave/src/RTEMS/build-i386/i386-rtems4.11/c'
>> gmake[2]: Nothing to be done for `all-am'.
>> gmake[2]: Leaving directory
>> `/home/dave/src/RTEMS/build-i386/i386-rtems4.11/c'
>> Making all in pc386
>> gmake[2]: Entering directory
>> `/home/dave/src/RTEMS/build-i386/i386-rtems4.11/c/pc386'
>> gmake[2]: *** No rule to make target `all'.  Stop.
>> gmake[2]: Leaving directory
>> `/home/dave/src/RTEMS/build-i386/i386-rtems4.11/c/pc386'
>> gmake[1]: *** [all-recursive] Error 1
>> gmake[1]: Leaving directory
>> `/home/dave/src/RTEMS/build-i386/i386-rtems4.11/c'
>> gmake: *** [all-recursive] Error 1
>> [dave at localhost build-i386]$
>>
>> On 10/12/2013 03:59 PM, Joel Sherrill wrote:
>>>
>>> The configure didn't find the native GCC. Maybe you messed your PATH up
>>> adding the RTEMS tools. Or it isn't installed.
>>>
>>> dave <daveerickson at shaw.ca> wrote:
>>>
>>>
>>> This is what a call to i386-rtems-4.11-gcc looks like:
>>>
>>> [dave at localhost build-i386]$ i386-rtems4.11-gcc -v
>>> Using built-in specs.
>>> COLLECT_GCC=i386-rtems4.11-gcc
>>>
>>> COLLECT_LTO_WRAPPER=/opt/rtems-4.11/libexec/gcc/i386-rtems4.11/4.8.0/lto-wrapper
>>> Target: i386-rtems4.11
>>> Configured with: ../gcc-4.8.0/configure --prefix=/opt/rtems-4.11
>>> --bindir=/opt/rtems-4.11/bin --exec_prefix=/opt/rtems-4.11
>>> --includedir=/opt/rtems-4.11/include --libdir=/opt/rtems-4.11/lib
>>> --libexecdir=/opt/rtems-4.11/libexec --mandir=/opt/rtems-4.11/share/man
>>> --infodir=/opt/rtems-4.11/share/info --datadir=/opt/rtems-4.11/share
>>> --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu
>>> --target=i386-rtems4.11 --disable-libstdcxx-pch --with-gnu-as
>>> --with-gnu-ld --verbose --with-newlib --with-system-zlib --disable-nls
>>> --without-included-gettext --disable-win32-registry
>>> --enable-version-specific-runtime-libs --enable-threads --disable-lto
>>> --disable-plugin --enable-newlib-io-c99-formats --enable-newlib-iconv
>>> --enable-languages=c,c++
>>> Thread model: rtems
>>> gcc version 4.8.0 20130322 (RTEMS
>>> gcc-4.8.0-4.fc19/newlib-1.20.0-25.fc19) (GCC)
>>> [dave at localhost build-i386]$
>>>
>>> and I did the f.c test and it compiled although I couldn't get it to run
>>> on my x86_64 machine.
>>>
>>> Thanks,
>>>
>>> Dave
>>> On 10/12/2013 02:24 PM, dave wrote:
>>>>
>>>> Hi
>>>> This is what /opt/rtems-4.11 looks like:
>>>>
>>>> [dave at localhost build-i386]$ ls /opt/rtems-4.11/bin
>>>> aclocal                      powerpc-rtems4.11-gcc-4.8.0
>>>> aclocal-1.13                 powerpc-rtems4.11-gcc-ar
>>>> autoconf                     powerpc-rtems4.11-gcc-nm
>>>> autoheader                   powerpc-rtems4.11-gcc-ranlib
>>>> autom4te                     powerpc-rtems4.11-gcov
>>>> automake                     powerpc-rtems4.11-gdb
>>>> automake-1.13                powerpc-rtems4.11-gprof
>>>> autoreconf                   powerpc-rtems4.11-ld
>>>> autoscan                     powerpc-rtems4.11-ld.bfd
>>>> autoupdate                   powerpc-rtems4.11-nm
>>>> i386-rtems4.11-addr2line     powerpc-rtems4.11-objcopy
>>>> i386-rtems4.11-ar            powerpc-rtems4.11-objdump
>>>> i386-rtems4.11-as            powerpc-rtems4.11-ranlib
>>>> i386-rtems4.11-c++           powerpc-rtems4.11-readelf
>>>> i386-rtems4.11-c++filt       powerpc-rtems4.11-run
>>>> i386-rtems4.11-cpp           powerpc-rtems4.11-size
>>>> i386-rtems4.11-elfedit       powerpc-rtems4.11-strings
>>>> i386-rtems4.11-g++           powerpc-rtems4.11-strip
>>>> i386-rtems4.11-gcc           sh-rtems4.11-addr2line
>>>> i386-rtems4.11-gcc-4.8.0     sh-rtems4.11-ar
>>>> i386-rtems4.11-gcc-ar        sh-rtems4.11-as
>>>> i386-rtems4.11-gcc-nm        sh-rtems4.11-c++
>>>> i386-rtems4.11-gcc-ranlib    sh-rtems4.11-c++filt
>>>> i386-rtems4.11-gcov          sh-rtems4.11-cpp
>>>> i386-rtems4.11-gdb           sh-rtems4.11-elfedit
>>>> i386-rtems4.11-gprof         sh-rtems4.11-g++
>>>> i386-rtems4.11-ld            sh-rtems4.11-gcc
>>>> i386-rtems4.11-ld.bfd        sh-rtems4.11-gcc-4.8.0
>>>> i386-rtems4.11-nm            sh-rtems4.11-gcc-ar
>>>> i386-rtems4.11-objcopy       sh-rtems4.11-gcc-nm
>>>> i386-rtems4.11-objdump       sh-rtems4.11-gcc-ranlib
>>>> i386-rtems4.11-ranlib        sh-rtems4.11-gcov
>>>> i386-rtems4.11-readelf       sh-rtems4.11-gdb
>>>> i386-rtems4.11-size          sh-rtems4.11-gprof
>>>> i386-rtems4.11-strings       sh-rtems4.11-ld
>>>> i386-rtems4.11-strip         sh-rtems4.11-ld.bfd
>>>> ifnames                      sh-rtems4.11-nm
>>>> powerpc-rtems4.11-addr2line  sh-rtems4.11-objcopy
>>>> powerpc-rtems4.11-ar         sh-rtems4.11-objdump
>>>> powerpc-rtems4.11-as         sh-rtems4.11-ranlib
>>>> powerpc-rtems4.11-c++        sh-rtems4.11-readelf
>>>> powerpc-rtems4.11-c++filt    sh-rtems4.11-run
>>>> powerpc-rtems4.11-cpp        sh-rtems4.11-size
>>>> powerpc-rtems4.11-elfedit    sh-rtems4.11-strings
>>>> powerpc-rtems4.11-g++        sh-rtems4.11-strip
>>>> powerpc-rtems4.11-gcc
>>>>
>>>>
>>>> I think I have all the right tools...I have used RTEMS before, I took
>>>> the course form Dr. Sherrill.
>>>>
>>>> Thanks,
>>>> Dave
>>>> On 10/12/2013 11:28 AM, Gedare Bloom wrote:
>>>>>
>>>>> Dave,
>>>>> It looks like you don't have a host C compiler. Try installing gcc.
>>>>> -Gedare
>>>>>
>>>>> On Sat, Oct 12, 2013 at 12:52 PM, dave <daveerickson at shaw.ca> wrote:
>>>>>>
>>>>>> Ok bootstrap completed, I created a fresh directory and started a
>>>>>> configure:
>>>>>>
>>>>>> According to the Getting Started manual, the --target=i386-rtems4.11
>>>>>>
>>>>>> According to the rtems/c/TOOL_TARGETS  the targets is called
>>>>>> i386-rtems
>>>>>>
>>>>>> I tried several versions of  i386-rtems  i386-rtems4.11
>>>>>> i386-rtems-4.11
>>>>>>
>>>>>> and this is the compiler fail:
>>>>>>
>>>>>> [dave at localhost build-i386]$ ../rtems/configure
>>>>>> --target=i386-rtems4.11
>>>>>> --enable-posix --enable-networking --disable-cxx
>>>>>> --enable-rtemsbsp="pc386"
>>>>>> --prefix=/opt/rtems-4.11
>>>>>> checking for gmake... gmake
>>>>>> checking for RTEMS Version... 4.10.99.0
>>>>>> checking build system type... x86_64-unknown-linux-gnu
>>>>>> checking host system type... x86_64-unknown-linux-gnu
>>>>>> checking target system type... i386-pc-rtems4.11
>>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>>> checking whether build environment is sane... yes
>>>>>> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
>>>>>> checking for gawk... gawk
>>>>>> checking whether gmake sets $(MAKE)... yes
>>>>>> checking whether gmake supports nested variables... yes
>>>>>> checking whether to enable maintainer-specific portions of
>>>>>> Makefiles... no
>>>>>> checking that generated files are newer than configure... done
>>>>>> configure: creating ./config.status
>>>>>> configure: configuring in ./tools/build
>>>>>> configure: running /bin/sh '../../../rtems/tools/build/configure'
>>>>>> '--prefix=/opt/rtems-4.11' '--host=x86_64-unknown-linux-gnu'
>>>>>> '--build=x86_64-unknown-linux-gnu'  '--enable-posix'
>>>>>> '--enable-networking'
>>>>>> '--disable-cxx' '--enable-rtemsbsp=pc386' '--target=i386-rtems4.11'
>>>>>> '--cache-file=/dev/null' '--srcdir=../../../rtems/tools/build'
>>>>>> checking for gmake... gmake
>>>>>> checking for RTEMS Version... 4.10.99.0
>>>>>> checking build system type... x86_64-unknown-linux-gnu
>>>>>> checking host system type... x86_64-unknown-linux-gnu
>>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>>> checking whether build environment is sane... yes
>>>>>> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
>>>>>> checking for gawk... gawk
>>>>>> checking whether gmake sets $(MAKE)... yes
>>>>>> checking whether gmake supports nested variables... yes
>>>>>> checking whether to enable maintainer-specific portions of
>>>>>> Makefiles... no
>>>>>> checking for x86_64-unknown-linux-gnu-gcc... no
>>>>>> checking for gcc... no
>>>>>> checking for x86_64-unknown-linux-gnu-cc... no
>>>>>> checking for cc... no
>>>>>> checking for x86_64-unknown-linux-gnu-cl.exe... no
>>>>>> checking for cl.exe... no
>>>>>> configure: error: in `/home/dave/src/RTEMS/build-i386/tools/build':
>>>>>> configure: error: no acceptable C compiler found in $PATH
>>>>>> See `config.log' for more details
>>>>>> configure: error: /bin/sh '../../../rtems/tools/build/configure'
>>>>>> failed for
>>>>>> tools/build
>>>>>>
>>>>>> Here is my path
>>>>>> [dave at localhost build-i386]$ echo $PATH
>>>>>>
>>>>>> /opt/rtems-4.11/i386-rtems4.11:/opt/rtems-4.11/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/dave/.local/bin:/home/dave/bin
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 10/12/2013 03:21 AM, Ralf Corsepius wrote:
>>>>>>>
>>>>>>> On 10/12/2013 05:31 AM, dave wrote:
>>>>>>>>
>>>>>>>> Hello;
>>>>>>>>
>>>>>>>> I switched to Fedora 19 from Ubuntu and loaded all build tools and
>>>>>>>> the
>>>>>>>> loaded git source.
>>>>>>>>
>>>>>>>> I ran the bootstrap and got then got this error:
>>>>>>>>
>>>>>>>> ./bootstrap
>>>>>>>> .
>>>>>>>> Can't locate Thread/Queue.pm in @INC (@INC contains:
>>>>>>>> /opt/rtems-4.11/share/automake-1.13 /usr/local/lib64/perl5
>>>>>>>> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
>>>>>>>> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
>>>>>>>> /opt/rtems-4.11/bin/automake line 140.
>>>>>>>> BEGIN failed--compilation aborted at /opt/rtems-4.11/bin/automake
>>>>>>>> line
>>>>>>>> 143.
>>>>>>>> autoreconf: automake failed with exit status: 2
>>>>>>>> grep: Makefile.in: No such file or directory
>>>>>>>> ./testsuites/libtests
>>>>>>>
>>>>>>> Definitely a packaging bug. I don't know the cause, yet - To be
>>>>>>> investigated.
>>>>>>>
>>>>>>> In the meantime, try
>>>>>>> # yum install 'perl(Thread::Queue)'
>>>>>>>
>>>>>>> Ralf
>>>>>>>
>>>>>>>
>>>>>> _______________________________________________
>>>>>> rtems-users mailing list
>>>>>> rtems-users at rtems.org
>>>>>> http://www.rtems.org/mailman/listinfo/rtems-users
>>>>
>>>> _______________________________________________
>>>> rtems-users mailing list
>>>> rtems-users at rtems.org
>>>> http://www.rtems.org/mailman/listinfo/rtems-users
>>>>
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.org
>>> http://www.rtems.org/mailman/listinfo/rtems-users
>>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-users
>>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users



More information about the users mailing list