Experimental Physics and Industrial Control System
This looks like the C functions sysPciOutLong etc are beeing searched
with C++ binding. It seems that extern "C" in some C header is missing
(or around the include statement for that file).
On 06.01.2016 07:27, 김지화(빔라인장치팀) wrote:
> Hi Michael, Eric and Martin,
>
> I has been reinstalled devlib2 module from the "https://github.com/epicsdeb/devlib2/pull/12".
> And rebuild devlib2 and mrfioc2 modules but seems same result.
>
> -> ld < mrf.munch
> Warning: module 0x4cd4df0 holds reference to undefined symbol _Z13sysPciOutLongPjj.
> Warning: module 0x4cd4df0 holds reference to undefined symbol _Z13sysPciOutWordPtt.
> Warning: module 0x4cd4df0 holds reference to undefined symbol _Z12sysPciInWordPt.
> Warning: module 0x4cd4df0 holds reference to undefined symbol _Z12sysPciInLongPj.
> Warning: module 0x4cd4df0 holds reference to undefined symbol _Z12sysPciInBytePh.
> Warning: module 0x4cd4df0 holds reference to undefined symbol _Z13sysPciOutBytePhh.
> ld(): module contains undefined symbol(s) and may be unusable.
> value = 0 = 0x0
>
> -> lkup sysPciOutLong
> value = 0 = 0x0
> -> lkup sysPciOutWord
> value = 0 = 0x0
> -> lkup sysPciInWord
> value = 0 = 0x0
>
> Here is my target file info.
> [root@localhost mv6100]# grep 'define BSP_' config.h
> #define BSP_VERSION "6.9" /* vxWorks 6.9 */
> #define BSP_REV "/0" /* 0 for first revision */
> [root@localhost mv6100]# grep sysPci sysAUtil.s
> FUNC_EXPORT(sysPciInByte)
> FUNC_EXPORT(sysPciOutByte)
> FUNC_EXPORT(sysPciInWord)
> FUNC_EXPORT(sysPciOutWord)
> FUNC_EXPORT(sysPciInLong)
> FUNC_EXPORT(sysPciOutLong)
> * sysPciInByte - reads a byte from PCI Config Space.
> FUNC_BEGIN(sysPciInByte)
> FUNC_END(sysPciInByte)
> * sysPciInWord - reads a word (16-bit big-endian) from PCI Config Space.
> FUNC_BEGIN(sysPciInWord)
> FUNC_END(sysPciInWord)
> * sysPciInLong - reads a long (32-bit big-endian) from PCI Config Space.
> FUNC_BEGIN(sysPciInLong)
> FUNC_END(sysPciInLong)
> * sysPciOutByte - writes a byte to PCI Config Space.
> FUNC_BEGIN(sysPciOutByte)
> FUNC_END(sysPciOutByte)
> * sysPciOutWord - writes a word (16-bit big-endian) to PCI Config Space.
> FUNC_BEGIN(sysPciOutWord)
> FUNC_END(sysPciOutWord)
> * sysPciOutLong - writes a long (32-bit big-endian) to PCI Config Space.
> FUNC_BEGIN(sysPciOutLong)
> FUNC_END(sysPciOutLong)
> [root@localhost mv6100]#
>
>
> Thanks,
>
> -Ji-Hwa
> ________________________________________
> 보낸 사람: [email protected] <[email protected]> 대신 Michael Davidsaver <[email protected]>
> 보낸 날짜: 2016년 1월 6일 수요일 오전 11:07
> 받는 사람: [email protected]
> 제목: Re: mrfioc2 loading error at vxWorks 6.9
>
> FYI this also effects EPICS Base as the MMIO headers from devlib2 are
> included in >= 3.15.0.2.
>
> https://bugs.launchpad.net/epics-base/+bug/1531359
>
> On 01/05/2016 08:15 PM, Konrad, Martin wrote:
>> Hi all,
>> Eric, thanks for sharing your patch. I created a pull request [1]. After
>> a quick review by Michael you can expect to see the fix in the mainline
>> soon.
>>
>> Thanks,
>>
>> Martin
>>
>> [1] https://github.com/epicsdeb/devlib2/pull/12
>>
>
>
>
>
>
- References:
- Re: mrfioc2 loading error at vxWorks 6.9 Konrad, Martin
- RE: mrfioc2 loading error at vxWorks 6.9 김지화(빔라인장치팀)
- Re: mrfioc2 loading error at vxWorks 6.9 Andrew Johnson
- Re: mrfioc2 loading error at vxWorks 6.9 Konrad, Martin
- Re: mrfioc2 loading error at vxWorks 6.9 Michael Davidsaver
- RE: mrfioc2 loading error at vxWorks 6.9 김지화(빔라인장치팀)
- Navigate by Date:
- Prev:
RE: mrfioc2 loading error at vxWorks 6.9 김지화(빔라인장치팀)
- Next:
EPICS Qt Channel Access Client Programming Abdalla Ahmad
- 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: mrfioc2 loading error at vxWorks 6.9 김지화(빔라인장치팀)
- Next:
Re: mrfioc2 loading error at vxWorks 6.9 Konrad, Martin
- 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