chenyunecjtu / coreavc-for-linux

Automatically exported from code.google.com/p/coreavc-for-linux
GNU General Public License v2.0
0 stars 1 forks source link

patched mplayer will not compile #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Download latest svn of mplayer 
2.  Download latest svn of core-for-linux
3.  Follow all steps leading up to make

What is the expected output? What do you see instead?

Exepcted it to compile.  What I got instead was an error when make entered
the loader directory and errored out.

What version of the product are you using? On what operating system?

Latest SVN for both mplayer and this.  Ubuntu Feisty

Please provide any additional information below.

Here's from the commandline what happens leading up to the error:

make[1]: Entering directory `/home/adam/mplayer/loader'
cc -I../libavcodec -I../libavformat -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil
-Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=k8 -mtune=k8
-pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
-I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2
-DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12   -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer   -c -o driver.o driver.c
In file included from wine/winbase.h:5,
                 from win32.h:13,
                 from driver.c:19:
wine/winnt.h:624:2: error: #error You need to define a CONTEXT for your CPU
In file included from wine/winbase.h:5,
                 from win32.h:13,
                 from driver.c:19:
wine/winnt.h:627: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
wine/winnt.h:751:2: error: #error You need to define DEFINE_REGS_ENTRYPOINT
macros for your CPU
wine/winnt.h:762:3: error: #error You must define GET_IP for this CPU
wine/winnt.h:1016: error: expected specifier-qualifier-list before 'PCONTEXT'
wine/winnt.h:1029: error: expected declaration specifiers or '...' before
'PCONTEXT'
In file included from win32.h:13,
                 from driver.c:19:
wine/winbase.h:544: warning: 'packed' attribute ignored for field of type
'CHAR[8]'
In file included from win32.h:13,
                 from driver.c:19:
wine/winbase.h:1338: error: expected declaration specifiers or '...' before
'CONTEXT'
wine/winbase.h:1477: warning: type defaults to 'int' in declaration of
'CONTEXT'
wine/winbase.h:1477: error: expected ';', ',' or ')' before '*' token
In file included from win32.h:14,
                 from driver.c:19:
com.h:54: warning: '__stdcall__' attribute ignored
com.h:55: warning: '__stdcall__' attribute ignored
com.h:56: warning: '__stdcall__' attribute ignored
com.h:66: warning: '__stdcall__' attribute ignored
com.h:67: warning: '__stdcall__' attribute ignored
com.h:68: warning: '__stdcall__' attribute ignored
com.h:69: warning: '__stdcall__' attribute ignored
In file included from driver.c:21:
wine/pe_image.h:60: warning: 'packed' attribute ignored for field of type
'BYTE'
wine/pe_image.h:62: warning: 'packed' attribute ignored for field of type
'BYTE'
wine/pe_image.h:64: warning: 'packed' attribute ignored for field of type
'BYTE'
wine/pe_image.h:66: warning: 'packed' attribute ignored for field of type
'BYTE'
wine/pe_image.h:67: warning: 'packed' attribute ignored for field of type
'BYTE'
wine/pe_image.h:69: warning: 'packed' attribute ignored for field of type
'BYTE'
driver.c: In function 'SendDriverMessage':
driver.c:92: warning: cast to pointer from integer of different size
driver.c: In function 'DrvClose':
driver.c:127: warning: cast to pointer from integer of different size
driver.c: In function 'DrvOpen':
driver.c:175: warning: cast from pointer to integer of different size
driver.c:184: warning: cast from pointer to integer of different size
driver.c:189: warning: cast from pointer to integer of different size
driver.c:191: warning: cast from pointer to integer of different size
driver.c:196: warning: cast from pointer to integer of different size
driver.c:200: warning: cast from pointer to integer of different size
make[1]: *** [driver.o] Error 1
make[1]: Leaving directory `/home/adam/mplayer/loader'
make: *** [loader/libloader.a] Error 2

Original issue reported on code.google.com by tomgreen...@gmail.com on 11 Aug 2007 at 12:47

GoogleCodeExporter commented 8 years ago
Oh, I just realized you still don't have support for the mplayer on x86_64.  
Okay you
can ignore this.

Original comment by tomgreen...@gmail.com on 11 Aug 2007 at 2:54

GoogleCodeExporter commented 8 years ago
No x86-64 support.  build a static binary in a 32-bit environemnt and it should 
work
on x86-64

Original comment by alannis...@gmail.com on 6 May 2008 at 3:47