rtems-4.5.0-beta/c_tools build error

Joel Sherrill joel.sherrill at OARcorp.com
Mon May 1 17:31:12 UTC 2000


Eli Kozikaro wrote:
> 
> Hello All,
> I'm using  RedHat 6.2 and  rtems-4.5.0-beta.
> I untared the  tools and applied the patches then I ran ./bit m68k
> The ./bit m68k build did not complete  (see error messages bellow).
> I was able to complete the build when I added the install point
> (/usr/local/rtems/bin ) to the PATH environment variable.
> I wonder if this is a bug or am I missing a step.

There is a minor bug in the current bit.  In modifying bit to use
the same build procedure used with the RPMS, this line was left
out.

Index: bit
===================================================================
RCS file: /usr1/CVS/scripts/c/bit,v
retrieving revision 1.19.2.1
diff -u -r1.19.2.1 bit
--- bit	2000/04/07 19:49:51	1.19.2.1
+++ bit	2000/05/01 17:27:46
@@ -144,6 +144,9 @@
       echo 
     fi 
 
+# Add the binutils to the PATH used in this script so gcc can find them
+    export PATH=${PATH}:${INSTALL_POINT}/bin
+
 #  The following removes the build tree and creates another.
     echo
     echo "Compilation of binutils will occur in ${BUILDDIR}."



> Eli Kozikaro
> 
> if [ $? -eq 0 ] ; then true; else exit 1; fi; \
>   mv libgcc1.o ${name}.o; \
>   m68k-rtems-ar rc tmplibgcc1.a ${name}.o; \
>   rm -f ${name}.o; \
> done
> _mulsi3
> /bin/sh: m68k-rtems-ar: command not found
> _udivsi3
> /bin/sh: m68k-rtems-ar: command not found
> _divsi3
> /bin/sh: m68k-rtems-ar: command not found
> _umodsi3
> /bin/sh: m68k-rtems-ar: command not found
> _modsi3
> /bin/sh: m68k-rtems-ar: command not found
> _double
> /bin/sh: m68k-rtems-ar: command not found
> _float
> /bin/sh: m68k-rtems-ar: command not found
> _floatex
> /bin/sh: m68k-rtems-ar: command not found
> _eqdf2
> /bin/sh: m68k-rtems-ar: command not found
> _nedf2
> /bin/sh: m68k-rtems-ar: command not found
> _gtdf2
> /bin/sh: m68k-rtems-ar: command not found
> _gedf2
> /bin/sh: m68k-rtems-ar: command not found
> _ltdf2
> /bin/sh: m68k-rtems-ar: command not found
> _ledf2
> /bin/sh: m68k-rtems-ar: command not found
> _eqsf2
> /bin/sh: m68k-rtems-ar: command not found
> _nesf2
> /bin/sh: m68k-rtems-ar: command not found
> _gtsf2
> /bin/sh: m68k-rtems-ar: command not found
> _gesf2
> /bin/sh: m68k-rtems-ar: command not found
> _ltsf2
> /bin/sh: m68k-rtems-ar: command not found
> _lesf2
> /bin/sh: m68k-rtems-ar: command not found
> rm -f libgcc1.S
> mv tmplibgcc1.a libgcc1-asm.a
> mv: tmplibgcc1.a: No such file or directory
> gmake[1]: *** [libgcc1-asm.a] Error 1
> gmake[1]: Leaving directory
> `/home/ekozikaro/rtems/tools/build-m68k-tools/gcc'
> gmake: *** [all-gcc] Error 2
> ERROR: **** FAILED **** base build (step 1)
> 
> Started:   Fri Apr 28 16:52:03 PDT 2000
> Finished:  Fri Apr 28 17:01:05 PDT 2000
> 
> Directory size information:
> 54108 build-m68k-tools
> 19184 /usr/local/rtems
> 
> The src and build-m68k-tools subdirectory have NOT been removed.
> 
> _______________________________________________________________________
> 
> Why pay when you don't have to? Get AltaVista Free Internet Access now!
> http://jump.altavista.com/freeaccess4.go
> 
> _______________________________________________________________________

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list