[Halld-offline] error on sim-recon-dc-1 branch

David Lawrence davidl at jlab.org
Sat Nov 3 04:17:04 EDT 2012


Hi Mark,

   This looks like a system header that was being brought in by another 
header is no longer being included. I'm guessing you're building on a 
new system we not have built on before. Try adding the following to the 
top of DBCALPoint_factory.cc and see if that fixes it.

#include <unistd.h>

Regards,
-David

On 11/2/12 4:14 PM, Mark M. Ito wrote:
> Anyone know what this might be? Using jana 0.6.5
>
> g++ -I. -I.. -I../include -I/home/marki/halld/sim-recon-dc-1/include
> -I/home/marki/halld/sim-recon-dc-1/include -D_FILE_OFFSET_BITS=64
> -I/usr/local/gluex/jana/prod/include
> -I/usr/local/gluex/xerces-c/prod/include -D_ROOT_ -DROOT_MAJOR=5
> -DROOT_MINOR=34 -pthread -m32 -I/usr/local/gluex/root/prod/include
> -I/usr/local/gluex/root/prod/include -O2 -Wall   -c -o
> DBCALPoint_factory.o DBCALPoint_factory.cc
> DBCALPoint_factory.cc: In member function ‘virtual jerror_t
> DBCALPoint_factory::init()’:
> DBCALPoint_factory.cc:53:11: error: ‘sleep’ was not declared in this scope
> make[2]: *** [DBCALPoint_factory.o] Error 1
> make[2]: Leaving directory
> `/home/marki/halld/sim-recon-dc-1/src/libraries/BCAL'
> make[1]: *** [BCAL] Error 2
> make[1]: Leaving directory `/home/marki/halld/sim-recon-dc-1/src/libraries'
> make: *** [libraries] Error 2
>




More information about the Halld-offline mailing list