[MPlayer-dev-eng] [PATCH] svgalib_helper in libdha

seru seru at gmx.net
Sat Dec 21 17:57:39 CET 2002


El sáb, 21 de dic de 2002, a las 05:23:38 +0100, seru dijo:
> El sáb, 21 de dic de 2002, a las 03:21:25 +0100, Alex Beregszaszi dijo:
> > Hi,
> > 
> > > This patch (against today's CVS): 
> > > - adds svgalib_helper.h to the source, so there is no need to look for
> > >   it.
> > i will add this part
> > this means that you added my .h patch into the svgalib tree?
> > 
> > > - fixes compilation on PPC.
> > it compiles and works for me on ppc ;)
> > 
> > > - adds infrastructure for OS pci code to override processor pci code. 
> > yes, thats a problem currently
> > 
> > > - using this, now can work if svga helper support compiled in, but 
> > >   kernel module not loaded.
> > btw, i've made a svgalib_helper-1.9.7-mplayer.tar.bz2, which
> > contains a minimal Makefile.cfg and svgaversion.h.
> >  
> > > I think it is reasonable to replace dhahelper with svgahelper, since
> > > svgahelper has all the functionality of dhahelper, and more (devfs
> > > support, per card device nodes, pci config access).
> > > Would you accept a patch that does this?
> > not yet, as dhahelper in mplayerxp provides bustmastering support
> > and dhahelper is fully GPL, svgahelper not
> > 
> > i would love if you could help merging the 2 codebases into one,
> > which is fully GPL.
> > 
> > Btw, I'm currently redesigning the whole libdha, becouse currently
> > it's (imho) a crap.
> Indeed :P
> 
> btw, I get this error when make'ing:
> make[2]: Entering directory `/usr/src/MPlayer-CVS/main/libdha'
> gcc -MM -Os -march=athlon-tbird -s -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I.. libdha.c mtrr.c pci.c pci_names.c 1>.depend
> gcc: pci_names.c: No such file or directory
> make[2]: *** [depend] Error 1
The problem seems to be the Makefile, pci_names.c isn't created yet when we try to do this command, it's triggered later, by:

pci_names.c:
        $(AWK) -f pci_db2c.awk oth/pci.db



> 
> > 
> > -- 
> > Alex Beregszaszi  <alex at naxine.org>
> > (MPlayer Core Developer -- http://www.mplayerhq.hu/)
> > _______________________________________________
> > MPlayer-dev-eng mailing list
> > MPlayer-dev-eng at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list