HDTenEightyP/NetNews huggingface dataset:
From: daniel@gemme.u-strasbg.fr (STOEFFLER Daniel)
Newsgroups: comp.sys.sgi
Subject: Pointing on a Pascal subroutine
Date: 25 Aug 92 19:30:03 GMT

I have to give a pointer pointing on a Pascal procedure to a C function
which calls XDR procedure: the XDR procedure needs a pointer pointing
on my Pascal procedure. How can I do this ?
In the last version of the Pascal doc it seems possible to use pointers
on functions and procedures but I was not able to make it working.
Example:

{ the C function declared as external }
procedure Service(var proc_ptr:pointer); external;

{ the program containing the procedure Calcule_dens which I want
  to call in the XDR procedure }

program ...

{ declaration of the procedure pointer }
var     proc_ptr:^procedure;

{ procedures }   

...
procedure Calcule_dens;
...
...

{ main }
        { allocation of the pointer }
        proc_ptr:=addr(calcule_dens);
        ...
	{ the call of the C function }
        Service(proc_ptr);
        ...
{ end of the program }

At the compilation I obtain:
        Service(proc_ptr); 
                        ^
      Parameter type does not agree with declaration 

What is the problem and how can I solve it ?
Thank in advance.
STOEFFLER Daniel				daniel@gemme.u-strasbg.fr
 o   ___    __            __            ___    ___                   ___
 |   |  \  /  \  |\  /|  /  \          /   \  |     |\  /|  |\  /|  |
 |   |__/  |     | \/ |  \__    ####   |  _   |__   | \/ |  | \/ |  |__
 |   |     |     |    |     \   ####   | | |  |     |    |  |    |  |
 |   |     \__/  |    |  \__/          \___/  |___  |    |  |    |  |___

INSTITUT de PHYSIQUE et de CHIMIE DE STRASBOURG	    4, rue Blaise Pascal
GROUPE d'ETUDES des MATERIAUX METALLIQUES	    67070 Strasbourg, France
    Structure Electronique et Magnetisme de Structures Artificielles
Newsgroups: comp.sys.sgi
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: Why won't my IRIS read this CD?
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Date: Sat, 29 Aug 92 03:07:10 GMT

In <32257@adm.brl.mil> andersen@marvin.ama.ttu.edu (Kim Andersen) writes:

| When I bought this cdrom player, I foolishly thought that I would be
| able to read cdroms (in the proper format, of course).  However, the
| first cd that I've tried to read (not from SGI, but in iso9660 format)
| is not working at all.  I'm just a little bit ticked off, especially 
| since I've mounted the same disk on a Solbourne and it reads it just fine.
| 
| This is a 4D/35, with cdrom, running 4.0.1.

There were some fixes to the ISO-9660 code in 4.0.5, to fix some outright
bugs, and also to tolerate some CD's that weren't truly up to
the ISO 9660 standard, but were close enough to reasonably be
able to handle them.  So you might try requesting 4.0.5 from the
TAC to fix this.  I don't know for sure if your particular problem
was fixed or not.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
From: colovas@ohstpy.mps.ohio-state.edu
Newsgroups: comp.sys.sgi
Subject: 3020 FOR SALE
Date: 1 Sep 92 10:56:21 EDT

ATTENTION,
We have an IRIS 3020 workstation that we wish to sell. we will entertain
proposals to either sell the whole thing or parts. Pertinent details below.

The machine is working except for one board, the GF2. it specs out like this:

10 MHz clock 
Floating point accelerator
19" NI 1024x768 monitor
optical mouse
1 85 Mb Vertex HD
1 70 Mb Hitachi HD
cartridge tape drive
I'm not sure what the memory configuration is

I've checked third party vendors, and a GF2 board can be had for around $500.
Interested parties may reply by email to address below or to David Andereck
(Andereck@Ohstpy.mps.ohio-state.edu)


 
________________________________________________
___________________________________________
___________________________________

Peter W. Colovas
Department of Physics
Ohio State University
colovas@ohstpy.mps.ohio-state.edu

