<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>SV: [lsb-discuss] How to make an application LSB compatible that refers        to GLU ?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Please see my last post about this.<BR>
<BR>
Regards,<BR>
<BR>
Jim<BR>
<BR>
<BR>
-----Ursprungligt meddelande-----<BR>
Från: Robert Schweikert [<A HREF="mailto:robert.schweikert@mathworks.com">mailto:robert.schweikert@mathworks.com</A>]<BR>
Skickat: ti 2007-10-30 18:39<BR>
Till: Jim Molander<BR>
Kopia: lsb-discuss@lists.linux-foundation.org<BR>
Ämne: Re: [lsb-discuss] How to make an application LSB compatible that refers&nbsp;&nbsp; to GLU ?<BR>
<BR>
Jim,<BR>
<BR>
To have an LSB compliant application at this point you will need to<BR>
supply libGLU. You do not necessarily have to link statically, you just<BR>
must ship libGLU with your application. I am not sure whether or not<BR>
libGLU itself is LSB compliant, thus any interface libGLU uses which is<BR>
not part of the LSB will also have to be provided by your application in<BR>
some way shape or form.<BR>
<BR>
We need to get libGLU into the LSB somehow.<BR>
<BR>
Hope this helps,<BR>
Robert<BR>
<BR>
Jim Molander wrote:<BR>
&gt;<BR>
&gt; Hi everyone,<BR>
&gt;<BR>
&gt; Im pretty new to this list so please excuse my manners ;)<BR>
&gt;<BR>
&gt; The problem is the following:<BR>
&gt;<BR>
&gt; I have developed a program that references to GL and GLU (OpenGL<BR>
&gt; Utility), the reference to GL is fine because OpenGL is included in<BR>
&gt; LSB (lsbappchk 3.1.1-4 for LSB Specification 3.1.1). The problem arise<BR>
&gt; with the GLU library. What I was thinking about then is to do accoring<BR>
&gt; to manual, either:<BR>
&gt;<BR>
&gt; 1: Link statically:<BR>
&gt; That I somehow manage to get my hands on a libGLU.a file somewhere.<BR>
&gt; But It doesnt seem that it is only to download the OpenGL source from<BR>
&gt; Mesa.org&nbsp;&nbsp; and compile it. Is it even possible to link GLU statically?<BR>
&gt;<BR>
&gt; 2: Give the user the option to install OpenGL later on before<BR>
&gt; installing my application. This is apparantly one solution to the<BR>
&gt; problem, but how do I check that this is enough for LSB compliance. I<BR>
&gt; usually run:<BR>
&gt; &gt; lsbappchk -s myApplication' and it usually reports:<BR>
&gt;&nbsp;&nbsp; The following symbols were found, but are not supported in the LSB:<BR>
&gt;&nbsp;&nbsp; gluUnProject<BR>
&gt;&nbsp;&nbsp; gluQuadricTexture<BR>
&gt;&nbsp;&nbsp; gluTessNormal<BR>
&gt;&nbsp;&nbsp; ...<BR>
&gt; And lots of other GLU reference errors. But lets say that I prompt the<BR>
&gt; user to install OpenGL just before installing myApplication, then I<BR>
&gt; would like to make a LSB test looking like:<BR>
&gt; &gt; lsbappchk -sL /usr/lib/libGLU.so myApplication' and it reports:<BR>
&gt;&nbsp;&nbsp; read_FDE_encoded() unexpected encoding 10<BR>
&gt;&nbsp;&nbsp; read_FDE_encoded() unexpected encoding 10<BR>
&gt;&nbsp;&nbsp; read_FDE_encoded() unexpected encoding 10<BR>
&gt;&nbsp;&nbsp; Dynamic Tag 0x1e unknown<BR>
&gt;&nbsp;&nbsp; Section .note.SuSE: Not recognized by name. Checking as type SHT_NOTE<BR>
&gt;&nbsp;&nbsp; No unspecified symbols were found.<BR>
&gt;<BR>
&gt; Does this really mean that myApplication is LSB compatible IFF the<BR>
&gt; user has OpenGL preinstalled?<BR>
&gt;<BR>
&gt;<BR>
&gt; Best regards,<BR>
&gt;<BR>
&gt; Jim Molander, Sweden<BR>
&gt;<BR>
&gt; ------------------------------------------------------------------------<BR>
&gt;<BR>
&gt; _______________________________________________<BR>
&gt; lsb-discuss mailing list<BR>
&gt; lsb-discuss@lists.linux-foundation.org<BR>
&gt; <A HREF="https://lists.linux-foundation.org/mailman/listinfo/lsb-discuss">https://lists.linux-foundation.org/mailman/listinfo/lsb-discuss</A><BR>
&gt;&nbsp;&nbsp;<BR>
<BR>
--<BR>
Robert Schweikert&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAY THE SOURCE BE WITH YOU<BR>
(robert.schweikert@mathworks.com)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LINUX<BR>
The MathWorks Inc.<BR>
Phone : 508-647-2042<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>