LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-05-2005, 05:24 AM   #1
zwiback
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
pymedia


I want to install pymedia an a debian linux with 2.4 kernel. But I always get this error:

building 'pymedia.audio.acodec' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DBUILD_NUM=1926 -DPATH_DEV_DSP="/dev/dsp" -DPATH_DEV_MIXER="/dev/mixer" -D_FILE_OFFSET_BITS=64 -DACCEL_DETECT=1 -DHAVE_MMX=1 -DHAVE_LINUX_DVD_STRUCT=1 -DDVD_STRUCT_IN_LINUX_CDROM_H=1 -DCONFIG_VORBIS -DCONFIG_VORBIS -DCONFIG_FAAD -DCONFIG_MP3LAME -DCONFIG_VORBIS -DHAVE_AV_CONFIG_H -DUDF_CACHE=1 -INone -INone -INone -I/usr/local/include/lame -INone -Iaudio/ -I/usr/local/include/python2.3 -c audio/libavcodec/faad.c -o build/temp.linux-i686-2.3/audio/libavcodec/faad.o
audio/libavcodec/faad.c: In function `faac_decode_frame':
audio/libavcodec/faad.c:111: warning: passing arg 3 of pointer to function makes pointer from integer without a cast
audio/libavcodec/faad.c:111: warning: passing arg 4 of pointer to function from incompatible pointer type
audio/libavcodec/faad.c:111: too many arguments to function
audio/libavcodec/faad.c:110: warning: unused variable `samplerate'
audio/libavcodec/faad.c:119: too many arguments to function
audio/libavcodec/faad.c:133: structure has no member named `samplerate'
audio/libavcodec/faad.c:105: warning: `out' might be used uninitialized in this function
error: command 'gcc' failed with exit status 1

I need some help from all the super linux users ;-)

Thx a linux user from switzerland
 
Old 01-05-2005, 06:45 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
according to the header file faad.c includes, the function the compiler is bailing on (FaacDecDecode) only takes 3 arguments but is passed 4 in the code. The source code states that faad support is unfinished but it does play something. try building without faad support if the setup.py file will let you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pymedia fails to build shanenin Programming 0 07-29-2005 03:26 PM


All times are GMT -5. The time now is 11:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration