Subject: |
Re: Problem in porting EPICS on microblaze softcore processor |
From: |
Andrew Johnson <[email protected]> |
To: |
[email protected] |
Date: |
Thu, 19 Apr 2012 10:39:56 -0500 |
Hi,
On 2012-04-19 [email protected] wrote:
> microblaze-uclinux-g++
> -L/home/petalinux-v0.40-final/software/petalinux-dist/lib
> -mno-xl-soft-mul -mno-xl-soft-div -mxl-barrel-shift -mcpu=v7.10.d
> -L/windows/base-3-14-11/myserver2/microblaze_lib -Wl -o Server myPV.o
> myServer.o Server.o -lcas -lca -lCom -lgdd -lrt -lc -lpthread
> Server.elf2flt: In function `ClockTimeSync':
> /windows/base-3-14-11/myserver2/libCom/osiClockTime.c(.text+0x815b8):
> undefined reference to `clock_settime'
> Server.elf2flt: In function `ClockTimeGetCurrent':
> /windows/base-3-14-11/myserver2/libCom/osiClockTime.c(.text+0x816ec):
> undefined reference to `clock_settime'
> Server.elf2flt: In function `putDoubleToString(double, gddEnumStringTable
> const*, char*, unsigned long)':
> /windows/base-3-14-11/myserver2/gdd/aitConvert.cc(.text+0x96164):
> undefined reference to `cvtDoubleToString'
I think the problem is just the order in which you are linking your libraries.
You need to make sure that the -lCom appears after -lgdd since gdd uses
functions from libCom that may not otherwise have been included. In the
Makefile where I build a server tool I list the libraries like this:
PROD_LIBS = cas gdd ca Com
Try changing your link order and rebuilding.
- Andrew
--
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte
- References:
- Problem in porting EPICS on microblaze softcore processor ssahoo
- Navigate by Date:
- Prev:
Re: Problem in porting EPICS on microblaze softcore processor D Peter Siddons
- Next:
Re: Problem in porting EPICS on microblaze softcore processor Eric Norum
- 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: Problem in porting EPICS on microblaze softcore processor Steve Shoaf
- Next:
Re: Problem in porting EPICS on microblaze softcore processor Eric Norum
- 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
|