XMMS/Vorbis/GCC/Solaris

Matthew Stier <[email protected]> Thu, 29 Aug 2002 16:55:48 -0400
Newsgroups gmane.comp.multimedia.ogg.vorbis.faq
Organization Fujitsu Network Communications
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------82E4E83385A8B07E6D1E2734
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

After building and installing libao, libogg, libvorbis, a couple of
other libraries, and xmms, I got it running with a complaint that
vorbisfile.so had an unresolved reference to "__floatdidf".

All searches for __floatdidf indicated that this is a known problem with
using Solaris' native linker (/usr/ccs/bin/ld) with the GCC compiler.
(It does not reference the 'gcc' library.) Attempts to use the GNU
linker resulted in other problems.

The solution was to hack the Makefile in the lib directory to link in
the static 'gcc' library during the building of the vorbis libraries.

Here are the steps I used.

1) Extracted, configured, built and installed libao.
2) Extracted, configured, built and installed libogg.
3) Extracted and configured libvorbis.
4) Ran "gcc -print-libgcc-file-name"
5) Modified the LIBS= line of lib/Makefile to include
"-L<directory_of_libgcc>  -lgcc"
6) Built and installed libvorbis.

and the completed the rest as usual.

My environment is:

Sun Microsystems Solaris 2.6
Gnu gcc 3.2
Gnu make 3.79.1
linker (ld) and assembler (as) from /usr/ccs/bin


--
Matthew Lee Stier                 *  Fujitsu Network Communications
Unix Systems Administrator        |  Two Blue Hill Plaza
Ph: 845-731-2097 Fx: 845-731-2011 |  Sixth Floor
[email protected]     *  Pearl River, NY 10965



--------------82E4E83385A8B07E6D1E2734
Content-Type: text/x-vcard; charset=us-ascii;
 name="Matthew.Stier.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Matthew Stier
Content-Disposition: attachment;
 filename="Matthew.Stier.vcf"

begin:vcard 
n:Stier;Matthew
tel;pager:800-465-0607
tel;cell:845-893-0575
tel;fax:845-731-2011
tel;work:845-731-2097
x-mozilla-html:FALSE
org:Fujitsu Network Communications;<img src="http://www.fujitsu.com/img/fujitsu/415x64l.gif">
version:2.1
email;internet:[email protected]
title:Principal Engineer
adr;quoted-printable:;;Two Blue Hill Plaza=0D=0ASixth Floor;Pearl River;New York;10965;United States of America
x-mozilla-cpt:;-22256
fn:Matthew Stier
end:vcard

--------------82E4E83385A8B07E6D1E2734--

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to '[email protected]'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.