| Summary: | mplayer-1.0_pre5-r5 compilation failed - error in vo_dga.c | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Filip Jirsák <Filip.Jirsak> |
| Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | stian |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | preparsed vo_dga.c | ||
|
Description
Filip Jirsák
2005-02-05 06:26:32 UTC
Could you provide the pre-parsed output from gcc? enter the build directory and omit the last gcc command by hand (end apply -E) and post the .o file you get up here? Created attachment 50457 [details]
preparsed vo_dga.c
Attached file is vo_dga.o builded with following command:
cc -E -c -I../libvo -I../../libvo -O2 -march=athlon-xp -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -DMPG12PLAY -o
vo_dga.o vo_dga.c
Window and GC is not defined yet at that point, but later. MPlayer mainstream bug in that case. Who wants to find the missing #include <X11/Xlib.h> Same bug in pre6. Reported in MPlayer's Bugzilla as http://bugzilla.mplayerhq.hu/show_bug.cgi?id=227 Problem happens only with USE="-X", so configure runs with --disable-x11. With X11 enabled compiles fine. Workaround is probably disable dga when disabling X11. not really upstream so... Ok, I added a new dga USE flag that has a dependancy on virtual/x11, making sure X is installed when using dga. That should fix things properly :P. |