[MPlayer-users] Compiling on Solaris 7/SPARC
D Richard Felker III
dalias at aerifal.cx
Mon Nov 4 02:16:02 CET 2002
On Sun, Nov 03, 2002 at 06:18:19PM -0700, Jessica Blank wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi all:
>
> I am having a great amount of difficulty compiling on Solaris
> 7/SPARC.
>
> Firstly, 'older' Solaris releases lack inet_pton() and inet_aton()
> completely.
>
> I was able to find an inet_pton() routine in the BIND 9.x sources,
> so I used that.
>
> However, when it came time to link the binary (I am compiling
> statically-- don't ask why, I just want to do it that way, so I can bring
> the binary to any given Solaris box and have it Just Work without worrying
> about library versions!) I realized that Solaris 7 ALSO lacks
> "libresolv.a".
>
> There is a "libresolv.so" but no "libresolv.a". I've heard that
> some modern linkers can, through some High Voodoo Magic, link a .so
> library into a static binary-- but I don't want to try it...
BIND should include libresolv, if you really need it. If you can do
without network support though, you might be better off to just
disable mplayer's network stuff and compile cleanly that way.
Rich
More information about the MPlayer-users
mailing list