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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: RE: gateway2_0_0_0Beta8 compile error |
From: | [email protected] |
To: | "[email protected]" <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Mon, 10 May 2004 02:58:58 +0900 |
Hello all. I tried to replacement old config and configre directoris to last vertions. The previous my compile problem was config and configure files used old versions. And I compile gateway2.0 with new configure files under Windows but i found compile errors. I will be testing to under Linux and Solaris when i return to PLS. HOST : Win2K and Visual C 6.0 base 3.14.5 ---- error --- C:\epics\extensions\src\gateway>make make -C O.win32-x86 -f ../Makefile.Host T_A=win32-x86 BUILD_TYPE=Host install make[1]: Entering directory `/cygdrive/c/epics/extensions/src/gateway/O.win32-x86' cl /GX /GR /nologo /D__STDC__=0 /Ox /W3 -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIO NS /DWIN32 /D_WINDOWS /MD -I. -I.. -I../../../include/os/WIN32 -I../../../include -Ic://epics/base-3.14.5/include/ os/WIN32 -Ic://epics/base-3.14.5/include -c /Tp ../gateAsCa.cc gateAsCa.cc ../gateAsCa.cc(43) : error C2375: 'connectCB' : redefinition; different linkage ../gateAsCa.cc(38) : see declaration of 'connectCB' ../gateAsCa.cc(66) : error C2375: 'eventCB' : redefinition; different linkage ../gateAsCa.cc(39) : see declaration of 'eventCB' make[1]: *** [gateAsCa.obj] Error 2 make[1]: Leaving directory `/cygdrive/c/epics/extensions/src/gateway/O.win32-x86' make: *** [install.win32-x86] Error 2 C:\epics\extensions\src\gateway> Thanks, Kiman, PLS Control Group. To: "Tech-Talk" Subject: Re: gateway2_0_0_0Beta8 compile error. From: "Kenneth Evans, Jr." Date: Wed, 28 Apr 2004 09:39:18 -0500 Kiman, Based on your output, the base you are using is apparently 3.13 (solarisGnu), and you are getting 3.13.9 headers. Gateway 2.0 requires 3.14.5 or later. First, set COMPAT_TOOLS_313=YES in base/configure/CONFIG_SITE and then do a make in base/config/tools to install the necessary Perl scripts. This is necessary starting with 3.14.5. Second, set EPICS_BASE to your 3.14.5 base in extensions/config/RELEASE. The Gateway should build properly on solaris-sparc, linux-x86, and win32-x86. I do these three platforms regularly. -Ken |