LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-11-2009, 11:58 PM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
errors when building MPlayer please help


i have errors on mingw and msys when compiling MPlayer dont understand them:
Code:
make[1]: Entering directory `/home/john/MPlayer-1.0rc2/input'
make[1]: Nothing to be done for `libs'.
make[1]: Leaving directory `/home/john/MPlayer-1.0rc2/input'
make -C vidix
make[1]: Entering directory `/home/john/MPlayer-1.0rc2/vidix'
make[1]: Nothing to be done for `libs'.
make[1]: Leaving directory `/home/john/MPlayer-1.0rc2/vidix'
make -C libmpcodecs
make[1]: Entering directory `/home/john/MPlayer-1.0rc2/libmpcodecs'
make[1]: Nothing to be done for `libs'.
make[1]: Leaving directory `/home/john/MPlayer-1.0rc2/libmpcodecs'
make -C libaf
make[1]: Entering directory `/home/john/MPlayer-1.0rc2/libaf'
make[1]: Nothing to be done for `libs'.
make[1]: Leaving directory `/home/john/MPlayer-1.0rc2/libaf'
make -C libmpdemux libmpdemux.a
make[1]: Entering directory `/home/john/MPlayer-1.0rc2/libmpdemux'
make[1]: `libmpdemux.a' is up to date.
make[1]: Leaving directory `/home/john/MPlayer-1.0rc2/libmpdemux'
make -C stream
make[1]: Entering directory `/home/john/MPlayer-1.0rc2/stream'
make[1]: Nothing to be done for `libs'.
make[1]: Leaving directory `/home/john/MPlayer-1.0rc2/stream'
make -C libswscale
make[1]: Entering directory `/home/john/MPlayer-1.0rc2/libswscale'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/john/MPlayer-1.0rc2/libswscale'
make -C libvo libosd.a
make[1]: Entering directory `/home/john/MPlayer-1.0rc2/libvo'
make[1]: `libosd.a' is up to date.
make[1]: Leaving directory `/home/john/MPlayer-1.0rc2/libvo'
make -C libavformat
make[1]: Entering directory `/home/john/MPlayer-1.0rc2/libavformat'
gcc -I../libavcodec  -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOUR
CE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdisabled-optimization -Wdeclarati
on-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wr
edundant-decls -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-fr
ame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DH
AVE_CONFIG_H -I/Users/hercules/tmp/SDL-1.2.13/include/SDL -D_GNU_SOURCE=1   -c -
o os_support.o os_support.c
In file included from os_support.c:24:
C:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/unistd.h:36: error: sy
ntax error before '(' token
make[1]: *** [os_support.o] Error 1
make[1]: Leaving directory `/home/john/MPlayer-1.0rc2/libavformat'
make: *** [libavformat/libavformat.a] Error 2

Last edited by smeezekitty; 10-11-2009 at 11:59 PM.
 
Old 10-12-2009, 12:42 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
As far as I know, this means that there is something wrong with os_support.c or a file that is included before os_support.c includes unistd.h
 
Old 10-12-2009, 12:46 AM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
fixed -- unistd.h was corrupted but now i have a brand new set of errors
it seems its suppose to link with libaa but its not
Code:
arlib.o libvo/libvo.a libao2/libao2.a input/libinput.a vidix/libvidix.a libmpcod
ecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a libswsca
le/libswscale.a libvo/libosd.a libavformat/libavformat.a libavcodec/libavcodec.a
 libavutil/libavutil.a libpostproc/libpostproc.a loader/libloader.a mp3lib/libmp
3.a liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec
.a dvdread/libdvdread.a libdvdcss/libdvdcss.a osdep/libosdep.a -lopengl32 -lgdi3
2 -lgdi32 -lSDLmain -lSDL -lwinmm -L/Users/hercules/tmp/SDL-1.2.13/lib  -lwinmm
-lws2_32 -ljpeg -lz -ladvapi32 -lole32     -lm
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x96): undefined reference to `aa_resize'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x6eb): undefined reference to `aa_fastren
der'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x745): undefined reference to `aa_render'

libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x868): undefined reference to `aa_fastren
der'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x8ad): undefined reference to `aa_render'

libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x94b): undefined reference to `aa_printf'

libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x96c): undefined reference to `aa_flush'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x9e4): undefined reference to `aa_flush'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0xb0e): undefined reference to `aa_printf'

libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0xc2e): undefined reference to `aa_puts'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0xc6c): undefined reference to `aa_puts'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0xca0): undefined reference to `aa_geteven
t'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0xd78): undefined reference to `aa_geteven
t'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0xf69): undefined reference to `aa_close'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x1003): undefined reference to `aa_close'

libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x17bc): undefined reference to `aa_defren
derparams'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x17d7): undefined reference to `aa_defpar
ams'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x17dc): undefined reference to `aa_parseo
ptions'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x1805): undefined reference to `aa_defren
derparams'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x1819): undefined reference to `aa_defpar
ams'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x181e): undefined reference to `aa_parseo
ptions'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x188a): undefined reference to `aa_displa
yrecommended'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x188f): undefined reference to `aa_getfir
st'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x18a2): undefined reference to `aa_displa
yrecommended'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x18a7): undefined reference to `aa_recomm
endhi'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x18ae): undefined reference to `aa_defpar
ams'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x18b3): undefined reference to `aa_autoin
it'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x18ce): undefined reference to `aa_autoin
itkbd'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x18f1): undefined reference to `aa_resize
handler'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x18ff): undefined reference to `aa_hidecu
rsor'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x1904): undefined reference to `aa_getren
derparams'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x1a9f): undefined reference to `aa_help'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x1bb8): undefined reference to `aa_close'

libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x1bf0): undefined reference to `aa_displa
yrecommended'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x1bf5): undefined reference to `aa_recomm
endlow'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x1bfc): undefined reference to `aa_displa
yrecommended'
libvo/libvo.a(vo_aa.o):vo_aa.c:(.text+0x1c0a): undefined reference to `aa_recomm
endhi'
collect2: ld returned 1 exit status
make: *** [mplayer.exe] Error 1
 
Old 10-12-2009, 02:36 PM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
hello world! linker errors
 
  


Reply



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
Errors when building an RPM custangro Linux - Enterprise 7 07-10-2009 10:42 AM
errors while building glibc-2.7 oussama Linux - Software 13 07-31-2008 05:39 PM
vmware not building, compilation errors PB0711 Linux - Software 1 06-16-2008 12:20 AM
Building MPlayer on an AMD64 noware Linux - Software 1 10-02-2006 11:02 PM
Errors While building OpenOffice2.x narutovu Fedora 1 04-05-2006 06:18 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration