Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: Re: error compiling base for rtems
From: "Silver" <marco_hair@163.com>
To: "Eric Norum" <eric@norum.ca>, "tech-talk" <tech-talk@aps.anl.gov>
Date: Tue, 29 Jun 2010 16:36:45 +0800
hi, Eric:

  Yes, I have applied the aptches. Now I changed RTEMS 4.9 and can generate EPICS application for RTEMS-pc686. With help of the document you wrote before, thanks for it first.
  Another question, I want to try it on a vmware machine. I use grub to load the program. the grub.conf file is like following:

###################################################
title           Ubuntu 9.04, kernel 2.6.28-11-server
uuid            2f9b3e8c-18dd-49d5-8a79-0452e3d7cf7e
kernel          /home/testApp/bin/RTEMS-pc686/aaa.boot /home/testApp/iocBoot/iocaaa/st.cmd
###################################################
  it shows: "Error 13, Invalid or unsupported executable format". 
  Before that, I can run the hello_world program from examples of RTEMS on vmware machine by GRUB. 
  Ps, if I want to run RTEMS from CF card in a X86 embedded box, which bootloader is suitable? GRUB or Uboot or others? As you are expert of that, would you please give me some suggestions?
  Thanks a lot for your help.

======= At 2010-06-28, 21:45:36 you wrote: =======

>Did you apply all the patches and rebuild the tool chain?
>Also, I would suggest that you use an official release of RTEMS rather than the code from the CVS repository.
>
>On Jun 27, 2010, at 9:23 PM, Silver wrote:
>
>> hi, Eric:
>> 
>>  great, you are online.
>>  I use "cvs -z 9 co -P rtems" to check it out. seems it's latest version. the versions said it's RTEMS Version 4.9.99.0. but under some directory, for example, contrib/crossrpms/patches, there are files like this: newlib-1.18.0-rtems4.11-20100617.diff.
>>  Thanks for your help.
>> 
>> ======= At 2010-06-28, 12:03:55 you wrote: =======
>> 
>>> Which version of RTEMS?
>>> 
>>> 
>>> On Jun 27, 2010, at 7:56 PM, "Silver" <marco_hair@163.com> wrote:
>>> 
>>>> hi, 
>>>> 
>>>> when I tried to compile the base3.14.10 for latest RTEMS version, it shows the following errors:
>>>> 
>>>> make[3]: Entering directory `/usr/local/epics/r3.14.10/base-3.14.10/src/libCom/O.RTEMS-pc386'
>>>> /opt/rtems/bin/i386-rtems-g++ -B/opt/rtems/i386-rtems/pc386/lib/ -specs bsp_specs -qrtems   -c   -mtune=i386               -DUNIX      -O2 -g -g  -Wall         -DOMIT_NFS_SUPPORT  -I. -I../O.Common -I. -I../../../src/libCom/osi/os/RTEMS -I../../../src/libCom/osi/os/posix -I../../../src/libCom/osi/os/default -I.. -I../../../src/libCom/bucketLib -I../../../src/libCom/ring -I../../../src/libCom/calc -I../../../src/libCom/cvtFast -I../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates -I../../../src/libCom/dbmf -I../../../src/libCom/ellLib -I../../../src/libCom/env -I../../../src/libCom/error -I../../../src/libCom/fdmgr -I../../../src/libCom/freeList -I../../../src/libCom/gpHash -I../../../src/libCom/iocsh -I../../../src/libCom/logClient -I../../../src/libCom/macLib -I../../../src/libCom/misc -I../../../src/libCom/osi -I../../../src/libCom/taskwd -I../../../src/libCom/timer -I../../../src/libCom/tsDefs -I../../../include/os/RTEMS -I../../../include         ../../../!
 src/l!
>>>> ibCom/osi/os/RTEMS/osdTime.cpp 
>>>> ../../../src/libCom/osi/os/RTEMS/osdTime.cpp: In function 'void osdNTPInit()':
>>>> ../../../src/libCom/osi/os/RTEMS/osdTime.cpp:61: error: 'close' was not declared in this scope
>>>> ../../../src/libCom/osi/os/RTEMS/osdTime.cpp: At global scope:
>>>> ../../../src/libCom/osi/os/RTEMS/osdTime.cpp:132: warning: 'done' defined but not used
>>>> make[3]: *** [osdTime.o] Error 1
>>>> make[3]: Leaving directory `/usr/local/epics/r3.14.10/base-3.14.10/src/libCom/O.RTEMS-pc386'
>>>> make[2]: *** [install.RTEMS-pc386] Error 2
>>>> make[2]: Leaving directory `/usr/local/epics/r3.14.10/base-3.14.10/src/libCom'
>>>> make[1]: *** [libCom.install] Error 2
>>>> make[1]: Leaving directory `/usr/local/epics/r3.14.10/base-3.14.10/src'
>>>> make: *** [src.install] Error 2
>>>> 
>>>> can anyone give some hints? thanks a lot for your help.
>>>> 
>>>> Best regards
>>>> Geyang  2010-06-28
>>>> 
>>>> 
>> 
>> = = = = = = = = = = = = = = = = = = = =
>> 			
>> 
>> Best regards				 
>> Geyang 2010-06-28
>> 
>> 
>
>-- 
>Eric Norum
>eric@norum.ca
>
>
>
>

= = = = = = = = = = = = = = = = = = = =
			

Best regards				 
Geyang 2010-06-29



References:
error compiling base for rtems Silver
Re: error compiling base for rtems Eric Norum

Navigate by Date:
Prev: Re: compiling synApps std Tim Mooney
Next: streamdevice ao from subroutine Wesley Moore
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: error compiling base for rtems Eric Norum
Next: No PLT for relocation Dr. Peter Zumbruch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·