Hi,

 

I did have this problem earlier this year and wrestled with the codes for a while before I decided to ditch xdr support. Probably not the answer you were looking for … but it does work !!

 

Regards

 

Rob

 

From: Ramon Carbonell <ramon.carbonell@csic.es>
Sent: Tuesday, 14 March, 2023 5:16 PM
To: seisunix@mailman.seismic-unix.org
Subject: [Seisunix] Compilation probles wis dist CWP-44.26

 

Dear All,

 Has anybody struggled with compiling version 44.26 and having trouble when compiling with the xdr

I am getting messages like 

 

src/su/lib/fgettr.c:148: undefined reference to `xdr_float'

 

src/su/lib/fputtr.c:123: undefined reference to `xdr_vector'

 

 

I am running Ubuntu 22.04 and somehow, although xdr.h is installed at rpc/xdr.h

I am not sure why the compiler does not locate it.

 

Anu suggestions.

 

--

Ramon

--------------------------------------------------------------------------------------------

Ramon Carbonell                                     

CSIC-GEO3BCN GeoSciences Barcelona   (http://Geo3BCN.csic.es/)        https://orcid.org/0000-0003-2019-1214