Linux installation problems

Ray Osborn ROsborn at anl.gov
Wed Sep 3 23:17:50 BST 1997


A couple of people told me they were having problems linking the NeXus API
on Linux.  Nick and Przemek thought it might be a problem with using an old
HDF version.  When I tried it for myself, I got the same error messages:

% cc -c -I/usr/local/hdf/include napi.c
napi.c: In function `nximakedata_':
napi.c:610: warning: passing arg 5 of `SDcreate' from incompatible pointer type
napi.c: In function `nxigetslab_':
napi.c:732: warning: passing arg 2 of `SDreaddata' from incompatible
pointer type
napi.c:732: warning: passing arg 4 of `SDreaddata' from incompatible
pointer type
napi.c: In function `nxigetattr_':
napi.c:765: warning: passing arg 4 of `SDattrinfo' from incompatible
pointer type
napi.c:767: warning: passing arg 4 of `SDattrinfo' from incompatible
pointer type
napi.c: In function `nxiputslab_':
napi.c:863: warning: passing arg 2 of `SDwritedata' from incompatible
pointer type
napi.c:863: warning: passing arg 3 of `SDwritedata' from incompatible
pointer type
napi.c:863: warning: passing arg 4 of `SDwritedata' from incompatible
pointer type
napi.c: In function `nxigetinfo_':
napi.c:913: warning: passing arg 3 of `SDgetinfo' from incompatible pointer
type
napi.c:913: warning: passing arg 4 of `SDgetinfo' from incompatible pointer
type
napi.c:913: warning: passing arg 5 of `SDgetinfo' from incompatible pointer
type

I'm pretty sure that the HDF version is 4.1r1 though the C header files say
v 1.57 (what does that mean?).  Any thoughts?

Ray

------------------------------------------------------
Dr Ray Osborn                  Tel: +1 (630) 252-9011
Materials Science Division     Fax: +1 (630) 252-7777
Argonne National Laboratory    E-mail: ROsborn at anl.gov
Argonne, IL 60439-4845


--------------------------------------------------------------------------------
Return-Path: <ROsborn at anl.gov>
Received: from dns2.anl.gov by ipns.pns.anl.gov (MX V4.2 AXP) with SMTP; Wed,
          03 Sep 1997 17:18:58 CST
Received: from osborn.msd.anl.gov (osborn.msd.anl.gov [146.139.244.39]) by
          dns2.anl.gov (8.6.11/8.6.11) with ESMTP id RAA06802 for
          <ROsborn at anl.gov>; Wed, 3 Sep 1997 17:18:56 -0500
Received: from dns2.anl.gov (146.139.254.3) by osborn.msd.anl.gov with SMTP
          (Eudora Internet Mail Server 1.1.2); Wed, 3 Sep 1997 17:18:33 -0500
Received: from osborn.msd.anl.gov (osborn.msd.anl.gov [146.139.244.39]) by
          dns2.anl.gov (8.6.11/8.6.11) with ESMTP id RAA06791 for
          <NAPI at anl.gov>; Wed, 3 Sep 1997 17:18:30 -0500
Received: from [146.139.244.39] by osborn.msd.anl.gov with ESMTP (Eudora
          Internet Mail Server 1.1.2); Wed, 3 Sep 1997 17:18:07 -0500
Message-ID: <l03102806b033913eaa5f@[146.139.244.39]>



More information about the NeXus-developers mailing list