Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Sequencer build errors on Windows
From: Josh Stein <stein@aps.anl.gov>
To: benjamin.franksen@bessy.de
Cc: tech-talk@aps.anl.gov
Date: Wed, 07 Dec 2011 13:43:09 -0600
Hello Benjamin and community,

I am attempting to build version 2.1.3 of the sequencer on a windows machine. I have the MinGW tools installed along with a windows version of re2c. I have also already successfully built EPICS base, the example app and an older version of the sequencer (2.0.14) in the past.

When executing the build from the 2.1.3 top level directory, the following warnings and errors are shown and the make is stopped:



../../../include/pv.h:75:37: warning: inline function 'pvSystem* pvSystem::getSystem()' declared as dllimport: attribute ignored [-Wattributes] ../../../include/pv.h:77:35: error: function 'pvStat pvSystem::attach()' definition is marked dllimport ../../../include/pv.h:78:35: error: function 'pvStat pvSystem::flush()' definition is marked dllimport ../../../include/pv.h:89:31: warning: inline function 'int pvSystem::getMagic() const' declared as dllimport: attribute ignored [-Wattributes] ../../../include/pv.h:90:32: warning: inline function 'void pvSystem::setDebug(int)' declared as dllimport: attribute ignored [-Wattributes]

<<snip many of the same warnings for different functions >>

../../../include/pv.h:204:33: warning: inline function 'void* pvCallback::getArg()' declared as dllimport: attribute ignored [-Wattributes] ../../../include/pv.h:205:32: warning: inline function 'void pvCallback::setPrivate(void*)' declared as dllimport: attribute ignored [-Wattributes] ../../../include/pv.h:206:33: warning: inline function 'void* pvCallback::getPrivate()' declared as dllimport: attribute ignored [-Wattributes]
make[3]: *** [arrput.o] Error 1
make[3]: Leaving directory `/c/Users/Josh/seq-2.1.3/test/pv/O.win32-x86-mingw'
make[2]: *** [install.win32-x86-mingw] Error 2
make[2]: Leaving directory `/c/Users/Josh/seq-2.1.3/test/pv'
make[1]: *** [pv.install] Error 2
make[1]: Leaving directory `/c/Users/Josh/seq-2.1.3/test'
make: *** [test.install] Error 2
make: Leaving directory `/c/Users/Josh/seq-2.1.3'

My version of GCC (4.6.1):
C:\Users\Josh\seq-2.1.3>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.6.1/configure --enable-languages=c,c++,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.1 (GCC)


Any and all ideas are likely helpful.

--Josh


Replies:
Re: Sequencer build errors on Windows Benjamin Franksen

Navigate by Date:
Prev: Re: synApps 5.6 release Tim Mooney
Next: Unbalanced conditional ? Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: synApps 5.6 release Tim Mooney
Next: Re: Sequencer build errors on Windows Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·