RE:evaluate message...

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Tue Aug 25 1998 - 12:55:00 MEST


Fons,

>Hi Masa,
>
>   running rootcint I get this message:
>
> evaluate (0) Note: posix.dl is not found. Do 'sh setup' in 
>$CINTSYSDIR/lib/posix directory if you use UNIX.
>
>what is this about?
>
>Cheers, Fons.

This is one of the new feature of cint. It now provides POSIX system call DLL
in lib/posix directory. This DLL is optional and a user should compile it on
his needs. Created DLL, include/posix.dl, is loaded within  include/unistd.h
header. If this DLL is not found, cint prints out above message. If you look
into include/unistd.h , you'll find out what is happening. To surpress this
message in rootcint, you can use #if statement. It looks like below now. 


/* NOTE: posix.dl is not generated by default. 
 * Goto $CINTSYSDIR/lib/posix directory and do 'sh setup' if you use UNIX. */
#pragma include_noerr "posix.dl"

#ifndef __MAKECINT__
#ifndef G__POSIX_H /* G__POSIX_H is defined in posix.dl */
#pragma eval printf("Note: posix.dl is not found. Do 'sh setup' in 
$CINTSYSDIR/lib/posix directory if you use UNIX.\n");
#endif
#endif


In addition to this, 'long long' is implemented in similar way. As soon as
you use a fundamental type 'long long', cint tries to load include/long.dll
automatically. This DLL is optional too.  A user needs to build it explicitly
in lib/longlong directory. 


Masaharu Goto



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:36 MET