Newsgroups: comp.sys.sgi
From: siegel@mcclb0.med.nyu.edu
Subject: dir/reg
Summary: Colormap syncing from SGI to MAC...HOW?
Reply-To: chris@mchip01.med.nyu.edu
Organization: NYU Medical Center, New York, NY 10016, USA
Date: Tue, 25 Aug 1992 17:47:57 GMT

Does anyone have experience syncing colors between an SGI and a MAC
under X (or 2 other systems with disparate colormaps)? I have tried:
	XAllocColorCells(MACdpy,MACcmap,True,plane_masks,8,pixels,256)
; /* where MACcmap = DefaultColormap(MACdpy,MACscreen); */
	XQueryColors(SGIdpy,SGIcmap,sgicolors,vinfo->colormap_size);
	XStoreColors(MACdpy,MACcmap,sgicolors,vinfo->colormap_size);

but I get:
	X Error of failed request: BadAccess (attempt to access
private resource denied)
	Major opcode of failed request:  89 (X_StoreColors)
	Serial number of failed request:  11
	Current serial number in output stream:  12

If anyone has any information to help me out, I would greatly
appreciate it. Also, any ideas on executing RGB-mode pixmap copies?

Thanks,
Chris Siegel
NYU School of Medicine
chris@mchip01.med.nyu.edu


Newsgroups: comp.sys.sgi
From: story@sgi.com (David (Duis) Story)
Subject: Re: Request: Recommend color printer?
Keywords: 4D, Ghostview, postscript, printer
Organization: Silicon Graphics, Inc.
Distribution: all
Date: Wed, 2 Sep 92 23:11:54 GMT

In article <1992Aug28.201412.22706@unlinfo.unl.edu> chem001@hoss.unl.edu (Jonathan Skean) writes:
>We are using a program called Ghostview on an Iris 4D.  Has anyone
>used this combination with a printer capable of producing nice
>transparencies?  For that matter, any experience with color printers
>and the 4D would be very welcome.  Thanks.  

I would strongly suggest you examine the Tektronix Phaser II SX
printer, resold by SGI through Hardware Express (a newly formed
sibling of Software Express.)  List price is US $4995, a very
competitive price.

The Phaser II engines produce very nice transparencies, and the SX
printer uses the Display PostScript support of 4.0.1 and later OS
releases on the PI or Indigo to render incredibly quickly on the host.
For complex PostScript and SGI Images (such as are commonly desired
for transparencies) the SX is an unbeatable speed champ.

The Phaser II is also available as a standard PostScript printer, as
the Phaser II PXi, list price US $7995. 

Cheers,

David "Raster is Faster" Story
story@sgi.com
From: outten@bellcore.com (Todd Outten)
Newsgroups: comp.sys.sgi
Subject: Re: Looking for SLIP or PPP for SGI
Date: 31 Aug 92 17:34:44 GMT
Reply-To: outten@bellcore.com
Organization: Computer Graphics and Interactive Media Research Group

In article <p6ce9i4@rhyolite.wpd.sgi.com> vjs (Vernon Schryver) writes:

   Newsgroups: comp.sys.sgi
Path: walter!uunet!haven.umd.edu!darwin.sura.net!wupost!sdd.hp.com!elroy.jpl.nasa.gov!ames!sgi!rhyolite!vjs
   From: vjs (Vernon Schryver)
   Sender: vjs
   Organization: Silicon Graphics, Inc.  Mountain View, CA
   References: your article <23077@hacgate.SCG.HAC.COM>
   Date: Sat, 29 Aug 1992 15:51:47 GMT
   Lines: 15

   > We are looking for an off-the-shelf or freeware SLIP or PPP communications
   > software for an SGI workstation. Please reply via email.
   > 
   > Thanks in Advance,
   > Ed Leonard
   > email: eleonard@samson.hac.com


   SLIP is bundled into IRIX 4.0.5.   Read `man slip`.

   You'll probalby need to install UUCP as well as SLIP.



   Vernon Schryver,   vjs@sgi.com



yeah.....but what about ppp???
Newsgroups: comp.sys.sgi
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: What Silicon Revision of R4000 Is Shipping?
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Distribution: comp
Date: Wed, 2 Sep 92 02:36:54 GMT

In <HOLLAN.92Sep1155239@tavarua.bellcore.com> hollan@bellcore.com (Jim Hollan) writes:


