Subject: |
Re: Re: anyone using MOXA's embedded computer UC8410 as softioc? |
From: |
Silver <[email protected]> |
To: |
tech-talk <[email protected]> |
Date: |
Wed, 27 Mar 2013 22:58:02 +0800 |
hi, Andrew:
thanks for your advice.
In fact, I have tried to cross-compile dynamically too, but when I run the application on the UC8410, it shows Segmentation fault error. the cross-compiler is coming with UC8410. I know someone is using UC7410, the older product from MOXA. So I hope can get some help from them.
root@Moxa:/mnt/sda/softApp/iocBoot/iocaaa# ./st.cmd
#!../../bin/linux-xscale-linux/aaa
## You may have to change aaa to something else
## everywhere it appears in this file
< envPaths
epicsEnvSet("ARCH","linux-xscale-linux")
epicsEnvSet("IOC","iocaaa")
epicsEnvSet("TOP","/mnt/sda/softApp")
epicsEnvSet("EPICS_BASE","/usr/local/epics/base")
cd /mnt/sda/softApp
## Register all support components
dbLoadDatabase "dbd/aaa.dbd"
aaa_registerRecordDeviceDriver pdbbase
## Load record instances
dbLoadTemplate "db/userHost.substitutions"
dbLoadRecords "db/dbSubExample.db", "user=geyangHost"
## Set this to see messages from mySub
#var mySubDebug 1
## Run this to trace the stages of iocInit
#traceIocInit
cd /mnt/sda/softApp/iocBoot/iocaaa
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.10 $R3-14-10$ $2008/10/27 19:39:04$
## EPICS Base built Jan 23 2013
############################################################################
iocRun: All initialization complete
## Start any sequence programs
#seq sncExample, "user=geyangHost"
Segmentation fault
======= At 2013-03-27, 22:49 you wrote: =======
>Hi,
>
>On 2013-03-27 Silver wrote:
>>
>> After I cross-compiled an EPICS example application and downloaded to
>> UC8410, it shows the following errors:
>>
>> Starting iocInit
>> ###########################################################################
>> # ## EPICS R3.14.10 $R3-14-10$ $2008/10/27 19:39:04$
>> ## EPICS Base built Jan 23 2013
>> ###########################################################################
>> # terminate called after throwing an instance of
>> '__gnu_cxx::__concurrence_broadcast_error' what():
>> __gnu_cxx::__concurrence_broadcast_error
>> Aborted
>
>Based on the results from Googling for __concurrence_broadcast_error it seems
>like this may be a problem if you link an application statically with pthread
>(which EPICS requires). This may be related to a specific version of gcc, so
>if you have any other version available try using that instead, or change your
>build to use dynamic linking (STATIC_BUILD=NO, SHARED_LIBRARIES=YES).
>
>Those are only suggestions, I don't know what is actually causing this or what
>the exception means.
>
>- Andrew
>--
>There has grown up in the minds of certain groups in this country the
>notion that because a man or corporation has made a profit out of the
>public for a number of years, the government and the courts are charged
>with the duty of guaranteeing such profit in the future, even in the face
>of changing circumstances and contrary to public interest. This strange
>doctrine is not supported by statute or common law. Neither individuals
>nor corporations have any right to come into court and ask that the clock
>of history be stopped, or turned back. -- Robert A Heinlein, Life-Line
>
===================================
Best regards
Geyang 2013-03-27
- Replies:
- RE: Re: anyone using MOXA's embedded computer UC8410 as softioc? Mark Rivers
- References:
- anyone using MOXA's embedded computer UC8410 as softioc? Silver
- Re: anyone using MOXA's embedded computer UC8410 as softioc? Andrew Johnson
- Navigate by Date:
- Prev:
Re: anyone using MOXA's embedded computer UC8410 as softioc? Andrew Johnson
- Next:
Fwd: Re: Fix length of exponent in Streamdevice %E Florian Feldbauer
- 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: anyone using MOXA's embedded computer UC8410 as softioc? Andrew Johnson
- Next:
RE: Re: anyone using MOXA's embedded computer UC8410 as softioc? Mark Rivers
- 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
|