EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: epics compiling problem
From: Kate Feng <[email protected]>
To: ʦê»Àñ <[email protected]>
Cc: [email protected]
Date: Tue, 10 Apr 2007 05:47:23 -0400
ʦê»Àñ wrote:

> thanks S Kate.Feng that RTEMS has been built successfully with RTEMS-mvme5500
> BSP she provided. but an error appears now while compiling EPICS3.14.6. the
> log is listed as follows:

 I sent you the configure files for 3.14.6.  I hope it works fine.

Kate

>
>
> make -C libCom install
> make[2]: Entering directory `/home/rtems/base-3.14.6/base/src/libCom'
> make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
> make[3]: Entering directory `/home/rtems/base-3.14.6/base/src/libCom/O.linux-
> x86'
> make[3]: Nothing to be done for `install'.
> make[3]: Leaving directory `/home/rtems/base-3.14.6/base/src/libCom/O.linux-
> x86'
> make -C O.RTEMS-mvme5500 -f ../Makefile TOP=../../.. T_A=RTEMS-mvme5500
> install
> make[3]: Entering directory
> `/home/rtems/base-3.14.6/base/src/libCom/O.RTEMS-mvme5500'
> /opt/rtems1/bin/ppc-rtems-gcc --pipe -B/opt/rtems1/ppc-rtems/mvme5500/lib/
> -specs bsp_specs -qrtems   -fasm -c   -mcpu=7450 -Dmpc7455 -mmultiple -
> mstring
> -mstrict-align -DHAS_IOOPS_H        -DOSITHREAD_USE_DEFAULT_STACK
> -ansi  -g -O3  -Wall          -I. -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/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
>    -I//include  ../../../src/libCom/bucketLib/bucketLib.c
> as: unrecognized option `-mppc'
> ../../../src/libCom/bucketLib/bucketLib.c:20:19: stdio.h: No such file or
> directory
> ../../../src/libCom/bucketLib/bucketLib.c:21:20: stdlib.h: No such file or
> directory
> ../../../src/libCom/bucketLib/bucketLib.c:22:20: string.h: No such file or
> directory
> In file included from /usr/local/rtems/rtems4.6.0/lib/gcc-lib/powerpc-
> rtems/3.2.3/include/syslimits.h:7,
>                 from /usr/local/rtems/rtems4.6.0/lib/gcc-lib/powerpc-
> rtems/3.2.3/include/limits.h:11,
>                 from ../../../src/libCom/bucketLib/bucketLib.c:23:
> /usr/local/rtems/rtems4.6.0/lib/gcc-lib/powerpc-
> rtems/3.2.3/include/limits.h:132:75: no include path in which to find
> limits.h
> ../../../src/libCom/bucketLib/bucketLib.c:24:18: math.h: No such file or
> directory
> ../../../src/libCom/bucketLib/bucketLib.c:25:18: time.h: No such file or
> directory
> ../../../src/libCom/bucketLib/bucketLib.c: In function `bucketStringCompare':
> ../../../src/libCom/bucketLib/bucketLib.c:222: warning: implicit declaration
> of function `strcmp'
> ../../../src/libCom/bucketLib/bucketLib.c: In function `bucketCreate':
> ../../../src/libCom/bucketLib/bucketLib.c:320: warning: implicit declaration
> of function `fprintf'
> ../../../src/libCom/bucketLib/bucketLib.c:320: `stderr' undeclared (first use
> in this function)
> ../../../src/libCom/bucketLib/bucketLib.c:320: (Each undeclared identifier is
> reported only once
> ../../../src/libCom/bucketLib/bucketLib.c:320: for each function it appears
> in.)
> ../../../src/libCom/bucketLib/bucketLib.c:355: warning: implicit declaration
> of function `calloc'
> ../../../src/libCom/bucketLib/bucketLib.c:367: warning: implicit declaration
> of function `free'
> ../../../src/libCom/bucketLib/bucketLib.c: In function `bucketShow':
> ../../../src/libCom/bucketLib/bucketLib.c:580: warning: implicit declaration
> of function `printf'
> ../../../src/libCom/bucketLib/bucketLib.c:604: warning: implicit declaration
> of function `sqrt'
> make[3]: *** [bucketLib.o] Error 2
> make[3]: Leaving directory
> `/home/rtems/base-3.14.6/base/src/libCom/O.RTEMS-mvme5500'
> make[2]: *** [install.RTEMS-mvme5500] Error 2
> make[2]: Leaving directory `/home/rtems/base-3.14.6/base/src/libCom'
> make[1]: *** [libCom.install] Error 2
> make[1]: Leaving directory `/home/rtems/base-3.14.6/base/src'
> make: *** [src.install] Error 2
>
> I want to know where it find these .h files? I really did not find these .h
> files in the epics base directory and its subdirectories. I will attach the
> complete log to you.
>
> From the log, I see that error appears while compiling the file
> base/src/libCom/bucketLib/bucketLib.c, and it says that can't find stdio.h,
> stdlib.h, and so on, and there doesn't exist these .h files in the base
> directory and its subdirectories. only epicsStdio.h,epicsString.h and some
> other .h files exist in base/include.
>
> I also see while compiling the file ase/src/libCom/osi/os/posix/osdProcess.c,
> in the file, there are '#include <stdio.h>, #include <stdlib.h>,
> #include <string.h>', and no error appears. I wonder how these .h files are
> found?
>
> besides, when compiling the file bucketLib.c, there is the parameter
> -I../../../include/os/Linux -I../../../include, and when compiling the file
> osdProcess.c, there si the parameter -I../../../include/os/RTEMS
> -I../../../include, so in theory, buchetLib.c should be able to be compiled.
> but now...
>
> last, I see in the log: '/usr/local/rtems/rtems4.6.0/lib/gcc-lib/powerpc-
> rtems/3.2.3/include/limits.h:14:25:no include path in which to find
> limits.h', why it will find limits.h in the directory(I build the cross-
> compiler tools in the directroy /usr/local/rtems/rtems4.6.0)
>
> best regards
> Haoli Shi
>
>   ------------------------------------------------------------------------
>                          Name: errorcompile070409
>    errorcompile070409    Type: Plain Text (text/plain)
>                      Encoding: base64



Replies:
Re: epics compiling problem ʦê»Àñ
References:
epics compiling problem 师昊礼

Navigate by Date:
Prev: epics compiling problem 师昊礼
Next: Re: firewire video on RTEMS-4.6.x-MVME5500 Kate Feng
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: epics compiling problem 师昊礼
Next: Re: epics compiling problem ʦê»Àñ
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·