zf8848 / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

Build issue in soundsystemproxy.cc #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow README
2. edit main.scons so that gcc does not use -Werror (or I wouldn't even get 
this far)
3. $path_to_swtoolkit/hammer.sh

What is the expected output? What do you see instead?
Expected output is correctly built libjingle. 

What I get instead:

[snip]
scons: Building targets ...
________Compiling build/dbg/obj/sound/soundsystemproxy.o
In file included from sound/soundsystemproxy.cc:28:0:
/home/gatlin/code/libjingle-0.5.4/talk/sound/soundsystemproxy.h: In constructor 
'cricket::SoundSystemProxy::SoundSystemProxy()':
/home/gatlin/code/libjingle-0.5.4/talk/sound/soundsystemproxy.h:40:33: error: 
'NULL' was not declared in this scope
sound/soundsystemproxy.cc: In member function 'virtual 
cricket::SoundOutputStreamInterface* 
cricket::SoundSystemProxy::OpenPlaybackDevice(const 
cricket::SoundDeviceLocator*, const 
cricket::SoundSystemInterface::OpenParams&)':
sound/soundsystemproxy.cc:55:68: error: 'NULL' was not declared in this scope
sound/soundsystemproxy.cc: In member function 'virtual 
cricket::SoundInputStreamInterface* 
cricket::SoundSystemProxy::OpenCaptureDevice(const 
cricket::SoundDeviceLocator*, const 
cricket::SoundSystemInterface::OpenParams&)':
sound/soundsystemproxy.cc:61:67: error: 'NULL' was not declared in this scope
sound/soundsystemproxy.cc:62:1: warning: control reaches end of non-void 
function [-Wreturn-type]
sound/soundsystemproxy.cc: In member function 'virtual 
cricket::SoundOutputStreamInterface* 
cricket::SoundSystemProxy::OpenPlaybackDevice(const 
cricket::SoundDeviceLocator*, const 
cricket::SoundSystemInterface::OpenParams&)':
sound/soundsystemproxy.cc:56:1: warning: control reaches end of non-void 
function [-Wreturn-type]
scons: *** [build/dbg/obj/sound/soundsystemproxy.o] Error 1
scons: building terminated because of errors.
[/snip]

What version of the product are you using? On what operating system?
Libjingle-0.5.4; Arch Linux x86_64, gcc 4.6.0. 

Please provide any additional information below.
I will try this on other distros / software combinations to see what success I 
have and report here. 

Original issue reported on code.google.com by roken...@gmail.com on 15 May 2011 at 11:57

GoogleCodeExporter commented 9 years ago
Not able to repro this problem. The build worked fine for me. Please clean up 
your system and follow the instruction exactly and retry. 
Reopen this issue if you still run into any problem.

Original comment by jun...@google.com on 23 May 2011 at 9:36