Translation says unterminated #if 0
2016-05-19 8:51 GMT-03:00 Benjamin Franksen
<[email protected]>:
> Correction: I think it should be LANG=C:
>
> > make distclean
> > LANG=C make
>
> Am 19.05.2016 um 13:43 schrieb Benjamin Franksen:
>> Hi Liang
>>
>> It would help if you could prefix the build command ("make") with
>> "LANGUAGE=C" (and then re-send the output), so we can see the error
>> messages in English.
>>
>> Cheers
>> Ben
>>
>> Am 17.05.2016 um 14:54 schrieb 梁雅翔:
>>> Hi everyone,
>>> I have some error when I make base3.15.3 in Fedora 23.
>>> I set the environment of EPICS_HOST_ARCH=linux-x86_64 and EPICS_BASE=/opt/epics/base, EPICS_EXTENSIONS=/opt/epics/extensions
>>> Can you tell me the reason?
>>>
>>> This is my information.
>>> ----------------------------
>>> make[2]: Leaving directory '/opt/epics/base/src/libCom/RTEMS'
>>> make -C libCom/test install
>>> make[2]: Entering directory '/opt/epics/base/src/libCom/test'
>>> make -C O.linux-x86_64 -f ../Makefile TOP=../../../.. \
>>> T_A=linux-x86_64 install
>>> make[3]: Entering directory '/opt/epics/base/src/libCom/test/O.linux-x86_64'
>>> make[3]: Nothing to be done for 'install'.
>>> make[3]: Leaving directory '/opt/epics/base/src/libCom/test/O.linux-x86_64'
>>> make[2]: Leaving directory '/opt/epics/base/src/libCom/test'
>>> make -C ca/client install
>>> make[2]: Entering directory '/opt/epics/base/src/ca/client'
>>> make -C O.linux-x86_64 -f ../Makefile TOP=../../../.. \
>>> T_A=linux-x86_64 install
>>> make[3]: Entering directory '/opt/epics/base/src/ca/client/O.linux-x86_64'
>>> /usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -g -Wall -mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../src/ca/client/test -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include -MM -MF searchTimer.d ../searchTimer.cpp
>>> ../searchTimer.cpp:151:0: Error:未终止的 #if
>>> #if 0
>>> ^
>>> /usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -g -Wall -mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../src/ca/client/test -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include -c ../searchTimer.cpp
>>> ../searchTimer.cpp:151:0: Error:未终止的 #if
>>> #if 0
>>> ^
>>> ../searchTimer.cpp: 在成员函数‘virtual epicsTimerNotify::expireStatus searchTimer::expire(const epicsTime&)’中:
>>> ../searchTimer.cpp:150:33: Error:expected ‘}’ at end of input
>>> if ( this->searchAttempts ) {
>>> ^
>>> ../searchTimer.cpp:150:33: Error:expected ‘}’ at end of input
>>> ../searchTimer.cpp:150:33: Warning:在有返回值的函数中未发现 return 语句 [-Wreturn-type]
>>> ../../../../configure/RULES_BUILD:228: recipe for target 'searchTimer.o' failed
>>> make[3]: *** [searchTimer.o] Error 1
>>> make[3]: Leaving directory '/opt/epics/base/src/ca/client/O.linux-x86_64'
>>> ../../../configure/RULES_ARCHS:61: recipe for target 'install.linux-x86_64' failed
>>> make[2]: *** [install.linux-x86_64] Error 2
>>> make[2]: Leaving directory '/opt/epics/base/src/ca/client'
>>> ../configure/RULES_DIRS:88: recipe for target 'ca/client.install' failed
>>> make[1]: *** [ca/client.install] Error 2
>>> make[1]: Leaving directory '/opt/epics/base/src'
>>> configure/RULES_DIRS:88: recipe for target 'src.install' failed
>>> make: *** [src.install] Error 2
>>>
>>> Thanks,
>>> Liang
>>>
>>
>
> --
> "Make it so they have to reboot after every typo." ― Scott Adams
>
- References:
- error when make base3.15.3 梁雅翔
- Re: error when make base3.15.3 Benjamin Franksen
- Re: error when make base3.15.3 Benjamin Franksen
- Navigate by Date:
- Prev:
Re: error when make base3.15.3 Benjamin Franksen
- Next:
EPICS meeting : HW platform support discussion group Jeong Han Lee
- 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:
Re: error when make base3.15.3 Benjamin Franksen
- Next:
NTP time provider and ticksPerSecond Michael Westfall
- 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
|