EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Build problem with 3.15-head
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Sun, 29 Sep 2013 01:10:14 +0200
Hi

I have just pulled from the 3.15 branch and get build errors when using 
parallel make. The error is well hidden among all the warnings so I 
added some markup in the output below.

The build succeeds in sequential mode, however, I get the same warnings.

ben@sarun[1]: .../base/head > bzr version-info 
revision-id: [email protected]
date: 2013-09-20 13:44:28 -0500
build-date: 2013-09-29 00:46:18 +0200
revno: 12443
branch-nick: head
ben@sarun[1]: .../base/head > bzr status -v
ben@sarun[1]: .../base/head > bzr missing
Using saved parent location: http://bazaar.launchpad.net/~epics-core/epics-base/3.15/
Zweige sind aktuell.                                                                          
ben@sarun[1]: .../base/head > make -sj distclean && make -sj
epicsTempFile.o: In function `epicsTempName':
/mnt/extra/ben/Epics/R3.15.0/base/head/src/libCom/O.linux-
x86_64/../../../src/libCom/osi/os/posix/epicsTempFile.cpp:23: warning: 
the use of `tmpnam' is dangerous, better use `mkstemp'
epicsTempFile.o: In function `epicsTempName':
/mnt/extra/ben/Epics/R3.15.0/base/head/src/libCom/O.linux-
x86_64/../../../src/libCom/osi/os/posix/epicsTempFile.cpp:23: warning: 
the use of `tmpnam' is dangerous, better use `mkstemp'
epicsTempFile.o: In function `epicsTempName':
/mnt/extra/ben/Epics/R3.15.0/base/head/src/libCom/O.linux-
x86_64/../../../src/libCom/osi/os/posix/epicsTempFile.cpp:23: warning: 
the use of `tmpnam' is dangerous, better use `mkstemp'
In file included from ../iocinf.cpp:30:0:
../iocinf.cpp: In function ‘void removeDuplicateAddresses(ELLLIST*, 
ELLLIST*, int)’:
../../../../include/epicsAssert.h:50:29: warning: typedef 
‘static_assert_failed_at_line_130’ locally defined but not used [-
Wunused-local-typedefs]
     typedef int STATIC_JOIN(static_assert_failed_at_line_, __LINE__) \
                             ^
../../../../include/epicsAssert.h:48:28: note: in definition of macro 
‘STATIC_JOIN2’
 #define STATIC_JOIN2(x, y) x ## y
                            ^
../../../../include/epicsAssert.h:50:17: note: in expansion of macro 
‘STATIC_JOIN’
     typedef int STATIC_JOIN(static_assert_failed_at_line_, __LINE__) \
                 ^
../iocinf.cpp:130:3: note: in expansion of macro ‘STATIC_ASSERT’
   STATIC_ASSERT ( offsetof (osiSockAddrNode, node) == 0 );
   ^
../CA.pm pod syntax OK.
../Cap5.xs: In function ‘CA_put’:
../Cap5.xs:598:16: warning: ‘p.dbr’ may be used uninitialized in this 
function [-Wmaybe-uninitialized]
         status = ca_array_put(type, num_values, pch->chan, p.dbr);
                ^
