bugCERTI - Bugs: bug #40977, compilation of cvs head fails:...

 
 

bug #40977: compilation of cvs head fails: fedtime.hh not found

Submitted by:  Christopher Brooks <cxbrooks>
Submitted on:  Fri 20 Dec 2013 12:44:27 AM UTC  
 
Category: CERTISeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Eric NOULARD <erk>
Open/Closed: ClosedRelease: CVS
Reproducibility: NoneFixed Release: 3.5.0

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 19 Dec 2017 12:00:21 PM UTC, comment #3:

Issue fixed.
Closing this one.

JbCh <jb_ch>
Project Administrator
Mon 06 Jan 2014 05:58:56 PM UTC, comment #2:

Thanks, I can compile 3.4.2 under Mac OS X 10.7.5 (Lion) and RHEL 6.

I was prompted to download the CVS HEAD by the instructions in
the Ptolemy II tree.

I'm fine with using 3.4.2 instead of the CVS HEAD.

Christopher Brooks <cxbrooks>
Mon 06 Jan 2014 04:22:59 PM UTC, comment #1:

Current CVS HEAD is under a relatively big rework
in order to introduce 1516-2010 API so it may have
such compilation glitch.

I'll try to fix all these when 1516-2010 API is settled.

Does 3.4.2 work in your case?
Why did you try CVS HEAD?

Eric NOULARD <erk>
Project AdministratorIn charge of this item.
Fri 20 Dec 2013 12:44:27 AM UTC, original submission:

Under RHEL 6.1, I run the following commands:

cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/certi co certi
mkdir build
cd build
cmake ../certi/
make

The error is:

[ 75%] Building CXX object RTIA/CMakeFiles/rtia.dir/Statistics.cc.o
[ 76%] Building CXX object RTIA/CMakeFiles/rtia.dir/TimeManagement.cc.o
Linking CXX executable rtia
[ 76%] Built target rtia
Scanning dependencies of target FedTime
[ 77%] Building CXX object libRTI/CMakeFiles/FedTime.dir/RTIfedTime.cc.o
/home/hudson/src/tmp/certi/libRTI/RTIfedTime.cc:25:22: fatal error: fedtime.hh: No such file or directory
#include "fedtime.hh"
^
compilation terminated.
make[2]: *** [libRTI/CMakeFiles/FedTime.dir/RTIfedTime.cc.o] Error 1
make[1]: *** [libRTI/CMakeFiles/FedTime.dir/all] Error 2
make: *** [all] Error 2

I ran make VERBOSE=1

[ 77%] Building CXX object libRTI/CMakeFiles/FedTime.dir/RTIfedTime.cc.o
cd /home/hudson/src/tmp/build/libRTI && /usr/local/gcc-4.8.2/bin/c++ -DFedTime_EXPORTS -DHOST_IS_64BITS -DHAVE_CONFIG_H=1 -DHAVE_XML -DRTI_USES_STD_FSTREAM -fmessage-length=0 -fvisibility=hidden -std=c++98 -Wall -Woverloaded-virtual -Wno-unused-function -Wno-long-long -g -fPIC -I/usr/include/libxml2 -I/home/hudson/src/tmp/certi/include -I/home/hudson/src/tmp/build/include -I/home/hudson/src/tmp/build -I/home/hudson/src/tmp/certi/libCERTI -I/home/hudson/src/tmp/certi/libHLA -o CMakeFiles/FedTime.dir/RTIfedTime.cc.o -c /home/hudson/src/tmp/certi/libRTI/RTIfedTime.cc
/home/hudson/src/tmp/certi/libRTI/RTIfedTime.cc:25:22: fatal error: fedtime.hh: No such file or directory
#include "fedtime.hh"
^
fedtime.hh is present:

bash-4.1$ find ../certi/ -name "fedtime.hh"
../certi/include/hla-1_3/fedtime.hh
bash-4.1$

but that directory is not included on the command line executed by make.

To get a succesful build, I had to copy these files
cp ../certi/include/hla-1_3/*.hh include
cp include/hla-1_3/* include/
cp ../certi/include/ieee1516-2000/RTI/*.h include/RTI/

It appears that the cmake configuration is not including the correct directories.

I'm running:

bash-4.1$ uname -a
Linux sisyphus.eecs.berkeley.edu 2.6.32-431.1.2.el6.x86_64 #1 SMP Sun Nov 24 09:37:37 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
bash-4.1$ cmake --version
cmake version 2.8.7
bash-4.1$ make --version
GNU Make 3.81

Christopher Brooks <cxbrooks>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jb_ch (Posted a comment)
  • -unavailable- added by bussenot (Updated the item)
  • -unavailable- added by erk (Posted a comment)
  • -unavailable- added by cxbrooks (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 19 Dec 2017 12:00:39 PM UTCjb_chOpen/ClosedOpen=>Closed
    Thu 07 May 2015 12:55:26 PM UTCbussenotStatusIn Progress=>Fixed
      Fixed ReleaseUnknown=>3.5.0
    Mon 06 Jan 2014 04:22:59 PM UTCerkStatusNone=>In Progress
      Assigned toNone=>erk

    Back to the top


    Powered by Savane 3.1-cleanup1