| What silicon revision is shipping with R4000 indigo's?  As I understand
| it there is a bug present in silicon revisions 2.1 and 2.2 that could
| be a problem for us and we have a number of R4000 upgrades on order.

2.2.  2.1 only shipped on early crimsons (all 2.1's should have been upgraded
to 2.2 long since).  2.2 does have problems, but all can be worked around
in the kernel (2.1 required munging up some existing programs to make
them work).  4.0.5 has fixes for all the known bugs but one, and 4.0.5C has
a fix for that.  r4k indigos have 4.0.5D, and have all known r4k bugs worked
around in software.

This applies only to programs built with 'ld'.  Interpreters that build
their own code and jump to it have to take precautions to not generate
code that will trigger this problem.

There is/was to be a rev 3.0 that fixed one of the bugs that a major software
company didn't want to deal with, but that isn't a big deal.

The R4000A is the next 'interesting' chip rev for most folks.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: Keymap problem with 4.0.5
Date: 1 Sep 92 17:44:00 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1992Aug26.193320.29417@photon.uucp> jhp@photon.uucp (Jim Patterson) writes:

| I upgraded one of my Indigos from 4.0.1 to 4.0.5 and I am having a very
| strange problem with the keymaps.  A number of the non alphabet keys
| have been changed from their keyboard symbols.  For example :
| 
| 		/ has become -
| 		? has become _
| 		- has become +
| 		etc
| 
| This makes the machine pretty much unusable.  I called the problem
| into the TAC yesterday, but I haven't heard anything yet.  I also
| checked the contents of /usr/lib/X11 against an Indigo successfully
| running 4.0.5 and I didn't see any significant differences.
| 
| Has anyone else had this problem?  If so what did you do to fix it.
| 

Sounds like you either have a beta of one of our international
keyboards, or somehow configured the system to believe that you
do have an international keyboard.  Try using the 'Keyboard' program
from the tools menu on the toolchest to set it back to US, and see
if that fixes it.  Try running '/etc/nvram > /usr/tmp/nv' first, and if
running the keyboard tool fixes it, I'd be interested in having you
mail me the contents of /usr/tmp/nv.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
Newsgroups: comp.sys.sgi
From: amoss@huji.ac.il (Amos Shapira)
Subject: Re: Possible DGL/Xauthority conflicts
Organization: Mail to News Gateway at Wang Labs
Date: 26 Aug 92 08:30:50 GMT

andy@jhunix.hcf.jhu.edu (Andy Poling) writes:

[ deleted ]
>Yes - it's really that bad.  I don't know why, but just doing xhost
>+dgl_client_machine does not work.

I don't know if it's true for your version of Irix, but I remember the 3.x
versions required an X-client to run continuesly while you do the "xhost +"
to make it effective (something to do with the X server aborting every time
all the X clients finish, if my memory serves me right), so try to do something
like:

xlogo &
xhost +
rsh bighost x....

Hope this helps,

--

--Amos Shapira (Jumper Extraordiner)
C.S. System Group, Hebrew University, Jerusalem, Israel
amoss@cs.huji.ac.il
Newsgroups: comp.sys.sgi
From: vjs (Vernon Schryver)
Subject: Re: Looking for SLIP or PPP for SGI
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Sat, 29 Aug 1992 15:51:47 GMT

> We are looking for an off-the-shelf or freeware SLIP or PPP communications
> software for an SGI workstation. Please reply via email.
> 
> Thanks in Advance,
> Ed Leonard
> email: eleonard@samson.hac.com


SLIP is bundled into IRIX 4.0.5.   Read `man slip`.

You'll probalby need to install UUCP as well as SLIP.



Vernon Schryver,   vjs@sgi.com
Newsgroups: comp.sys.sgi
From: scotth@hoshi.corp.sgi.com (Scott Henry)
Subject: Re: sysadmin
Organization: Silicon Graphics Inc, Mountain View, CA
Date: Tue, 1 Sep 1992 14:58:58 GMT


>>>>> In article <9209010926.AA05950@flash.swl.spec.ptg.sony.co.jp>, cheekin@flash.swl.spec.ptg.sony.co.jp (Tang Chee Kin) writes:
cheekin> NNTP-Posting-Host: cs.utexas.edu


