[Bug 1109298] [NEW] [Regression] error when trying to compile a module which use alsa/asoundlib.h with EGLIBC 2.17

Matthieu Baerts matttbe at gmail.com
Tue Jan 29 21:04:28 UTC 2013


Public bug reported:

Hello,

Firstly, thank you for maintaining and packaging this complex project!

I'm not sure that this bug is due to libc6 but with the latest version
(and not with the previous one: I just downgraded to the previous
version and I don't have this problem with it) I'm no longer able to
compile a Cairo-Dock's plugin which include "alsa/asoundlib.h".

Here is the error:

  $ env LANG=C make VERBOSE=1
/usr/bin/cc  -DCAIRO_DOCK_FORCE_ICON_IN_MENUS=1 -DDBUSMENU_GTK3_NEW=1 -DGL_GLEXT_PROTOTYPES=\"1\" -DGTK_DISABLE_DEPRECATED=\"1\" -DMY_APPLET_CONF_FILE=\"AlsaMixer.conf\" -DMY_APPLET_DOCK_VERSION=\"3.1.99.beta0\" -DMY_APPLET_GETTEXT_DOMAIN=\"cairo-dock-plugins\" -DMY_APPLET_ICON_FILE=\"icon.png\" -DMY_APPLET_PREVIEW_FILE=\"preview.jpg\" -DMY_APPLET_SHARE_DATA_DIR=\"/usr/share/cairo-dock/plug-ins/AlsaMixer\" -DMY_APPLET_USER_DATA_DIR=\"AlsaMixer\" -DMY_APPLET_VERSION=\"2.1.3\" -DSOUND_SERVICE_SUPPORT=\"1\" -DSOUND_SERVICE_VERSION=1 -Dcd_AlsaMixer_EXPORTS -fPIC -I/usr/include/gtk-3.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/cairo -I/usr/include/librsvg-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/cairo-dock -I/usr/include/cairo-dock/gldit -I/usr/include/cairo-dock/icon-factory -I/usr/include/cairo-dock/implementations -I/usr/include/alsa -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/libdbusmenu-gtk3-0.4 -I/usr/include/libindicator3-0.4 -I/usr/include/libido3-0.1 -I/opt/cairo-dock_bzr/cairo-dock-plug-ins/Indicator-applet    -std=c99 -Wall -o CMakeFiles/cd-AlsaMixer.dir/applet-init.c.o   -c /opt/cairo-dock_bzr/cairo-dock-plug-ins/alsaMixer/src/applet-init.c
In file included from /usr/include/alsa/asoundlib.h:49:0,
                 from /opt/cairo-dock_bzr/cairo-dock-plug-ins/alsaMixer/src/applet-struct.h:23,
                 from /opt/cairo-dock_bzr/cairo-dock-plug-ins/alsaMixer/src/applet-init.c:20:
/usr/include/alsa/pcm.h:944:1: error: unknown type name 'u_int8_t'
/usr/include/alsa/pcm.h:945:1: error: unknown type name 'u_int16_t'
/usr/include/alsa/pcm.h:946:1: error: unknown type name 'u_int32_t'
/usr/include/alsa/pcm.h:947:1: error: unknown type name 'u_int64_t'
/usr/include/alsa/pcm.h:1052:1: error: unknown type name 'int16_t'
make[2]: *** [alsaMixer/src/CMakeFiles/cd-AlsaMixer.dir/applet-init.c.o] Error 1
make[2]: Leaving directory `/opt/cairo-dock_bzr/cairo-dock-plug-ins/build'
make[1]: *** [alsaMixer/src/CMakeFiles/cd-AlsaMixer.dir/all] Error 2
make[1]: Leaving directory `/opt/cairo-dock_bzr/cairo-dock-plug-ins/build'
make: *** [all] Error 2

It seems that 'u_intX_t' ('u_int8_t', etc.) are defined in "sys/types.h".
Should I have to report this bug to alsa devs or now should I have to include "sys/types.h" before including "alsa/asoundlib.h"?

Regards,

Matt

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: libc6 2.17-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-2.6-generic 3.8.0-rc4
Uname: Linux 3.8.0-2-generic x86_64
ApportVersion: 2.8-0ubuntu2
Architecture: amd64
Date: Tue Jan 29 21:30:07 2013
InstallationDate: Installed on 2011-08-10 (538 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
MarkForUpload: True
SourcePackage: eglibc
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug raring

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

Title:
  [Regression] error when trying to compile a module which use
  alsa/asoundlib.h with EGLIBC 2.17

Status in “eglibc” package in Ubuntu:
  New

Bug description:
  Hello,

  Firstly, thank you for maintaining and packaging this complex project!

  I'm not sure that this bug is due to libc6 but with the latest version
  (and not with the previous one: I just downgraded to the previous
  version and I don't have this problem with it) I'm no longer able to
  compile a Cairo-Dock's plugin which include "alsa/asoundlib.h".

  Here is the error:

    $ env LANG=C make VERBOSE=1
  /usr/bin/cc  -DCAIRO_DOCK_FORCE_ICON_IN_MENUS=1 -DDBUSMENU_GTK3_NEW=1 -DGL_GLEXT_PROTOTYPES=\"1\" -DGTK_DISABLE_DEPRECATED=\"1\" -DMY_APPLET_CONF_FILE=\"AlsaMixer.conf\" -DMY_APPLET_DOCK_VERSION=\"3.1.99.beta0\" -DMY_APPLET_GETTEXT_DOMAIN=\"cairo-dock-plugins\" -DMY_APPLET_ICON_FILE=\"icon.png\" -DMY_APPLET_PREVIEW_FILE=\"preview.jpg\" -DMY_APPLET_SHARE_DATA_DIR=\"/usr/share/cairo-dock/plug-ins/AlsaMixer\" -DMY_APPLET_USER_DATA_DIR=\"AlsaMixer\" -DMY_APPLET_VERSION=\"2.1.3\" -DSOUND_SERVICE_SUPPORT=\"1\" -DSOUND_SERVICE_VERSION=1 -Dcd_AlsaMixer_EXPORTS -fPIC -I/usr/include/gtk-3.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/cairo -I/usr/include/librsvg-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/cairo-dock -I/usr/include/cairo-dock/gldit -I/usr/include/cairo-dock/icon-factory -I/usr/include/cairo-dock/implementations -I/usr/include/alsa -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/libdbusmenu-gtk3-0.4 -I/usr/include/libindicator3-0.4 -I/usr/include/libido3-0.1 -I/opt/cairo-dock_bzr/cairo-dock-plug-ins/Indicator-applet    -std=c99 -Wall -o CMakeFiles/cd-AlsaMixer.dir/applet-init.c.o   -c /opt/cairo-dock_bzr/cairo-dock-plug-ins/alsaMixer/src/applet-init.c
  In file included from /usr/include/alsa/asoundlib.h:49:0,
                   from /opt/cairo-dock_bzr/cairo-dock-plug-ins/alsaMixer/src/applet-struct.h:23,
                   from /opt/cairo-dock_bzr/cairo-dock-plug-ins/alsaMixer/src/applet-init.c:20:
  /usr/include/alsa/pcm.h:944:1: error: unknown type name 'u_int8_t'
  /usr/include/alsa/pcm.h:945:1: error: unknown type name 'u_int16_t'
  /usr/include/alsa/pcm.h:946:1: error: unknown type name 'u_int32_t'
  /usr/include/alsa/pcm.h:947:1: error: unknown type name 'u_int64_t'
  /usr/include/alsa/pcm.h:1052:1: error: unknown type name 'int16_t'
  make[2]: *** [alsaMixer/src/CMakeFiles/cd-AlsaMixer.dir/applet-init.c.o] Error 1
  make[2]: Leaving directory `/opt/cairo-dock_bzr/cairo-dock-plug-ins/build'
  make[1]: *** [alsaMixer/src/CMakeFiles/cd-AlsaMixer.dir/all] Error 2
  make[1]: Leaving directory `/opt/cairo-dock_bzr/cairo-dock-plug-ins/build'
  make: *** [all] Error 2

  It seems that 'u_intX_t' ('u_int8_t', etc.) are defined in "sys/types.h".
  Should I have to report this bug to alsa devs or now should I have to include "sys/types.h" before including "alsa/asoundlib.h"?

  Regards,

  Matt

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: libc6 2.17-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-2.6-generic 3.8.0-rc4
  Uname: Linux 3.8.0-2-generic x86_64
  ApportVersion: 2.8-0ubuntu2
  Architecture: amd64
  Date: Tue Jan 29 21:30:07 2013
  InstallationDate: Installed on 2011-08-10 (538 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
  MarkForUpload: True
  SourcePackage: eglibc
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list