Hi,
EPICS BASE 3.14.12.1 built on
HOST
CentOS 5.6 ( Linux 2.6.18-238.19.1.el5.....), EPICS_HOST_ARCH .. linux-x86
WindRiver VxWorks 6.9 and Workbench 3.3
WindRiver gnu cross-compiler <WR install location>/gnu/4.3.3-vxworks-6.9/x86-linux2/bin/ccppc
TARGET
CROSS_COMPILER_TARGET_ARCHS=vxWorks-ppc32
(mvme 6100)
ERRORS
come up from few VxWorks target header files (see a snippet at the end of the email).
The files are:
vxWorks-6.9/target/h/dllLib.h
/excLib.h
/sllLib.h
and also
/stdio.h
The errors are related to C and C++ linkage / nesting (extern "C" { } etc.)
A Trouble Report has been submitted to our local (Australian) support and then to WindRiver.
In the meantime, I have a fix for the .h files that enabled me to build the base - if anyone is interested to see/check, let me know and I can send it.
I also have a question please:
Is there any reason to not use vxWorks 6.9 for epics 3.14.12.1 or .2 and/or
mvme 6100 or 5100 ?
Regards,
Vesna
Vesna Samardzic-Boban | Controls Engineer | Australian Synchrotron
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
A build log/extract with error messages:
.....
/usr/local/wr/gnu/4.3.3-vxworks-6.9/x86-linux2/bin/ccppc -c -DCPU=PPC32 -DvxWorks -include /usr/local/wr/vxworks-6.9/target/h/vxWorks.h -O2 -Wall -mstrict-align -mlongcall -fno-builtin -MMD -I. -I../O.Common -I. -I../../../src/libCom/osi/os/vxWorks -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/vxWorks -I!
../../../include -I/usr/local/wr/vxworks-6.9/target/h -I/usr/local/wr/vxworks-6.9/target/h/wrn/coreip ../../../src/libCom/fdmgr/fdmgr.cpp
In file included from /usr/local/wr/vxworks-6.9/target/h/ioLib.h:161,
from /usr/local/wr/vxworks-6.9/target/h/wrn/coreip/sockFunc.h:49,
from /usr/local/wr/vxworks-6.9/target/h/wrn/coreip/sockLib.h:54,
from ../../../src/libCom/osi/os/vxWorks/osdSock.h:29,
from ../../../src/libCom/osi/osiSock.h:21,
from ../../../src/libCom/fdmgr/fdManager.h:28,
from ../../../src/libCom/fdmgr/fdmgr.cpp:29:
/usr/local/wr/vxworks-6.9/target/h/dllLib.h:319: error: declaration of C function 'DL_NODE* dllEach(DL_LIST*, int (*)(...), _Vx_usr_arg_t)' conflicts with
/usr/local/wr/vxworks-6.9/target/h/dllLib.h:295: error: previous declaration 'DL_NODE* dllEach(DL_LIST*, BOOL (*)(DL_NODE*, _Vx_usr_arg_t), _Vx_usr_arg_t)' here
/usr/local/wr/vxworks-6.9/target/h/dllLib.h: In function 'DL_NODE* dllEach(DL_LIST*, int (*)(...), _Vx_usr_arg_t)':
/usr/local/wr/vxworks-6.9/target/h/dllLib.h:331: error: invalid conversion from 'BOOL (*)(DL_NODE*, _Vx_usr_arg_t)' to 'int (*)(...)'
/usr/local/wr/vxworks-6.9/target/h/dllLib.h:331: error: initializing argument 2 of 'DL_NODE* dllEach(DL_LIST*, int (*)(...), _Vx_usr_arg_t)'
In file included from /usr/local/wr/vxworks-6.9/target/h/taskLib.h:285,
from /usr/local/wr/vxworks-6.9/target/h/selectLib.h:55,
from ../../../src/libCom/osi/os/vxWorks/osdSock.h:38,
from ../../../src/libCom/osi/osiSock.h:21,
from ../../../src/libCom/fdmgr/fdManager.h:28,
from ../../../src/libCom/fdmgr/fdmgr.cpp:29:
/usr/local/wr/vxworks-6.9/target/h/excLib.h: At global scope:
/usr/local/wr/vxworks-6.9/target/h/excLib.h:163: error: declaration of C function 'void excHookAdd(int (*)(...))' conflicts with
/usr/local/wr/vxworks-6.9/target/h/excLib.h:153: error: previous declaration 'void excHookAdd(void (*)(TASK_ID, int, void*))' here
/usr/local/wr/vxworks-6.9/target/h/excLib.h: In function 'void excHookAdd(int (*)(...))':
/usr/local/wr/vxworks-6.9/target/h/excLib.h:171: error: invalid conversion from 'void (*)(TASK_ID, int, void*)' to 'int (*)(...)'
/usr/local/wr/vxworks-6.9/target/h/excLib.h:171: error: initializing argument 1 of 'void excHookAdd(int (*)(...))'
In file included from /usr/local/wr/vxworks-6.9/target/h/private/msgQLibP.h:56,
from /usr/local/wr/vxworks-6.9/target/h/taskLib.h:291,
from /usr/local/wr/vxworks-6.9/target/h/selectLib.h:55,
from ../../../src/libCom/osi/os/vxWorks/osdSock.h:38,
from ../../../src/libCom/osi/osiSock.h:21,
from ../../../src/libCom/fdmgr/fdManager.h:28,
from ../../../src/libCom/fdmgr/fdmgr.cpp:29:
/usr/local/wr/vxworks-6.9/target/h/sllLib.h: At global scope:
/usr/local/wr/vxworks-6.9/target/h/sllLib.h:289: error: declaration of C function 'SL_NODE* sllEach(SL_LIST*, int (*)(...), _Vx_usr_arg_t)' conflicts with
/usr/local/wr/vxworks-6.9/target/h/sllLib.h:267: error: previous declaration 'SL_NODE* sllEach(SL_LIST*, BOOL (*)(SL_NODE*, _Vx_usr_arg_t), _Vx_usr_arg_t)' here
/usr/local/wr/vxworks-6.9/target/h/sllLib.h: In function 'SL_NODE* sllEach(SL_LIST*, int (*)(...), _Vx_usr_arg_t)':
/usr/local/wr/vxworks-6.9/target/h/sllLib.h:301: error: invalid conversion from 'BOOL (*)(SL_NODE*, _Vx_usr_arg_t)' to 'int (*)(...)'
/usr/local/wr/vxworks-6.9/target/h/sllLib.h:301: error: initializing argument 2 of 'SL_NODE* sllEach(SL_LIST*, int (*)(...), _Vx_usr_arg_t)'
make[2]: *** [fdmgr.o] Error 1
make[2]: Leaving directory `/epics/base-3-14-12-1/src/libCom/O.vxWorks-ppc32'
make[1]: *** [install.vxWorks-ppc32] Error 2
make[1]: Leaving directory `/epics/base-3-14-12-1/src/libCom'
make: *** [libCom.install] Error 2<br>This message and any attachments may contain proprietary or confidential information. If you are not the intended recipient or you received the message in error, you must not use, copy or distribute the message. Please notify the sender immediately and destroy the original message. Thank you.
- Replies:
- Re: errors in vxWorks-6.9/target/h(eader) files when building base 3.14.12.1 Andrew Johnson
- Navigate by Date:
- Prev:
[CSS] work without EPICS base ? Pavel Masloff
- Next:
[CSS] 'Epics' menu in Preferences disappeared!!! Pavel Masloff
- 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: [CSS] work without EPICS base ? Kasemir, Kay
- Next:
Re: errors in vxWorks-6.9/target/h(eader) files when building base 3.14.12.1 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
|