Bug#645244: libsbsms: FTBFS on *-i386: malloc et al. used undeclared

Aaron M. Ucko ucko at debian.org
Thu Oct 13 19:18:47 UTC 2011


Source: libsbsms
Version: 2.0.0-1
Severity: serious
Justification: fails to build from source

Builds of libsbsms on i386 platforms are failing:

  buffer.h: In constructor '_sbsms_::RingBuffer<T>::RingBuffer()': buffer.h:44:39: error: there are no arguments to 'calloc' that depend on a template parameter, so a declaration of 'calloc' must be available [-fpermissive]
  buffer.h:44:39: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  [...]

Could you please arrange for buffer.h to #include <stdlib.h> for
compatibility with recent libstdc++ versions whose headers have
undergone dependency cleanup?

Thanks!





More information about the pkg-multimedia-maintainers mailing list