[MPlayer-dev-eng] [PATCH] Two minor compilation fixes
Sidik Isani
lksi at cfht.hawaii.edu
Sun Sep 22 16:51:45 CEST 2002
On Sun, Sep 22, 2002 at 01:33:42PM +0200, Arpi wrote:
> Hi,
>
> > FIRST PATCH: This one just notes how I had to comment out a typedef
> > in Gui/mplayer/gtk/opts.c that was conflicting with the real typedef.
> > Probably this is currently being worked on though...
>
> seems ok, i'll probably remove the others too, dunno why did Pontscho add
> those
Hmm, then it didn't compile.
> > SECOND PATCH: This patch would ONLY affect those who configure
> > with "--enable-static*", which doesn't work for me as-is. My
> > ld seems to need one of two things when building with -static:
> > (1) all the -l's in exactly the right order, OR (2) the group of
> > -l's archives surrounded by --start-group ... --end-group. This
> > is from the man page for ld. I'll never get everyone's libraries
> > in the right order, so I opted for (2). Even if later linkers
> > are smarter than mine, I suspect these group options will not hurt
> > anything to add this patch?
>
> yes, not everyone uses gnu ld.
> dunno if these options are supported by IRIX ld and others.
Ok, then this would add a requirement to have GNU ld *if* you want
to make the statically linked binary. I can see you might not want
that. But right now, building a fully functional static binary is
not working at all. Again, my linker may be braindead, or something
else could be missing on my system. Do others get a static mplayer
to build properly, with DPMS, DGA, etc. all inside? If so, do you
mind sending me your "ld -v" and your gcc "specs" file so I could
fix my system? Thanks for any help you can offer!
Be seeing you,
- Sidik
More information about the MPlayer-dev-eng
mailing list