Problem with portaudio (vlc 0.9.0 svn)

About encoding, codec settings, muxers and filter usage
buddly27
New Cone
New Cone
Posts: 2
Joined: 22 Apr 2008 12:19

Problem with portaudio (vlc 0.9.0 svn)

Postby buddly27 » 28 Apr 2008 12:59

Hi

First : Sorry for my english.. I'm not a nativ speaker :/

I have a problem during the construction (make) of the subversion's version of vlc (0.9.0)
I installed portaudio.i386 but I have always an error.

My computer is on Centos 4.6.

Here are the logs

if /bin/sh ../../libtool --mode=compile --tag=CC gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/av/include -DSYS_LINUX -I../../include -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin portaudio` -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -MT libportaudio_plugin_la-portaudio.lo -MD -MP -MF ".deps/libportaudio_plugin_la-portaudio.Tpo" -c -o libportaudio_plugin_la-portaudio.lo `test -f 'portaudio.c' || echo './'`portaudio.c; \
then mv -f ".deps/libportaudio_plugin_la-portaudio.Tpo" ".deps/libportaudio_plugin_la-portaudio.Plo"; else rm -f ".deps/libportaudio_plugin_la-portaudio.Tpo"; exit 1; fi
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/av/include -DSYS_LINUX -I../../include -I../../include -I/usr/local/av/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=portaudio -DMODULE_NAME_IS_portaudio -O2 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -fvisibility=hidden -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -MT libportaudio_plugin_la-portaudio.lo -MD -MP -MF .deps/libportaudio_plugin_la-portaudio.Tpo -c portaudio.c -fPIC -DPIC -o .libs/libportaudio_plugin_la-portaudio.o
portaudio.c:67: error: syntax error before "PaDeviceIndex"
portaudio.c:67: warning: no semicolon at end of struct or union
portaudio.c:69: error: syntax error before "i_device_id"
portaudio.c:69: warning: type defaults to `int' in declaration of `i_device_id'
portaudio.c:69: warning: data definition has no type or storage class
portaudio.c:77: error: syntax error before '}' token
portaudio.c:129: warning: type defaults to `int' in declaration of `PaStreamCallbackTimeInfo'
portaudio.c:129: error: syntax error before '*' token
portaudio.c: In function `paCallback':
portaudio.c:132: error: `p_cookie' undeclared (first use in this function)
portaudio.c:132: error: (Each undeclared identifier is reported only once
portaudio.c:132: error: for each function it appears in.)
portaudio.c:133: error: dereferencing pointer to incomplete type
portaudio.c:138: error: `paDate' undeclared (first use in this function)
portaudio.c:143: error: dereferencing pointer to incomplete type
portaudio.c:147: error: dereferencing pointer to incomplete type
portaudio.c:147: error: dereferencing pointer to incomplete type
portaudio.c:148: error: dereferencing pointer to incomplete type
portaudio.c:150: error: `outputBuffer' undeclared (first use in this function)
portaudio.c:151: error: `framesPerBuffer' undeclared (first use in this function)
portaudio.c:151: error: dereferencing pointer to incomplete type
portaudio.c:164: error: dereferencing pointer to incomplete type
portaudio.c: In function `Open':
portaudio.c:182: error: invalid application of `sizeof' to incomplete type `../../include/vlc_common.h'
portaudio.c:188: error: dereferencing pointer to incomplete type
portaudio.c:189: error: dereferencing pointer to incomplete type
portaudio.c:196: error: dereferencing pointer to incomplete type
portaudio.c:177: warning: unused variable `i_err'
portaudio.c: In function `Close':
portaudio.c:313: error: dereferencing pointer to incomplete type
portaudio.c:319: error: dereferencing pointer to incomplete type
portaudio.c: In function `PAOpenDevice':
portaudio.c:357: error: dereferencing pointer to incomplete type
portaudio.c:357: warning: implicit declaration of function `Pa_GetDeviceCount'
portaudio.c:358: error: dereferencing pointer to incomplete type
portaudio.c:360: error: dereferencing pointer to incomplete type
portaudio.c:368: error: dereferencing pointer to incomplete type
portaudio.c:369: error: dereferencing pointer to incomplete type
portaudio.c:379: error: dereferencing pointer to incomplete type
portaudio.c:380: error: dereferencing pointer to incomplete type
portaudio.c:380: error: dereferencing pointer to incomplete type
portaudio.c:382: error: dereferencing pointer to incomplete type
portaudio.c:385: error: dereferencing pointer to incomplete type
portaudio.c:385: error: dereferencing pointer to incomplete type
portaudio.c:387: error: dereferencing pointer to incomplete type
portaudio.c:399: error: dereferencing pointer to incomplete type
portaudio.c:402: warning: assignment discards qualifiers from pointer target type
portaudio.c:407: error: dereferencing pointer to incomplete type
portaudio.c:410: warning: assignment discards qualifiers from pointer target type
portaudio.c:418: error: dereferencing pointer to incomplete type
portaudio.c:421: warning: assignment discards qualifiers from pointer target type
portaudio.c:426: error: dereferencing pointer to incomplete type
portaudio.c:429: warning: assignment discards qualifiers from pointer target type
portaudio.c:434: error: dereferencing pointer to incomplete type
portaudio.c:437: warning: assignment discards qualifiers from pointer target type
portaudio.c: In function `PAOpenStream':
portaudio.c:465: error: syntax error before '*' token
portaudio.c:466: error: `PaStreamParameters' undeclared (first use in this function)
portaudio.c:510: error: dereferencing pointer to incomplete type
portaudio.c:516: error: dereferencing pointer to incomplete type
portaudio.c:517: error: dereferencing pointer to incomplete type
portaudio.c:518: error: dereferencing pointer to incomplete type
portaudio.c:520: error: dereferencing pointer to incomplete type
portaudio.c:523: error: dereferencing pointer to incomplete type
portaudio.c:525: error: dereferencing pointer to incomplete type
portaudio.c:530: error: `paStreamParameters' undeclared (first use in this function)
portaudio.c:530: error: dereferencing pointer to incomplete type
portaudio.c:534: error: dereferencing pointer to incomplete type
portaudio.c:537: error: dereferencing pointer to incomplete type
portaudio.c:539: warning: passing arg 2 of `Pa_OpenStream' makes integer from pointer without a cast
portaudio.c:539: warning: passing arg 5 of `Pa_OpenStream' makes pointer from integer without a cast
portaudio.c:539: warning: passing arg 7 of `Pa_OpenStream' makes integer from pointer without a cast
portaudio.c:539: warning: passing arg 8 of `Pa_OpenStream' makes integer from pointer without a cast
portaudio.c:539: error: too few arguments to function `Pa_OpenStream'
portaudio.c:544: error: `paUnanticipatedHostError' undeclared (first use in this function)
portaudio.c:546: error: `paLastHostErrorInfo' undeclared (first use in this function)
portaudio.c:551: error: dereferencing pointer to incomplete type
portaudio.c:555: error: dereferencing pointer to incomplete type
portaudio.c:559: error: dereferencing pointer to incomplete type
portaudio.c: At top level:
portaudio.c:569: warning: unused parameter 'p_aout'
make[4]: *** [libportaudio_plugin_la-portaudio.lo] Erreur 1
make[4]: Leaving directory `/usr/src/vlc/modules/audio_output'
make[3]: *** [all-modules] Erreur 1
make[3]: Leaving directory `/usr/src/vlc/modules/audio_output'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/usr/src/vlc/modules'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/usr/src/vlc'
make: *** [all] Erreur 2


Any idea ?

Jérémy

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problem with portaudio (vlc 0.9.0 svn)

Postby Jean-Baptiste Kempf » 28 Apr 2008 18:05

POrtaudio version ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 31 guests