../Cap5.xs: In function ‘CA_put_callback’:
../Cap5.xs:691:16: warning: ‘p.dbr’ may be used uninitialized in this 
function [-Wmaybe-uninitialized]
         status = ca_array_put_callback(type, num_values, pch->chan, 
p.dbr,
                ^
../../../src/ioc/db/dbBkpt.c: In function ‘dbp’:
../../../src/ioc/db/dbBkpt.c:834:8: warning: ‘precord’ may be used 
uninitialized in this function [-Wmaybe-uninitialized]
   dbpr(precord->name, (interest_level == 0) ? 2 : interest_level);
        ^

# ERRORS ARE HERE vvvvvvv
g++: error: xRecord.o: Datei oder Verzeichnis nicht gefunden
make[3]: *** [libxRec.so] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
Can't find file 'stdRecords.dbd'
make[2]: *** [install.linux-x86_64] Fehler 2
make[1]: *** [ioc/db/test.install] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
# ERRORS ARE HERE ^^^^^^^

In file included from ../../../include/epicsMutex.h:13:0,
                 from ../../../include/dbCommon.h:8,
                 from ../../../include/dbAccess.h:26,
                 from ../../../src/std/rec/aSubRecord.c:26:
../../../src/std/rec/aSubRecord.c: In function ‘init_record’:
../../../include/epicsAssert.h:50:29: warning: typedef 
‘static_assert_failed_at_line_110’ locally defined but not used [-
Wunused-local-typedefs]
     typedef int STATIC_JOIN(static_assert_failed_at_line_, __LINE__) \
                             ^
../../../include/epicsAssert.h:48:28: note: in definition of macro 
‘STATIC_JOIN2’
 #define STATIC_JOIN2(x, y) x ## y
                            ^
../../../include/epicsAssert.h:50:17: note: in expansion of macro 
‘STATIC_JOIN’
     typedef int STATIC_JOIN(static_assert_failed_at_line_, __LINE__) \
                 ^
../../../src/std/rec/aSubRecord.c:110:5: note: in expansion of macro 
‘STATIC_ASSERT’
     STATIC_ASSERT(sizeof(prec->onam)==sizeof(prec->snam));
     ^
In file included from ../../../include/epicsMutex.h:13:0,
                 from ../../../include/dbCommon.h:8,
                 from ../../../include/dbAccess.h:26,
                 from ../../../src/std/rec/stringinRecord.c:28:
../../../src/std/rec/stringinRecord.c: In function ‘init_record’:
../../../include/epicsAssert.h:50:29: warning: typedef 
‘static_assert_failed_at_line_96’ locally defined but not used [-
Wunused-local-typedefs]
     typedef int STATIC_JOIN(static_assert_failed_at_line_, __LINE__) \
                             ^
../../../include/epicsAssert.h:48:28: note: in definition of macro 
‘STATIC_JOIN2’
 #define STATIC_JOIN2(x, y) x ## y
                            ^
../../../include/epicsAssert.h:50:17: note: in expansion of macro 
‘STATIC_JOIN’
     typedef int STATIC_JOIN(static_assert_failed_at_line_, __LINE__) \
                 ^
../../../src/std/rec/stringinRecord.c:96:5: note: in expansion of macro 
‘STATIC_ASSERT’
     STATIC_ASSERT(sizeof(prec->oval)==sizeof(prec->val));
     ^
In file included from ../../../include/epicsMutex.h:13:0,
                 from ../../../include/dbCommon.h:8,
                 from ../../../include/dbAccess.h:26,
                 from ../../../src/std/rec/stringoutRecord.c:28:
../../../src/std/rec/stringoutRecord.c: In function ‘init_record’:
../../../include/epicsAssert.h:50:29: warning: typedef 
‘static_assert_failed_at_line_98’ locally defined but not used [-
Wunused-local-typedefs]
     typedef int STATIC_JOIN(static_assert_failed_at_line_, __LINE__) \
                             ^
../../../include/epicsAssert.h:48:28: note: in definition of macro 
‘STATIC_JOIN2’
 #define STATIC_JOIN2(x, y) x ## y
                            ^
../../../include/epicsAssert.h:50:17: note: in expansion of macro 
‘STATIC_JOIN’
     typedef int STATIC_JOIN(static_assert_failed_at_line_, __LINE__) \
                 ^
../../../src/std/rec/stringoutRecord.c:98:5: note: in expansion of macro 
‘STATIC_ASSERT’
     STATIC_ASSERT(sizeof(prec->oval)==sizeof(prec->val));
     ^
make: *** [src.install] Fehler 2
ben@sarun[1]: .../base/head > 
-- 
"Make it so they have to reboot after every typo." -- Scott Adams

Attachment: signature.asc
Description: This is a digitally signed message part.


Replies:
Re: Build problem with 3.15-head Andrew Johnson

Navigate by Date:
Prev: Re: TSEL question Ralph Lange
Next: Re: [Merge] lp:~epics-core/epics-base/printf-record into lp:epics-base Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: TSEL question Ralph Lange
Next: Re: Build problem with 3.15-head Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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 ·