Ticket #30 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

openct fails to build against glibc-2.8

Reported by: vapier Owned by: Chaskiel Grundman
Priority: normal Component: package
Version: 0.6.11 Severity: normal
Keywords: Cc:

Description

some openct code uses GNU-specific features but doesnt define _GNU_SOURCE

fix is to either add _GNU_SOURCE to CPPFLAGS in the configure script, or just add '#define _GNU_SOURCE' to the affected files

for example:

socket.c: In function 'ct_socket_getcreds':
socket.c:298: error: storage size of 'creds' isn't known
socket.c:298: warning: unused variable 'creds'

Change History

Changed 3 months ago by alonbl

  • status changed from new to closed
  • resolution set to fixed
  • component changed from ccid to package

Thanks!

Fixed in changeset:1059.

Added AC_GNU_SOURCE.

Note: See TracTickets for help on using tickets.