Ticket #45 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Pulseaudio compilation failure at missing module variable with svn 1416

Reported by: avuton Owned by: lennart
Milestone: Component: daemon
Keywords: Cc:

Description

svn revision: 1416

Configure Arguments

./autogen.sh --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-largefile --enable-glib2 --disable-solaris --disable-asyncns --disable-oss --enable-alsa --disable-lirc --disable-tcpwrap --disable-jack --disable-lirc --disable-avahi --enable-hal --without-caps --with-x --disable-ltdl-install --localstatedir=/var --with-realtime-group=pulse-rt --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu

I also tried with just a ./autogen.sh

Commenting out this assertion, the compile finishes just fine.

The Line

assert(c && name && module && (type == PA_NAMEREG_SINK || type == PA_NAMEREG_SOURCE));

The Error

pulsecore/autoload.c: In function 'pa_autoload_remove_by_name':
pulsecore/autoload.c:105: error: 'module' undeclared (first use in this function)
pulsecore/autoload.c:105: error: (Each undeclared identifier is reported only once
pulsecore/autoload.c:105: error: for each function it appears in.)
make[3]: *** [libpulsecore_la-autoload.lo] Error 1

Attachments

pulseaudio-module-fix.patch (3.6 kB) - added by avuton 5 years ago.
Proposed Fix (works for me)

Change History

Changed 5 years ago by avuton

Proposed Fix (works for me)

Changed 5 years ago by avuton

And there's a patch for it, I'm not familiar with the codebase, but it compiles and does work.

Changed 5 years ago by ossman

  • status changed from new to closed
  • resolution set to fixed

Silly bug... Solved in r1417.

Note: See TracTickets for help on using tickets.