Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: cmlog compile problems
From: Jie Chen <chen@jlab.org>
To: gasper.pajor@cosylab.com, tech-talk@aps.anl.gov
Date: Wed, 06 Oct 2004 15:26:36 -0400


Hi,

I am trying to compile cmlog R2.1 PROD-2 on linux debian system.
I exported the WRAPPER_ROOT and ran make linux, but somewhere along the way this error(s) happened.
The daemon also failed to build, most probably because of this error.
Should I do anything else before running make?


Best regards,
  Gasper Pajor



make[3]: Entering directory `/home/gpajor/download/cmlog/CMLOG-R2_1-PROD-2/C++/SACE-4.0/ace'
mkdir -p .obj/Linux-i386
g++ -I. -I.. -DLinux -g -c ACE.cpp -o .obj/Linux-i386/ACE.o
ACE.cpp:333:1: warning: "RLIMIT_NOFILE" redefined
In file included from /usr/include/sys/resource.h:25,
from ../ace/OS.h:829,
from ../ace/ACE.h:19,
from ../ace/IPC_SAP.h:19,
from ACE.cpp:2:
/usr/include/bits/resource.h:64:1: warning: this is the location of the previous definition
g++ -I. -I.. -DLinux -g -c Addr.cpp -o .obj/Linux-i386/Addr.o
g++ -I. -I.. -DLinux -g -c ARGV.cpp -o .obj/Linux-i386/ARGV.o
g++ -I. -I.. -DLinux -g -c Date_Time.cpp -o .obj/Linux-i386/Date_Time.o
g++ -I. -I.. -DLinux -g -c Event_Handler.cpp -o .obj/Linux-i386/Event_Handler.o
g++ -I. -I.. -DLinux -g -c FIFO.cpp -o .obj/Linux-i386/FIFO.o
g++ -I. -I.. -DLinux -g -c FIFO_Recv.cpp -o .obj/Linux-i386/FIFO_Recv.o
g++ -I. -I.. -DLinux -g -c FIFO_Recv_Msg.cpp -o .obj/Linux-i386/FIFO_Recv_Msg.o
g++ -I. -I.. -DLinux -g -c FIFO_Send.cpp -o .obj/Linux-i386/FIFO_Send.o
g++ -I. -I.. -DLinux -g -c FIFO_Send_Msg.cpp -o .obj/Linux-i386/FIFO_Send_Msg.o
g++ -I. -I.. -DLinux -g -c FILE.cpp -o .obj/Linux-i386/FILE.o
g++ -I. -I.. -DLinux -g -c FILE_Addr.cpp -o .obj/Linux-i386/FILE_Addr.o
g++ -I. -I.. -DLinux -g -c FILE_Connector.cpp -o .obj/Linux-i386/FILE_Connector.o
g++ -I. -I.. -DLinux -g -c FILE_IO.cpp -o .obj/Linux-i386/FILE_IO.o
g++ -I. -I.. -DLinux -g -c Get_Opt.cpp -o .obj/Linux-i386/Get_Opt.o
g++ -I. -I.. -DLinux -g -c Handle_Set.cpp -o .obj/Linux-i386/Handle_Set.o
Handle_Set.cpp: In member function `void ACE_Handle_Set::sync(int)':
Handle_Set.cpp:111: error: 'struct fd_set' has no member named '__fds_bits'
Handle_Set.cpp: In member function `void ACE_Handle_Set::set_max(int)':
Handle_Set.cpp:131: error: 'struct fd_set' has no member named '__fds_bits'
Handle_Set.cpp:136: error: 'struct fd_set' has no member named '__fds_bits'
Handle_Set.cpp: In member function `void ACE_Handle_Set_Iterator::operator++()
':
Handle_Set.cpp:172: error: 'const struct fd_set' has no member named '
__fds_bits'
Handle_Set.cpp:183: error: 'const struct fd_set' has no member named '
__fds_bits'
Handle_Set.cpp: In constructor `
ACE_Handle_Set_Iterator::ACE_Handle_Set_Iterator(const ACE_Handle_Set&)':
Handle_Set.cpp:201: error: 'const struct fd_set' has no member named '
__fds_bits'
Handle_Set.cpp:205: error: 'const struct fd_set' has no member named '
__fds_bits'
make[3]: *** [.obj/Linux-i386/Handle_Set.o] Error 1
make[3]: Leaving directory `/home/gpajor/download/cmlog/CMLOG-R2_1-PROD-2/C++/SACE-4.0/ace'
make[2]: *** [linux-redhat6.0-x86] Error 2
make[2]: Leaving directory `/home/gpajor/download/cmlog/CMLOG-R2_1-PROD-2/C++/SACE-4.0/ace'
make[1]: Leaving directory `/home/gpajor/download/cmlog/CMLOG-R2_1-PROD-2/C++/SACE-4.0'



Hi, Gasper:


We have not compiled cmlog on debian linux distribution. However, we have compiled cmlog on various RedHat linux distributions. The error messages you saw were related to a incorrect ace config.h file and incorrect Linux configuration in the Makefile.config. In the CMLOG/C++/SACE-4.0/Makefile.config, you may want to change linux: or linux-th: to point to linux-redhat8-x86(th). Similarly you want to make the same change to CMLOG/Makefile.config. Even though there are differences between RedHat and Debian distributions, I hope the redhat configuration will serve as a starting point for your debian box. If you have any question, please let us know. Thanks.

--
#####################################################
Jie Chen
Thomas Jefferson National Accelerator Facility
12000, Jefferson Ave.
Newport News, VA 23606

(757)269-5046 (office) (757)269-6248 (fax)
chen@jlab.org
#####################################################



Navigate by Date:
Prev: cmlog compile problems Gasper Pajor
Next: Not-a-number (nan) issues Kay-Uwe Kasemir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: cmlog compile problems Gasper Pajor
Next: Not-a-number (nan) issues Kay-Uwe Kasemir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·