cheekin>   hi.. I got files under dir /debug which keeps increasing
cheekin> and I could not clear it off. Anyone knows what are those
cheekin> files for ? Those files have filenames of just 5 digit
cheekin> numbers and they are big(>100k).  I need some tips to handle
cheekin> this clearing of the /debug dir ?  Thanks in advance.

The directory /debug is not a real file system. It is a mapping of
physical_memory+swap_space into file system semantics. The "files" are
processes, and the 5-digit filenames are the process IDs. /debug is
used primarily by debuggers. See `man debug` or `man dbg`. This oughta
be in the FAQ if it isn't.

=-=-=-=-=

--
 Scott Henry <scotth@sgi.com> / Traveller on Dragon Wings
 Networking Services,        / Help! My disclaimer is missing!
 Silicon Graphics, Inc      / GIGO *really* means: Garbage in, Gospel Out
From: fred@poly2.nist.gov (Frederick R. Phelan Jr.)
Newsgroups: comp.sys.sgi
Subject: Re:  Screen background
Date: 3 Sep 92 14:10:11 GMT



---------  Received message begins Here  ---------

|
|Is there a simple way to have whatever picture I like as a screen background
|on my IRIS 4D? Should I perhaps add something to my user.ps or startup.ps?
|Thanx,
|
|Ricky (valente@sgi-4d.sissa.it)
|
|International School for Advanced Studies
|Trieste, ITALY

See the man pages on xsetroot, and bgpaste ... enclosed is
a script someone gave me that is kind of neat ... it will
give you some ideas.


Fred Phelan
---
Fred Phelan
fred@poly2.nist.gov
/*___________________________________________________
   ____ __  ___  __    ___       ___        ___ 
  /__  /_/ /__  / /   /__/ /__/ /__   /    /__/ /\  /  
 /    / ( /__  /_/   /    /  / /___  /___ /  / /  \/
___________________________________________________*/

---------  weather  ---------
#!/bin/csh -f
# weather
# Sets the background to the latest USA weather map.
#
# Original:
# Ron Boisvert, NIST, 25 Jun 92
#
# Modified for SGI:
# F.R. Phelan Jr.
# NIST Polymers Division
# September 1, 1992
#
#
#Background info:
#nslookup vmd.cso.uiuc.edu
#Non-authoritative answer:
#Name:    VMD.CSO.UIUC.EDU
#Addresses:  128.174.5.98, 192.17.13.1
#

#Default settings ...
set NameOfThisScript = weather
set infile = /usr/tmp/weather.$$.ftp
set gif_file = /usr/tmp/weather.$$.GIF
set rgb_file1 = /usr/tmp/weather.$$.rgb.1
set rgb_file2 = /usr/tmp/weather.$$.rgb.2


