ericmckean / libjingle

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

Compile error in raspberry pi #426

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. gclient config http://libjingle.googlecode.com/svn/trunk 
2. gclient sync --force
3. sudo apt-get install libasound2-dev libpulse-dev libjpeg62-dev libxv-dev 
libgtk2.0-dev libexpat1-dev liblinphone-dev pkg-config
4. gclient runhoop --force

What is the expected output? 
Got a Makefile in trunk. Got a compile environment

What do you see instead?
________ running '/usr/bin/python trunk/tools/clang/scripts/update.py 
--mac-only' in '/home/pi/cleantrunk'
________ running '/usr/bin/python trunk/build/win/setup_cygwin_mount.py 
--win-only' in '/home/pi/cleantrunk'
________ running '/usr/bin/python trunk/build/gyp_chromium --depth=trunk 
trunk/talk/libjingle_all.gyp -Dextra_gyp_flag=0' in '/home/pi/cleantrunk'
Updating projects from gyp files...
/bin/sh: 1: ../../../build/linux/pkg-config-wrapper: not found
gyp: Call to '../../../build/linux/pkg-config-wrapper 
"/home/pi/cleantrunk/trunk/arm-sysroot" "arm" --libs-only-L --libs-only-other 
nss' returned exit status 127. while loading dependencies of 
trunk/talk/libjingle_all.gyp while trying to load trunk/talk/libjingle_all.gyp
Error: Command /usr/bin/python trunk/build/gyp_chromium --depth=trunk 
trunk/talk/libjingle_all.gyp -Dextra_gyp_flag=0 returned non-zero exit status 1 
in /home/pi/cleantrunk

What version of the product are you using? On what operating system?
libjingle 0.7.1
Linux raspberrypi 3.6.11_ (armv61,armhf)

Please provide any additional information below:
0. The project aims to study the call example with video enabled. 
1. It seems a file is missing. 
2. I want to enable video feature of call sample. If I use gyp, do I still need 
to change the libjingle.scons file to enable linphonemediaengine ?

The README seems confusing:
In the README there is a line says adds "session/phone/linphonemediaengine.cc" 
to enable the engine
but in the changelog 0.6.20 - Aug 1, 2012, there is no more session directory.

Any help will be very appreciated! 

Original issue reported on code.google.com by eagles...@gmail.com on 21 Mar 2013 at 2:29

GoogleCodeExporter commented 9 years ago
It seems to me that pkg-config --libs-only-L --libs-only-other nss returns an 
empty string somehow in my case.
But I had installed libnss3-dev libnss3-1d libnss3 libnss3-dbg and their 
dependencies already before I started this project.The nss.pc shows correctly, 
and --cflags fetches the right path.
I think it is supposed to return -L/usr/lib/'compiler' but it doesnt.
Any help?

Original comment by eagles...@gmail.com on 21 Mar 2013 at 5:28

GoogleCodeExporter commented 9 years ago
Please close this issue. After solving it,I figured out libjingle doesn't 
support Rpi(armv6+vfp+hardfp) especially vfp. I've some patch to modify some 
architecture specific code but it is too hard to cover all the ranges. I gave 
up the choice. 

Original comment by eagles...@gmail.com on 22 Mar 2013 at 1:37