zf8848 / libjingle

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

Compiling Libjingle on a x86_64 machine #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download libjingle 0.5 on a x86_64 (mine is a Intel core2)
2. follow the README instruction up to 2.1.(2) and everything goes ok
3. run $path_to_swtoolkit/hammer.sh

What is the expected output? What do you see instead?
The expected output would be to build correctly libjungle.
Instead, I get the following:
scons: Building targets ...
________Compiling build/dbg/obj/third_party/expat-2.0.1/lib/xmlparse.o
In file included from /usr/include/features.h:378,
                 from /usr/include/string.h:26,
                 from third_party/expat-2.0.1/lib/xmlparse.c:6:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
scons: *** [build/dbg/obj/third_party/expat-2.0.1/lib/xmlparse.o] Error 1
scons: building terminated because of errors.

What version of the product are you using? On what operating system?
Product: libjungle 0.5
OS: Ubuntu 10.04 (lucyd lynx)

Please provide any additional information below.
/usr/include/gnu/stubs.h correctly exists but as I have a 64bit machine I have 
stubs-64.h. Hence the __WORDSIZE should be equal to 64 in order for stubs.h to 
point to the correct file. How can I achieve this?

thanks

Original issue reported on code.google.com by Rossi.Claudio.82@gmail.com on 21 Oct 2010 at 9:27

GoogleCodeExporter commented 9 years ago

Original comment by pthatc...@google.com on 6 Nov 2010 at 1:04