Hi Morgan,
On 2011-07-07 Morgan Bradford wrote:
> I am trying to install EPICS Base on a Windows 7 computer, but keep getting
> the following error. I've tried two different builds, 3.14.9 and
> 3.14.12.1, and have the same problem with both. Any ideas?
> g++ -c -pedantic -O3 -Wall -D__cplusplus -I. -I..
> -I../ ../../src/libCom/bucketLib -I../../../src/libCom/ring
> -I../../../src/libCom/calc -I../../../src/libCom/cvtFast
> -I../../../src/libCom/cppStd -I../../../src/libCo m/cxxTemplates
> -I../../../src/libCom/dbmf -I../../../src/libCom/ellLib -I../../.
> ./src/libCom/env -I../../../src/libCom/error -I../../../src/libCom/fdmgr
> -I../.. /../src/libCom/freeList -I../../../src/libCom/gpHash
> -I../../../src/libCom/logCl ient -I../../../src/libCom/macLib
> -I../../../src/libCom/misc -I../../../src/libC om/osi
> -I../../../src/libCom/taskwd -I../../../src/libCom/timer -I../../../src/l
> ibCom/tsDefs -I../../../include/os/WIN32 -I../../../include
> ../../../src /libCom/bucketLib/bucketLib.c
> ../../../src/libCom/bucketLib/bucketLib.c: In function 'ITEM**
> bucketStringCompa re(ITEM**, const void*)':
> ../../../src/libCom/bucketLib/bucketLib.c:216:21: error: invalid conversion
> from 'const void*' to 'const char*'
> ../../../src/libCom/bucketLib/bucketLib.c: In function 'BUCKETID
> bucketUnsignedH ash(BUCKET*, const void*)':
> ../../../src/libCom/bucketLib/bucketLib.c:238:25: error: invalid conversion
> from 'const void*' to 'const unsigned int*'
> ../../../src/libCom/bucketLib/bucketLib.c: In function 'BUCKETID
> bucketStringHas h(BUCKET*, const void*)':
> ../../../src/libCom/bucketLib/bucketLib.c:288:21: error: invalid conversion
> from 'const void*' to 'const char*'
Your build is compiling a C file using the C++ compiler, which is probably
what's causing the failure. Please try applying the patch below (for
3.14.12.1, but you should be able to match it on 3.14.9) which deletes an old
build rule. If this fixes it I'll add it to the Known Problems page.
=== modified file 'configure/RULES_BUILD'
--- configure/RULES_BUILD 2010-10-05 19:27:37 +0000
+++ configure/RULES_BUILD 2011-06-07 14:52:54 +0000
@@ -205,11 +205,6 @@
@$(RM) $@
$(COMPILE.cpp) $(call PATH_FILTER,$<) $(COMPILE_FILTER.cpp)
-%$(OBJ): %.C
- @$(HDEPENDS_CMD)
- @$(RM) $@
- $(COMPILE.cpp) $(call PATH_FILTER,$<) $(COMPILE_FILTER.cpp)
-
# WIN95/NT resource compiler
%$(RES): %.rc
@$(RM) $@
- Andrew
--
Optimization is the process of taking something that works and
replacing it with something that almost works, but costs less.
-- Roger Needham
- References:
- Errors building EPICS with MinGW Morgan Bradford
- Navigate by Date:
- Prev:
Errors building EPICS with MinGW Morgan Bradford
- Next:
Re: Creating a Simple EPICS Sequencer Program Bradley Pietrzak
- 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:
Errors building EPICS with MinGW Morgan Bradford
- Next:
RE: Errors building EPICS with MinGW Jeff Hill
- 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
|