EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: building synApps on Win32-x86
From: Eric Norum <[email protected]>
To: Jeffrey Ian Lipton <[email protected]>
Cc: [email protected]
Date: Thu, 25 Oct 2007 10:41:39 -0500
It looks like the Windows function decoration got duplicated:
epicsShareFunc epicsShareFunc int
    asynOctetConnect(const char *entry, const char *port, int addr,
             int timeout, int buffer_len, const char *drvInfo)

Try taking out one of the epicsShareFunc declarations and see if things work better.
There are duplicates in several places -- make sure that you get them all:
> grep -n 'epicsShareFunc.*epicsShareFunc' miscellaneous/ asynShellCommands.c
186:epicsShareFunc epicsShareFunc int
219:epicsShareFunc epicsShareFunc int
252:epicsShareFunc epicsShareFunc int
283:epicsShareFunc epicsShareFunc int
316:epicsShareFunc epicsShareFunc int
358:epicsShareFunc epicsShareFunc int
381:epicsShareFunc epicsShareFunc int
403:epicsShareFunc epicsShareFunc int
428:epicsShareFunc epicsShareFunc int
450:epicsShareFunc epicsShareFunc int



On Oct 25, 2007, at 10:04 AM, Jeffrey Ian Lipton wrote:


Hello,
I am Jeffrey Lipton, an undergraduate working at C.H.E.S.S. I am currently trying to build synApps on Win32-x86 using the borland compiler to get a XIA DXP detector setup on epics 3.14.8.2. When building I get the following error and I was hoping to get some help. Please email me if you have any suggestions.


- Jeff

../../asyn/miscellaneous/asynShellCommands.c:
Warning W8004 ../../asyn/miscellaneous/asynShellCommands.c 160: 'status' is assigned a value that is never used in function asynShowOption
Error E2326 ../../asyn/miscellaneous/asynShellCommands.c 186: Use __declspec(spec1[, spec2]) to combine multiple __declspec's
Error E2141 ../../asyn/miscellaneous/asynShellCommands.c 186: Declaration syntax error
Error E2451 ../../asyn/miscellaneous/asynShellCommands.c 478: Undefined symbol 'asynReportArg0'
Error E2040 ../../asyn/miscellaneous/asynShellCommands.c 478: Declaration terminated incorrectly
Error E2190 ../../asyn/miscellaneous/asynShellCommands.c 478: Unexpected }
Error E2190 ../../asyn/miscellaneous/asynShellCommands.c 478: Unexpected }
Warning W8065 ../../asyn/miscellaneous/asynShellCommands.c 757: Call to function 'asynOctetDisconnect' with no prototype in function asynOctetDisconnectCall
Warning W8001 ../../asyn/miscellaneous/asynShellCommands.c 896: Superfluous & with function
*** 6 errors in Compile ***
gnumake[3]: *** [asynShellCommands.obj] Error 1


-- Eric Norum <[email protected]> Advanced Photon Source Argonne National Laboratory (630) 252-4793



Replies:
RE: building synApps on Win32-x86 Mark Rivers
References:
building synApps on Win32-x86 Jeffrey Ian Lipton

Navigate by Date:
Prev: Re: What is epicstcl Eric Berryman
Next: RE: Stream device Szalata, Zenon M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: building synApps on Win32-x86 Jeffrey Ian Lipton
Next: RE: building synApps on Win32-x86 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·