Build now works, new failure.

Andrew Sporner asporner at googlemail.com
Mon Apr 13 20:03:25 UTC 2009


I didn't reply to the list but the build problem has been solved.

I can only guess it was something that got munged early on.  Starting complely
from scratch resolved the problem.

However there seems to be somthing new:

During the build of the samples the fileio does not build.  The
reported failure is:

-- SNIP

gmake[5]: Entering directory
`/home/asporner/embedd/obj4.10/powerpc-rtems4.10/c/mpc8313erdb/testsuites/samples/fileio'
powerpc-rtems4.10-gcc -B../../../../../mpc8313erdb/lib/ -specs
bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src-tests-samples\"
-DPACKAGE_TARNAME=\"rtems-c-src-tests-samples\"
-DPACKAGE_VERSION=\"4.9.99.0\"
-DPACKAGE_STRING=\"rtems-c-src-tests-samples\ 4.9.99.0\"
-DPACKAGE_BUGREPORT=\"http://www.rtems.org/bugzilla\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.
-I../../../../../../../rtems-4.10/c/src/../../testsuites/samples/fileio
    -mcpu=603e -mstrict-align -fno-strict-aliasing -meabi -msdata
-fno-common -O2 -g -fno-keep-inline-functions -funit-at-a-time -W
-Wno-unused -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o
../../../../../../../rtems-4.10/c/src/../../testsuites/samples/fileio/init.c
mv -f .deps/init.Tpo .deps/init.Po
powerpc-rtems4.10-gcc -B../../../../../mpc8313erdb/lib/ -specs
bsp_specs -qrtems -mcpu=603e -mstrict-align -fno-strict-aliasing
-meabi -msdata -fno-common -O2 -g -fno-keep-inline-functions
-funit-at-a-time -W -Wno-unused   -qnolinkcmds -T linkcmds.mpc8313erdb
 -mcpu=603e -mstrict-align -fno-strict-aliasing -meabi -msdata
-fno-common   -o fileio.exe init.o
../../../../../mpc8313erdb/lib/no-barrier.rel
../../../../../mpc8313erdb/lib/no-dpmem.rel
../../../../../mpc8313erdb/lib/no-event.rel
../../../../../mpc8313erdb/lib/no-mp.rel
../../../../../mpc8313erdb/lib/no-part.rel
../../../../../mpc8313erdb/lib/no-region.rel
../../../../../mpc8313erdb/lib/no-signal.rel
../../../../../mpc8313erdb/lib/no-timer.rel
../../../../../mpc8313erdb/lib/no-rtmon.rel
../../../../../mpc8313erdb/lib/no-ext.rel
init.o: In function `fileio_start_shell':
/home/asporner/embedd/obj4.10/powerpc-rtems4.10/c/mpc8313erdb/testsuites/samples/fileio/../../../../../../../rtems-4.10/c/src/../../testsuites/samples/fileio/init.c:188:
undefined reference to `rtems_shell_login_check'
/home/asporner/embedd/obj4.10/powerpc-rtems4.10/c/mpc8313erdb/testsuites/samples/fileio/../../../../../../../rtems-4.10/c/src/../../testsuites/samples/fileio/init.c:188:
undefined reference to `rtems_shell_login_check'
init.o:(.data+0x264): undefined reference to `rtems_shell_HALT_Command'
collect2: ld returned 1 exit status
--- END SNIP

Looking at the changelog I noticed that the HALT command was a new entry into
the shell recently and wonder if all of the places where it has to be
put made it.

I was going to spend a few more hours pouring into this, but I think
the person that
wrote this probably would be a lot more efficient at this.

Many Thanks



Andy



On Sun, Apr 12, 2009 at 9:51 PM, Joel Sherrill
<joel.sherrill at oarcorp.com> wrote:
> Andrew Sporner wrote:
>>
>> Hi,
>>
>> I am new to this and have following the quick-start on the documentation
>> page to the letter.  I am running on Suse 11.1 and have installed the
>> development
>> tools from the rtems.com website.
>>
>> I issue the command:
>>
>>  ../rtems/configure --target=sparc-rtems4.10 --enable-rtemsbsp=sis
>> --enable-tests=samples --disable-posix -disable-itron
>>
>> and after some time the output comes:
>>
>> -------------SNIP BEGIN
>>
>> running /bin/sh '../../../rtems/c/configure'
>> '--prefix=/opt/rtems-4.10' '--host=sparc-rtems4.10'
>> '--build=i686-suse-linux-gnu' '--target=sparc-rtems4.10'
>> '--enable-rtemsbsp=sis' '--enable-tests=samples' '--disable-posix'
>> '-disable-itron' '--with-target-subdir=sparc-rtems4.10'
>> '--exec-prefix=/opt/rtems-4.10/sparc-rtems4.10'
>> '--includedir=/opt/rtems-4.10/sparc-rtems4.10/include'
>> '--cache-file=/dev/null' '--srcdir=../../../rtems/c'
>> checking for gmake... gmake
>> checking for RTEMS Version... 4.9.99.0
>> checking build system type... i686-suse-linux-gnu
>> checking host system type... sparc-unknown-rtems4.10
>> checking target system type... sparc-unknown-rtems4.10
>> checking rtems target cpu... sparc
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether gmake sets $(MAKE)... yes
>> checking for sparc-rtems4.10-strip... no
>> checking for strip... strip
>> configure: WARNING: using cross tools not prefixed with host triplet
>> checking whether to enable maintainer-specific portions of Makefiles... no
>> checking for sis.cfg... ../../../rtems/c/../make/custom/sis.cfg
>> configure: creating ./config.status
>> config.status: creating Makefile
>>
>> target architecture: sparc.
>> available BSPs: sis.
>> 'gmake all' will build the following BSPs: sis.
>> other BSPs can be built with 'gmake RTEMS_BSP="bsp1 bsp2 ..."'
>>
>> config.status: error: cannot find input file: Makefile.in
>>
>> ----------------- SNIP END
>>
>>
>> Any ideas?
>>
>>
>
> Did you load the rtems autoconf and automake?  It is at the
> head of your PATH?  Did you run "bootstrap" from the top
> of the RTEMS source tree?
>
> checking for sparc-rtems4.10-strip... no
>
> in the above is a big hint that something isn't right in your
> PATH?
>
> --joel
>>
>> Sincere regards
>>
>>
>>
>> Andy
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.com
>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>
>
>



More information about the users mailing list