Public bug reported:

Hi,
I have a technical code that relies on XDR for it's internal data format. I 
cannot compile it anymore with hirsute (and groovy).

As a simpler test I tried to compile

#include <rpc/xdr.h>
int main(){
xdr_void();
}

called it testxdr.c 
gcc -o testxdr -I/usr/include/tirpc -ltirpc testxdr.c

-I and -l options are indicated by package-config.

With the include compilation is OK but the linking fails with an indefinite 
reference to xdr_void.
With focal, nor -I neither -l options are necessary, xdr functions are within 
glibc. 
With hirsute nm says that xdr_void symbol is defined in libtirpc.so and 
surprisingly (for me) in glibc 2.33 (should have been removed since 2.32 ?)

Any help is welcome !

D.

** Affects: libtirpc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923361

Title:
  unable to link xdr functions with groovy and hirsute

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libtirpc/+bug/1923361/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to