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: "Mark Rivers" <[email protected]>
To: "Eric Norum" <[email protected]>, "Jeffrey Ian Lipton" <[email protected]>
Cc: [email protected]
Date: Thu, 25 Oct 2007 11:28:42 -0500
Hi,

I'm quite sure Eric is right about the problem.

It's strange that the Microsoft C compiler I am using from Microsoft
Visual Strudio .NET 2003

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for
80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

does not flag those errors.  It compiles asynShellCommands.c without any
problems.

Mark


> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Eric Norum
> Sent: Thursday, October 25, 2007 10:42 AM
> To: Jeffrey Ian Lipton
> Cc: [email protected]
> Subject: Re: building synApps on Win32-x86
> 
> 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
> 
> 
> 


References:
Re: building synApps on Win32-x86 Eric Norum

Navigate by Date:
Prev: RE: Stream device Szalata, Zenon M.
Next: EDM screens not updating on Linux Brian Bevins
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: Re: building synApps on Win32-x86 Eric Norum
Next: EDM screens not updating on Linux Brian Bevins
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 ·