iprohc fails to build

Bug #1446781 reported by Adam Caldwell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rohc
Confirmed
Medium
Didier Barvaux

Bug Description

iprohc is failing to build for me on Arch Linux (current as of 2015-04-21). I tested iprohc 0.7.1 and the latest version from bzr. The rohc library version 1.7.0 is installed.

See attached build log.

Revision history for this message
Adam Caldwell (adam-caldwell-deactivatedaccount) wrote :
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Thanks for the bug report. The problem seems to be related to GnuTLS.

../../src/common/.libs/libiprohc_common.a(libiprohc_common_la-session.o): In function `iprohc_session_new':
/home/adam/Downloads/iprohc-main/src/common/session.c:115: undefined reference to `gnutls_protocol_set_priority'
/home/adam/Downloads/iprohc-main/src/common/session.c:116: undefined reference to `gnutls_cipher_set_priority'
/home/adam/Downloads/iprohc-main/src/common/session.c:117: undefined reference to `gnutls_compression_set_priority'
/home/adam/Downloads/iprohc-main/src/common/session.c:118: undefined reference to `gnutls_kx_set_priority'
/home/adam/Downloads/iprohc-main/src/common/session.c:119: undefined reference to `gnutls_mac_set_priority'

What is your version of GnuTLS?

Could you please run the build in verbose mode?
  $ make VERBOSE=1

Changed in rohc:
assignee: nobody → Didier Barvaux (didier-barvaux)
milestone: none → iprohc-0.8.0
tags: added: arch gnutls
Revision history for this message
Adam Caldwell (adam-caldwell-deactivatedaccount) wrote :

I have GnuTLS version 3.4.0 (the latest upstream version). Attached a verbose make log.

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Please find attached a patch against IP/ROHC dev branch [0] that replaces deprecated GnuTLS API functions with newer ones. I didn't test it yet. I'll do it during the weekend, but feel free to test it if you need a fix quickly.

Changed in rohc:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :
Revision history for this message
Adam Caldwell (adam-caldwell-deactivatedaccount) wrote :

This applies cleanly for me, builds fine, and works in a brief test (just sending pings between an Arch Linux iprohc_server and an Ubuntu 15.04 iprohc_client).

Thanks for the quick fix.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.