tunnel-source-new compiler warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/18/2013 10:22 AM, David Henningsson wrote:
> Hi lynxis,
> 
> I just got this compiler warning:
> 
> ../../src/modules/module-tunnel-source-new.c: In function
> 'read_new_samples':
> ../../src/modules/module-tunnel-source-new.c:143:16: warning:
> declaration of 'read' shadows a global declaration [-Wshadow]
> 
> Would you mind renaming the 'read' variable to something else for clarity?
> 

And also this linker error:

modules/.libs/module_tunnel_sink_la-module-tunnel.o: In function
`module_tunnel_sink_LTX_pa__init':
/home/david/gsrc/pulseaudio/build/src/../../src/modules/module-tunnel.c:2235:
undefined reference to `xcb_disconnect'
/home/david/gsrc/pulseaudio/build/src/../../src/modules/module-tunnel.c:1987:
undefined reference to `xcb_connect'
/home/david/gsrc/pulseaudio/build/src/../../src/modules/module-tunnel.c:1990:
undefined reference to `xcb_connection_has_error'
/home/david/gsrc/pulseaudio/build/src/../../src/modules/module-tunnel.c:2253:
undefined reference to `xcb_disconnect'
/home/david/gsrc/pulseaudio/build/src/../../src/modules/module-tunnel.c:1992:
undefined reference to `xcb_disconnect'
collect2: ld returned 1 exit status
make[3]: *** [module-tunnel-sink.la] Error 1
make[3]: *** Waiting for unfinished jobs....
modules/.libs/module-tunnel.o: In function
`module_tunnel_source_LTX_pa__init':
/home/david/gsrc/pulseaudio/build/src/../../src/modules/module-tunnel.c:2235:
undefined reference to `xcb_disconnect'
/home/david/gsrc/pulseaudio/build/src/../../src/modules/module-tunnel.c:1987:
undefined reference to `xcb_connect'
/home/david/gsrc/pulseaudio/build/src/../../src/modules/module-tunnel.c:1990:
undefined reference to `xcb_connection_has_error'
/home/david/gsrc/pulseaudio/build/src/../../src/modules/module-tunnel.c:2253:
undefined reference to `xcb_disconnect'
/home/david/gsrc/pulseaudio/build/src/../../src/modules/module-tunnel.c:1992:
undefined reference to `xcb_disconnect'
collect2: ld returned 1 exit status



-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux