⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node60.html

📁 htmdoc for html coding
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<OL><LI> the patch described below,  and<LI> a correct version of library <b> libc</b>  (see page <A HREF="node60.html#libc"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/cross_ref_motif.gif"	ALT="gif"></A>).<P>(If this has not been done, contact Sun.)</OL>with the SunOS Release 4.1 system and the Fortran 1.3.1. compiler.<P><OL><LI><P><PRE>Patch-ID#  100098-02Keywords: Fortran records 16kbSynopsis: fixes bug in libf77 that aborts on writes &gt;= 16kb records.Date: SunOS release: 4.1Unbundled Product: Fortran Unbundled Release: 1.3.1 Topic:  BugId's fixed with this patch: 1042114Architectures for which this patch is available: sun3 sun4 sun386iObsoleted by: Fortran 1.4Problem Description: 	Fortran programs get segmentation violation errors (with core	dumps) when writing records of 16kb or greater.  This problem effects 	all styles of I/O except list-directed.	The 1.3.1 RTF mentions I/O records longer than 8k fail unless compiled 	with -Bstatic. Even with -Bstatic, records larger than 16k fail.	This patch basically consists of complete replacements of libF77.Installation Instructions:	There are four library parts that need to replace the existing 	copies on the system that has the problem.	If the default location was used to install Fortran, then the 	files that need replacing will be;		/usr/lang/SC0.0/libF77.a		/usr/lang/SC0.0/libF77.sa.1.1		/usr/lang/SC0.0/libF77.so.1.1		/usr/lang/SC0.0/libF77_p.a	and for Sun4:		/usr/lang/SC0.0/misalign/libF77.a		/usr/lang/SC0.0/misalign/libF77.sa.1.1		/usr/lang/SC0.0/misalign/libF77.so.1.1		/usr/lang/SC0.0/misalign/libF77_p.a	If an alternate directory structure was used the file names will 	be the same, but the customer will have to no where they installed 	Fortran.	To install the patched library parts, simply rename the four files 	shown above and copy the four-file patch into the directory where 	the Fortran libraries are located.</PRE><P><LI> <A NAME=libc>&#160;</A><P><PRE>soleil% cd /usr/libsoleil% ls -lg libc.*-rw-r--r--  1 root     daemon     658148 Feb  8  1990 libc.a-rw-r--r--  1 root     daemon       7996 Jul 25 14:34 libc.sa.1.6-rw-r--r--  1 root     daemon     516096 Jul 25 14:18 libc.so.1.6</PRE><P></OL><P><P><P><H3><A NAME=SECTION06425300000000000000> Utilization of the graphics peripheral: sun_core</A></H3><P><P><P>SunCORE is no longer maintained by Sun, however you can still use the suncore driver if so desired. In this case,it is necessary to;<P><OL><LI> Install SunCORE as follows:<P><PRE>   % su root   % cd /usr/old</PRE><P>Edit file <b> install_from_old</b> and perform the following modification:<P><PRE>   # After :     SYNC=&quot;sync&quot;   # Add   :     MKDIR=&quot;mkdir&quot;   % install_from_old SunCORE</PRE><P><LI> Check the access rights of directory <b> /usr/include/f77</b>  and file <b> usercore77.h</b> (if not the compiler cannot read this file).<P><LI> Put a C in the first columns of the Copyright delimited by <code>/* ... */</code>   (if not the FORTRAN compiler will encounter errors).<P></OL><P>However, there is still  a problem  with SunCORE and<b> vwsurf.screenname</b> must be empty.<P>Before, when assigning<blockquote> <b> vwsurf.screenname = &quot;/dev/fb&quot;</b> </blockquote>we created a graphics window (see SunCore Reference Manual,   Appendix B, View Surface Specification for Window Devices).   Apparently, <b> this is no longer possible</b>,  even when changing the values of the vwsurf.flags. The only   palliative is to call the graphics system, <b> gfxtool</b>.<P><H3><A NAME=SECTION06425400000000000000> toutxx and  vicoxx link:</A></H3><P>Error message:<P><PRE>make toutxxmake -f /usr/local/math/modulef_v93/ascii/sta/s/ppal/Makefile \/usr/local/math/modulef_v93/sun4/sta/bin/toutxx \F77=&quot;f77&quot; F77FLAGS=&quot;-c -ansi -cg87 -i4 -O \-I/usr/local/math/modulef_v93/ascii/sta/s/include&quot; \LINK=&quot;f77 -Bstatic&quot; STDLIB=&quot;-lX11&quot; \CPPFLAGS=&quot;-L/usr/local/math/modulef_v93/sun4/sta/lib&quot; \F3D1=&quot;`cat /usr/local/math/modulef_v93/make/Installsun4/List_f3d1`&quot;\ F3D2=&quot;`cat /usr/local/math/modulef_v93/make/Installsun4/List_f3d2`&quot; \ZZZZ=&quot;zzzz_mod&quot; \BLAS=blas_mod \UTIL=u_sun \ml=/usr/local/math/modulef_v93/sun4/sta/libms=/usr/local/math/modulef_v93/\ascii/sta/s mi=/usr/local/math/modulef_v93/make/Installsun4 mb=/usr/local/math/modulef_v93/sun4/sta/bincd /usr/local/math/modulef_v93/make/Installsun4 ;  f77 -c -ansi -cg87-i4 \-O -I/usr/local/math/modulef_v93/ascii/sta/s/include  /usr/local/math/modulef_v93/ascii/sta/s/ppal/toutxx.f/usr/local/math/modulef_v93/ascii/sta/s/ppal/toutxx.f: MAIN toutxx:        force:        forcel:        forcth:        spclel:        spclrl:        spclth:f77 -Bstatic -o /usr/local/math/modulef_v93/sun4/sta/bin/toutxx/usr/local/math/modulef_v93/\make/Installsun4/toutxx.o -L/usr/local/math/modulef_v93/sun4/sta/lib -lcomp -lnop2 -ltrac -lcosd -lflui -lreso -lelas\ -lresd -lelcp -lresr -lther -lela2 -lela3 -lmagn -lnopo -lpoba -lresb -lvis3 -lutsd -lft3d-lp_lsun4 -lp_script -lp_x11 -l_genera\ -lft3d -lzzzz_modele -lutii -lblas_mod -lu_sun -lX11f77: Fatal error in ld: Bus errorCompilation failed*** Error code 1make: Fatal error: Command failed for target `/usr/local/math/modulef_v93/sun4/sta/bin/toutxx'Current working directory /usr/local/math/modulef_v93/make/Installsun4*** Error code 1make: Fatal error: Command failed for target `toutxx'</PRE><P>This bug was encountered on Sun,apparently, only a limited number ofobject libraries can be input during linking, if the syntax<code> -l&lt;library name&gt; </code> .<P>To avoid this problem, it is necessary to use command <tt> bb elm</tt> (see <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img284.gif"> <A HREF="node42.html#part4">5</A>) to link programs <tt> toutxx</tt> and <tt> vicoxx</tt>.<P><P><P><P><P><P><P><P><P><HR SIZE=3 WIDTH="75&#37;"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM	ALT="Modulef"><A NAME=tex2html899 HREF="node59.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif"	ALT="previous"></A><A NAME=tex2html903 HREF="node58.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif"	ALT="up"></A><A NAME=tex2html905 HREF="node61.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif"	ALT="next"></A><A NAME=tex2html907 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif"	ALT="contents"></A><A HREF="../Guide1-18/node60.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM	ALT="[BIG]"></A><A HREF="../Guide1-14/node60.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM	ALT="[Normal]"></A><A HREF="../Guide1-10/node60.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM	ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html906 HREF="node61.html">E Link library list</A><B>Up: </B> <A NAME=tex2html904 HREF="node58.html">D Installation: UNIX</A><B> Prev: </B> <A NAME=tex2html900 HREF="node59.html">D.1 Execution of Makefile on HP-UX  </A><B><A HREF="node2.html"	>Contents</A></B><BR> <HR><P><ADDRESS></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -