EPICS Home

Experimental Physics and Industrial Control System


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

Subject: Re: epics functions application problem(2)
From: Till Straumann <[email protected]>
To: 师昊礼 <[email protected]>
Cc: [email protected]
Date: Wed, 23 Jul 2008 08:54:39 -0700
Could you please share a little more
information ?

How do you link your application?
Could you attach the (complete) console
log of the build process (compilation/linking) ?

What EPICS version are you using?

Thanks
- Till

师昊礼 wrote:
> Hi, all
>
>    I built an epics application, and I used two functions like this:
>    
>    #include <devLib.h>
>    char	*localaddrstart;
>    unsigned short int testvalue=INIT_TESTVALUE;
>    unsigned long baseaddr = 0x20200000;
>    if (devRegisterAddress("VME_mapping", atVMEA32, baseaddr, sizeof(struct 
> channel), (char *) &(localaddrstart))!=0)
> 	{
> 		printf("Out of Bus Mem Map!\n");
> 		return -1;
> 	}
>    if (devReadProbe(1, localaddrstart, &testvalue) < 0)
> 	{
> 	  printf("No board at this address!\n");
> 	  return -1;
> 	}
>    
>    then, I past the compilation, but when I download the object file to the
> target board, and there are the following errors:
>   
>    ld("../bin/RTEMS-mvme5500/power_supply.obj")
>    Unresolved symbol: pdevLibVirtualOS
>    Unresolved symbol: pdevLibVirtualOS
>    Unresolved symbol: pdevLibVirtualOS
>    Unresolved symbol: pdevLibVirtualOS
>    Unresolved symbol: pdevLibVirtualOS
>    ......
>
> any help is appreciated, thanks a lot!
>
> Haoli Shi
>
>   


References:
epics functions application problem(2) 师昊礼

Navigate by Date:
Prev: epics functions application problem(2) 师昊礼
Next: Note: connection issues with alh option -desc_field Kasemir, Kay (ky9)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025 
Navigate by Thread:
Prev: epics functions application problem(2) 师昊礼
Next: Note: connection issues with alh option -desc_field Kasemir, Kay (ky9)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025