Hi all,
I work with EPICS R3.13.1, vxWorks 5.3.1.
I started to work with Power PC board (mv2306). When I tried to build
EPICS base I got following compilation error in base/rsrv:
gmake -C O.mv2306 -f ../Makefile.Vx T_A=mv2306 BUILD_TYPE=Vx install
gmake[1]: Entering directory `/import/epixF/solaris2/mks/slava/EpicsR3.13.1/bas
e/src/rsrv/O.mv2306'
rm -f camessage.o
/usr/wind/host/sun4-solaris2/bin/ccppc -B/usr/wind/host/sun4-solaris2/lib/gcc-l
ib/ -nostdinc -ansi -pedantic -O2 -fstrength-reduce -Wall -UUNIX -DCPU=PPC603
-mcpu=603 -DCPU_FAMILY=PPC603 -DvxWorks -DV5_vxWorks -fno-builtin -I. -I.. -
I../../ca -I../../../include -I../../../include/os/vxWorks -I/usr/wind/target/
h -c ../camessage.c
../camessage.c: In function `write_notify_action':
../camessage.c:952: warning: implicit declaration of function `dbNotifyCancel'
../camessage.c:1003: warning: implicit declaration of function `dbPutNotifyMapType'
../camessage.c:1010: warning: implicit declaration of function `dbPutNotify'
../camessage.c: In function `send_err':
../camessage.c:1878: incompatible types in assignment
------------------------------------------------------
../camessage.c: At top level:
../camessage.c:53: warning: `sccsId' defined but not used
../server.h:46: warning: `serverhSccsId' defined but not used
../camessage.c:2204: warning: `casMalloc' defined but not used
gmake[1]: *** [camessage.o] Error 1
gmake[1]: Leaving directory `/import/epixF/solaris2/mks/slava/EpicsR3.13.1/base/src/rsrv/O.mv2306'
gmake: *** [install.mv2306] Error 2
the code line is:
logMsgArgs[i] = va_arg(args, int);
I didn't have such error when I built EPICS for mv162.
In tech-talk archives I've found the report of Nobory Yamamoto , where
were listed all remarked problems for Power PC EPICS (Beta12). Along with
other problems it was mentioned there:
> 1-4) va_list in errPrintfVX.c.
>
> In 68K compiler, va_list is "typedef"-ed as pointer type, while PPC
>compiler "typedef" va_list as an array type. There is a code segment
>in src/libCoom/errPrintfVX.c which assgined "va_list" value
>to a "va_list" variable.
> In 68K compiler, it is a simple pointer assignment. In PPC compiler,
>it turns to be an array assginment which is not allowed in the
>current compiler.
In R3.13.1 errPrintfVX.c module doesn't exist, it was completely rewritten
by M.Kraimer. But in rsrv/camessage.c module still exist codes dealing
with va_list and cause compilation error for PPC architecture.
Best regards,
V.Korobov
e-mail: [email protected]
- Replies:
- Re: EPICS R3.13.1 and Power PC Andrew Johnson
- Navigate by Date:
- Prev:
RE: CA question (caRepeater) Ralph . Lange
- Next:
Re: Who is using what EPICS version Janousch Markus
- Index:
1994
1995
1996
1997
1998
1999
<2000>
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: compiler bug in unpatched Solaris C++ 5.0, Visual C++ Kay Kasemir
- Next:
Re: EPICS R3.13.1 and Power PC Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
<2000>
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|