# Usage.
if ($#argv == 0) then
  echo 
  echo $NameOfThisScript":"
  echo "A script to paint the root background to the current weather map."
  echo 
  echo "Usage: $NameOfThisScript [any character]"
  echo
  exit 1
endif

onintr cleanup

cat > $infile << END
user anonymous
cd wx
binary
get CVIS.GIF $gif_file
bye
END

ftp -n 128.174.5.98 < $infile
fromgif $gif_file $rgb_file1
izoom $rgb_file1 $rgb_file2 1.06 1.7

echo .......... Painting Root Window
bgpaste -t 0 0 0 $rgb_file2

# give the machine some time to paste ...
sleep 20

cleanup:

	rm -f $infile $gif_file $rgb_file1 $rgb_file2
From: sd@chem.ucsd.edu (Steve Dempsey)
Newsgroups: comp.sys.sgi
Subject: gfxinit failing?
Date: 1 Sep 1992 19:20:42 GMT
Organization: University of California, San Diego
NNTP-Posting-Host: chedccf0.ucsd.edu

One of the Indigo Elans (4.0.2) here has developed a peculiar problem.
After a few months of flawless performance users have reported that twice
in the last week they have sat down in front of the machine only to discover
that the screen is blank and they can't get the usual login display.

The machine is up and remote logins still work.  A quick perusal of
/usr/adm/SYSLOG reveals:

Aug 31 17:16:22 chetayl0 Xsession: scox: logout
Aug 31 17:16:23 chetayl0 gfxinit: GFX_DOWNLOAD failed
Aug 31 17:16:23 chetayl0 xdm[157]: server unexpectedly died
Aug 31 17:16:38 chetayl0 xdm[157]: Server for display :0 can't be started, session disabled

OK, so now it's clear why the screen is blank.  In both cases I have been
able to use /usr/gfx/startgfx to successfully restart the graphics.
There is no manual entry for 'gfxinit', so I'm at a loss as to what
"GFX_DOWNLOAD FAILED" actually means, i.e. why is the download failing?

Note that I do have 'DisplayManager._0.terminateServer' set to True in
/usr/lib/X11/xdm/xdm-config, so the server should be restarted after each
session.

Anybody got a clue?
---------------------------------------------------------------------------
Steve Dempsey					voice:	  (619) 534-0208
Dept. of Chemistry Computer Facility, 0314	UUCP:	  ucsd!sdempsey
University of Calif. at San Diego		BITNET:	  sdempsey@ucsd
9500 Gilman Drive				INTERNET: sdempsey@ucsd.edu
La Jolla, CA 92093-0314				fax:	  (619) 534-6255
From: karsh@sgi.com (Bruce Karsh)
Newsgroups: comp.sys.sgi
Subject: Re: Need Help in Selecting a COLOR PRINTER for SGI machines
Date: 2 Sep 92 20:55:37 GMT
Organization: Silicon Graphics, Inc.

In article <13489@pogo.wv.tek.com> davidh8@pogo.wv.tek.com writes:
>I don't know who you've spoken to at SGI but they have given you the wrong
>info.  SGI resells all of our color printers.

Yes, SGI, just mailed me a very glossy brochure about this.  The cover letter
says "Purchase a Tektronix color printer and receive a 4MB upgrade kit FREE-
retail value $595!"  Prices range from $9995 to $4495.

The letter was from Shelia Trombadore, Sales Rep, SGI Express, Silicon
Graphics Inc.  (800) 800-7441.
--

			Bruce Karsh
			karsh@sgi.com
Newsgroups: comp.sys.sgi
From: stefans@bauv106.bauv.unibw-muenchen.de (Stefan Schwarz)
Subject: Re: How do I dump a window to a color postscript printer?
Organization: Universitaet der Bundeswehr Muenchen (Germany)
Date: Wed, 2 Sep 1992 06:18:30 GMT

spm2d@uvacs.cs.Virginia.EDU (Steven Miale) writes:

>We currently have an SGI running IRIX 4.0.1, and wish to convert
>a given window to color postscript so that it can be printed.

If you you mean X window, you can try xgrabsc. Works fine for me.

Stefan
-- 
________________________________________________________________________________
Stefan Schwarz                            University of the armed forces, Munich
Laboratory for graphical data processing  W-8014 Neubiberg, FRG
--------------------------------------------------------------------------------
From: joachim@cat.informatik.uni-erlangen.de (Joachim Guenther)
Newsgroups: comp.sys.sgi
Subject: Kodak XL7700 SCSI driver - doc or source available?
Date: 29 Aug 92 21:06:22 GMT

I have a Kodak XL7700 color printer connected to my Iris 
via SCSI cable. I use /usr/lib/print/k77print to get my 
pictures to the printer. This works technically fine, but 
I am not quite satisfied with the correspondence of screen
and printer colors.
The Kodak printer has lots of configuration parameters and 
tables for fine-tuning its color appearance. The question is:

  How could I get these data to the printer??

When I call k77print by hand, it tells something about giving 
it a 'colormap' or a '-f configfile'; but it isn't very 
specific about the format of either colormap or configfile.

Is there any documentation around, which I possibly missed?
Is there any (perhaps undocumented) possibility to send a
string command to the printer using k77print?
Is - by any chance - the source code of k77print available?
  (I saw iisc.c, an Apple LaserWriter II SCSI driver, on 
   /usr/people/4Dgifts/examples/devices...)
Or, does anyone know who at SGI (or somewhere else?) wrote
this piece of software?

BTW my PI 4D30TG runs 4.0.1 (if this matters...)

Please email or post, any hints are welcome! Thanks.


-----------------------------------------------------------------------
Joachim Guenther         
CAT Software GmbH        EMail: joachim@cat.informatik.uni-erlangen.de
Am Weichselgarten 23     Phone: ++49-9131-777750
D-8520 Erlangen 26       Fax:   ++49-9131-777711
Newsgroups: comp.sys.sgi
From: rainer@spot.Colorado.EDU (Rainer Malzbender)
Subject: CD-ROM Audio Volume
Organization: University of Colorado, Boulder
Date: Mon, 31 Aug 1992 20:07:09 GMT


Is there any way to increase the output level on the headphone jack of
the CD-ROM ?

-- 
Rainer Malzbender
Post-doc, Physics
U. of Colorado, Boulder (303)492-1366           rainer@boulder.colorado.edu
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: Image Tools
Date: 31 Aug 92 22:08:15 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <32279@adm.brl.mil> rose@baby.swmed.utexas.edu (Rose Oguz) writes:

| Hello!
| 
| LEt me get right to the point.  Is there a way that I can include the image
| tools (and whatever is in /usr/sbin) in my software.  There are a few 
| functions that I need and I'd like to build software around them.

Many (not all of them) have source in the /usr/people/4Dgifts directory
(install eoe2.sw.giftsfull).
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: How to build a System-Disk ??
Date: 2 Sep 92 02:24:08 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <32306@adm.brl.mil> blbates@aero36.larc.nasa.gov (Brent L. Bates ViGYAN AAD/TAB) writes:
|   I think the documentation has gotten worse in most respects as far as
| `Upgrading' from 3.3.X to 4.0.1.  There needs to be a COMPLETE index in

What do you mean by 'complete'?  Every single word that occurs anywhere
in the entire manual?  I doubt it.  Some judgment has to be used.

There was no installation guide in 3.3, so it definitely didn't get
worse (there was just a chapter in the release notes)!

|      One positive item, using fx to repartition a disk is GREAT.  I found
| the easiest way to partition a disk was to use all the defaults for a
| first pass, then go back and make adjustments as necessary.  Being able
| to specify partition sizes in Mb is soo much easier than fiddling with
| sectors/tracks etc.

I'm glad to hear that.  The customer support folks requested this, saying
that it was one of the most common requests/problems for fx users.

|      (After formatting and partitioning disks a half dozen times, it starts
| to be come even easier, ;-))

Don't let it get too easy, or bye bye disk (I've trashed more than
one disk by typing the wrong command or disk number, because I know
so well what I *think* I am doing)!  Fortunately, they are *usually*
lab disks.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
Newsgroups: comp.sys.sgi
From: sinkwitz@ifi.unizh.ch (Rainer Sinkwitz)
Subject: Shared Lib building question
Organization: University of Zurich, Department of Computer Science
Date: Fri, 28 Aug 92 17:12:13 GMT


I'm trying to convert a library to a shared library following 
the rules in the book. But the book doesn't tell anything about
/usr/include/shlib.h .

I'm still unsure about how to import system calls and libc symbols.
It should be sufficient to begin every file with
#define SHLIB
#include <shlib.h>

The _libc_ symbols are then defined in the /usr/lib/libc.a library:
% nm /usr/lib/libc.a | grep _libc_
_libc__ctype        |00000000|Global  |                  |      |  2|SData   
_libc_sys_errlist   |00000000|Global  |                  |      |  2|SData   
_libc_sys_nerr      |00000004|Global  |                  |      |  3|SData   
_libc_perror        |00000008|Global  |                  |      |  4|SData   
_libc_getgrent      |00000000|Global  |                  |      |  2|SData   
_libc_fgetgrent     |00000004|Global  |                  |      |  3|SData   
... etc

I understand that a target shared library is an a.out file. But where
do I tell mkshlib to include the libc.a library.
If I add /usr/lib/libc.a to the #objects list I get an error.

Please help.

-- 
oooooo    oooo  Rainer Sinkwitz, Multimedia Lab         sinkwitz@ifi.unizh.ch
 $   $   $   "  University of Zurich, Switzerland        VOICE +41-1-257-4346
 $"$$    """"$  Inst.f.Informatik, Winterthurerstr. 190   FAX +41-1-363-00-35
o$o "$o  $ooo"  CH-8057-Z\"urich