Re: [Wengophone-devel] Linix: portaudio link problems

2007-08-08 Thread Andreas Schneider
Alec leamas wrote:
> I'm running into problems with the current head of 2.1 when 
> trying to build with the libportaudio option enabled.
> The problems are invariably unsatisfied references to the 
> ffmpeg av* libraries.
> 

The ffmpeg API has changed. We've added support for the new API in the
wengophone-2.2 branch, but we have still some problems.

> On 32-bit suse the problems disappears if I enable the 
> internal ffmpeg library. If I try to use the external
> libraries (which are installed) I get link errors in the final 
> link step with the unsatisfied references above.
> 
> On 64-bit Fedora I get the same link error when trying to use 
> external libraries. Trying to use the internal
> ffmpeg I get 
> make[2]: *** No rule to make target `..
> /libs/3rdparty/ffmpeg/libavcodec/libavcodec.a', needed by 
> `libs/owwebcam/libowwebcam.so'.
> 
> I am able to build without the portaudioption. However, no 
> sound on Fedora ;-) So I thought I should give libportaudio a 
> chance...
> 
> Is this known bugs, is it like it's intended to be, or am I 
> just doing something stupid? 

Portaudio doesn't really work, use ALSA and set the device with
PH_FORCE_AUDIO_DEVICE. Search for it in the wiki.

Improved audio support will be available with wengophone-2.2 too.

Packages for openSUSE are available at Packman.


-- andreas

> 
> Any clues out there?
> 
> --Alec
> ___
> Wengophone-devel mailing list
> Wengophone-devel@lists.openwengo.com
> http://dev.openwengo.com/mailman/listinfo/wengophone-devel

-- 
http://www.cynapses.org/ - cybernetic synapses




signature.asc
Description: OpenPGP digital signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Linix: portaudio link problems

2007-08-08 Thread Dan Sandberg

I posted something on 6/28 that may address this:

avcodec_version is in libavcodec.so ( or libavcodec.a ), which comes
from the ffmpeg project.  I had this problem a few days ago when I was
trying out the latest version of ffmpeg with wengo.

The problem is prob. one of the following:

1-You're somehow not linking with the libavcodec.a library.  Possibly
because you have the wrong settings for FFMPEG_OLD_VERSION in
$WENGO/DefineWengoOptions.cmake or the wrong settings for
FFMPEG_INTERNAL in $WENGO/libs/3rdparty/CMakeLists.txt
2-You're creating shared/static libraries but the linker is looking for
the opposite kind.
3-You're using a version of ffmpeg from the ffmpeg site, which has a
header ( avcodec.h ) which does not do 'extern "c"'.  Because of this
the C++ compiler can't find the name, because it is expecting the name
to be mangled.

-Dan

Alec leamas wrote:
I'm running into problems with the current head of 2.1 when 
trying to build with the libportaudio option enabled.
The problems are invariably unsatisfied references to the 
ffmpeg av* libraries.


On 32-bit suse the problems disappears if I enable the 
internal ffmpeg library. If I try to use the external
libraries (which are installed) I get link errors in the final 
link step with the unsatisfied references above.


On 64-bit Fedora I get the same link error when trying to use 
external libraries. Trying to use the internal
ffmpeg I get 
make[2]: *** No rule to make target `..
/libs/3rdparty/ffmpeg/libavcodec/libavcodec.a', needed by 
`libs/owwebcam/libowwebcam.so'.


I am able to build without the portaudioption. However, no 
sound on Fedora ;-) So I thought I should give libportaudio a 
chance...


Is this known bugs, is it like it's intended to be, or am I 
just doing something stupid? 


Any clues out there?

--Alec
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

  






___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel


[Wengophone-devel] Linix: portaudio link problems

2007-08-08 Thread Alec leamas
I'm running into problems with the current head of 2.1 when 
trying to build with the libportaudio option enabled.
The problems are invariably unsatisfied references to the 
ffmpeg av* libraries.

On 32-bit suse the problems disappears if I enable the 
internal ffmpeg library. If I try to use the external
libraries (which are installed) I get link errors in the final 
link step with the unsatisfied references above.

On 64-bit Fedora I get the same link error when trying to use 
external libraries. Trying to use the internal
ffmpeg I get 
make[2]: *** No rule to make target `..
/libs/3rdparty/ffmpeg/libavcodec/libavcodec.a', needed by 
`libs/owwebcam/libowwebcam.so'.

I am able to build without the portaudioption. However, no 
sound on Fedora ;-) So I thought I should give libportaudio a 
chance...

Is this known bugs, is it like it's intended to be, or am I 
just doing something stupid? 

Any clues out there?

--Alec
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel