[Nexus-developers] HDF and Nexus on Cygwin for Muon data

Akeroyd, FA (Freddie) F.A.Akeroyd at rl.ac.uk
Mon Dec 5 12:33:50 GMT 2005


Simon,

_xdr_opaque is in /usr/lib/librpclib.a - try adding:

   -lrpclib

to the end of the compile line. If it says "library not found" then you
first need to install the the Cygwin "Sun RPC (ONC/RPC) libraries and
utilities" package

Regards,

Freddie

> -----Original Message-----
> From: nexus-developers-bounces at anl.gov [mailto:nexus-developers-
> bounces at anl.gov] On Behalf Of Simon H Connell
> Sent: 04 December 2005 21:46
> To: nexus-developers at anl.gov
> Subject: [Nexus-developers] HDF and Nexus on Cygwin for Muon data
> 
> Dear Freddie,
> 
> I am installing Nexus on the latest cygwin release in XP ... following
> 
> http://www.sat.uni-bremen.de/arts/wiki/ArtsCygwin
> 
> 
> to instal HDF ..... which seemed to work.
> 
> Installing Nexus from your link
> 
> http://www.neutron.anl.gov/pipermail/nexus-developers/2005/000612.html
> 
> also seemed to work.
> 
> The libraries are all sym-linked to /lib.
> 
> When I try to compile the test_nexus_reader.c, using
> gcc -o test_nexus_reader test_nexus_reader.c nexus_reader.c libNeXus.a
>             -lmfhdf -ldf -lz -ljpeg
> 
> I get errors like
> 
> /usr/lib/gcc/i686-pc-
> cygwin/3.4.4/../../../libmfhdf.a(putget.o):putget.c:(.text+0x21f):
> undefined reference to `_xdr_opaque'
> .....
> collect2: ld returned 1 exit status
> 
> which makes me think I miss a library .....
> 
> Can you make a suggestion ?
> 
> Many thanks
> 
> Regards
> Simon
> 
> --
> ===================================================================
> Simon H Connell
> Physics Department, University of the Witwatersrand
> Johannesburg, PO WITS 2050, South Africa
> phone (w)  : +27 11 351-7027
> fax   (w)  : +27 11 351-7053
> phone (h)  : +27 11 646-2910
> cell       : +27 82 945-7508
> e-mail     : connell at src.wits.ac.za
> Institute  : http://www.src.wits.ac.za/
> Group      : http://www.src.wits.ac.za/groups/psi
> ==================================================================
> _______________________________________________
> NeXus-developers mailing list
> NeXus-developers at anl.gov
> http://www.neutron.anl.gov/mailman/listinfo/nexus-developers



More information about the NeXus-developers mailing list