Hi
This is an old problem with ubuntu. There is no xdr problem with debian and fedora.

So, one solution is to use ubuntu specific linking instruction (see Paul Fertser's message, that I transfered to the list), an other one is to compile SU with an other distro or to "ditch xdr" like Rob...

D.

Le 14 mars 2023 20:57:22 GMT+01:00, rob@xsgeo.com a écrit :

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

 

--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.