EPICS Controls 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  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: s7nodave-3.0.2 compilation error
From: Freddie Akeroyd - STFC UKRI via Tech-talk <tech-talk at aps.anl.gov>
To: Vishnu Patel <patel.vishnu at hotmail.com>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 4 Jan 2024 11:57:55 +0000

Hi,

 

I did get a previous version (2.1.3) compiled under windows  https://github.com/FreddieAkeroyd/s7nodave - I expect there are similar windows compatibility issues in 3.0.2 I can probably take a look at some point in the next few days if you like, but you may be able to fix 3.0.2 just using the same changes I used for 2.1.3

 

Regards,

 

Freddie

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Vishnu Patel via Tech-talk
Sent: 04 January 2024 11:11
To: Tech Talk (tech-talk at aps.anl.gov) <Tech-talk at aps.anl.gov>
Subject: s7nodave-3.0.2 compilation error

 

Hi,

    I am getting s7nodave compilation error in windows 10

 

cl -EHsc -GR               -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE    -Ox -GL -Oy-   -W3 -w44355 -w44344 -w44251 -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING        -MT  -TP  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include      -I../../../..//seq-2.2.5/include   -I../../../..//asyn4-37/include -IF:/Work/Project/base-7.0.6.1_vs2022/include/compiler/msvc -IF:/Work/Project/base-7.0.6.1_vs2022/include/os/WIN32 -IF:/Work/Project/base-7.0.6.1_vs2022/include        -c ../PlcAddress.cc

PlcAddress.cc

cl -EHsc -GR               -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE    -Ox -GL -Oy-   -W3 -w44355 -w44344 -w44251 -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING        -MT  -TP  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include      -I../../../..//seq-2.2.5/include   -I../../../..//asyn4-37/include -IF:/Work/Project/base-7.0.6.1_vs2022/include/compiler/msvc -IF:/Work/Project/base-7.0.6.1_vs2022/include/os/WIN32 -IF:/Work/Project/base-7.0.6.1_vs2022/include        -c ../PollGroup.cc

PollGroup.cc

cl -EHsc -GR               -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE    -Ox -GL -Oy-   -W3 -w44355 -w44344 -w44251 -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING        -MT  -TP  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include      -I../../../..//seq-2.2.5/include   -I../../../..//asyn4-37/include -IF:/Work/Project/base-7.0.6.1_vs2022/include/compiler/msvc -IF:/Work/Project/base-7.0.6.1_vs2022/include/os/WIN32 -IF:/Work/Project/base-7.0.6.1_vs2022/include        -c ../PortDriver.cc

PortDriver.cc

F:\Work\Project\base-7.0.6.1_vs2022\modules\s7nodave-3.0.2\s7nodaveApp\src\PortDriver.cc(4): fatal error C1083: Cannot open include file: 'netdb.h': No such file or directory

make[3]: *** [F:/Work/Project/base-7.0.6.1_vs2022/configure/RULES_BUILD:263: PortDriver.obj] Error 2

make[3]: Leaving directory 'F:/Work/Project/base-7.0.6.1_vs2022/modules/s7nodave-3.0.2/s7nodaveApp/src/O.windows-x64'

make[2]: *** [F:/Work/Project/base-7.0.6.1_vs2022/configure/RULES_ARCHS:58: install.windows-x64] Error 2

make[2]: Leaving directory 'F:/Work/Project/base-7.0.6.1_vs2022/modules/s7nodave-3.0.2/s7nodaveApp/src'

make[1]: *** [F:/Work/Project/base-7.0.6.1_vs2022/configure/RULES_DIRS:85: src.install] Error 2

make[1]: Leaving directory 'F:/Work/Project/base-7.0.6.1_vs2022/modules/s7nodave-3.0.2/s7nodaveApp'

make: *** [F:/Work/Project/base-7.0.6.1_vs2022/configure/RULES_DIRS:85: s7nodaveApp.install] Error 2

 

F:\Work\Project\base-7.0.6.1_vs2022\modules\s7nodave-3.0.2>

 

how to resolve netdb.h error?

 

Thanks

Vishnu

 


References:
s7nodave-3.0.2 compilation error Vishnu Patel via Tech-talk

Navigate by Date:
Prev: s7nodave-3.0.2 compilation error Vishnu Patel via Tech-talk
Next: Behavior of the soft motor's DINP field Abdalla Ahmad via Tech-talk
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: s7nodave-3.0.2 compilation error Vishnu Patel via Tech-talk
Next: RE: s7nodave-3.0.2 compilation error Freddie Akeroyd - STFC UKRI via Tech-talk
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
ANJ, 11 Sep 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·