HDTenEightyP/NetNews huggingface dataset:
From: tsw@netcom.com (Tim Walker)
Subject: Mach386
Date: Tue, 07 Apr 92 06:18:47 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Keywords: Mach GCC SYMLINK


 
  Has anyone encountered the following error message during linking
  when building a program spread over several source files with GCC 2.0
  under MtXinu's Mach386?
      Undefined symbol ___main referenced from text segment
  It was generated after issuing the following command:
 
make apl
ld  /lib/crt0.o -o apl  a0.o a1.o a3.o a4.o a5.o a6.o a7.o a8.o a9.o  aa.o ab.o ac.o ad.o ae.o af.o ag.o ah.o ai.o aj.o  ak.o al.o an.o ao.o aq.o at.o aw.o ax.o ay.o az.o y.tab.o a2.o am.o gamma.o -lm -lc
a0.o: Undefined symbol ___main referenced from text segment
 
  Message is not generated with GCC 1.38 or 1.39, this was using GCC 2.0
  from vernam.cs.uwm.edu.
 
  Also does anyone know where to find symlink? It has a man page but doesn't
  appear to exist anywhere on the Mach386 distribution, it would be useful
  to be able to create symbolic or soft links.
 
 
  -- Tim Walker,   tsw@netcom.com
 

 
  

Newsgroups: comp.os.mach
From: florian@convex.csd.uwm.edu (Chris Florian)
Subject: Mac Problems
Originator: florian@convex.csd.uwm.edu
Organization: UW-Milwaukee: Computing Services Division
Date: Wed, 15 Apr 1992 13:48:44 GMT

	Okay, don't laugh...

	I have a mac, model: M0001W (That's a first generation Mac
	expanded to 512k.)  

	The problem I am having is that I keep getting System Error
	ID=2 and ID=3.  This may just be because the mac I have is
	just not capable of running the programs I ask of it.  But
	the programs I am trying are old enough that they should run.
	Even the ones that came with the mac often crash, for example
	Microsoft Multiplan.  Any Ideas?

	Secondly,  I have been having a real problem getting a
	communication package to work on this thing?  I had heard that
	there are some non-standard pin configurations on the original
	macs' modem connection.  If anyone knows of a program that
	would work on this mac, and where to find it, please let me
	know.

	My wife and I received it as a gift, and it IS better
	than a typewriter, and some games do work, so...

	Just remember what your mother told you, "If you haven't got
	something nice to say, SHUT UP!"


Newsgroups: comp.os.mach
From: ernest@pundit.cithep.caltech.edu (Ernest Prabhakar)
Subject: Re: Mach-O format history
Reply-To: ernest@pundit.cithep.caltech.edu (Ernest Prabhakar)
Organization: California Institute of Technology, Pasadena
Date: Wed, 8 Apr 1992 18:18:13 GMT

In article <1992Apr8.031414.1638@nugget.rmNUG.ORG> bediger@nugget.rmnug.org  
(Bruce Ediger) writes:
> 
> NeXT's mutation of Mach uses the elaborate Mach-O format for the on-disk
> layout of core, object and executable files.  It is supposed to be somewhere
> between Mach 2.0 and Mach 2.5.  Recently, I had an opportunity to poke around
> on an IBM RT running Mach 2.5.  It used the old BSD a.out format.

Just to complicate things further:  I believe OSF/1 (Mach 2.5-based) specified  
something called ROSE, which is a more elaborate version of MACH-O.  Could  
anybody elaborate on the differences?  What is the 'standard' for Mach 3.0?

- Ernie P.

--
Ernest N. Prabhakar                  Caltech High Energy Physics
Member, League for Programming Freedom (league@prep.ai.mit.edu)
CaJUN President        NeXTMail:ernest@pundit.cithep.caltech.edu
"...and ourselves, your servants for Jesus sake." - II Cor 5:13a
#import <std/disclaimer.h>
From: hwoo@wyse.wyse.com (Hsien Woo x2305)
Newsgroups: comp.os.mach
Subject: How to build a Unix Server
Date: 8 Apr 92 00:33:09 GMT
Distribution: usa
Organization: Wyse Technologies San Jose, Ca

I am looking for some pointers in how to create the 
Unix server for Mach 3.0. I really appreciate any 
help eg. books, documents or examples. I have access
to 4.3BSD source. 

Thanks in advance

Hsien
Newsgroups: comp.os.mach
From: creiman@void.ncsa.uiuc.edu (Charlie Reiman)
Subject: Re: macmach
Organization: University of Illinois at Urbana
Date: Tue, 7 Apr 1992 20:22:26 GMT

dswartz@sw.stratus.com (Dan Swartzendruber) writes:

>Does anyone know what is the story with macmach?  I sent a request for more
>information to macmach@andrew.cmu.edu (as specified in the posting here)
>several days ago, but have heard nothing.

I also sent a request for information and recieved no reply. I was
interested in clarifing the license requirement issues, since UIUC has
many licenses.

A good question to ask is: How many people _have_ recieved replies?
-- 
Charlie Reiman - creiman@ncsa.uiuc.edu
"Reading USENET is like drinking from a firehose, you'll get very wet but
 you probably will still be thirsty." - Steve Steinberg
Newsgroups: comp.os.mach
From: efk@ddsdx2.jhuapl.edu (Eileen Baust)
Subject: Port Rights
Organization: Johns Hopkins University
Date: Tue, 7 Apr 92 16:00:34 GMT

 I am trying to allocate a port using Mach 3.0 on using mach for a 386.
If the  following code is used :   
kret=mach_port_allocate(mach_task_self(),MACH_PORT_RIGHT_RECEIVE,&my_receive_port);
kret=mach_port_insert_right(mach_task_self(),my_receive_right,MACH_MSG_TYPE_PORT_SEND,MACH_MSG_TYPE_COPY_SEND);
I am trying to create a port with both send and receive rights.
Please reply to me at efk@ddsdx2.jhuapl.edu
Eileen

Newsgroups: comp.os.mach
From: vance@mtxinu.COM (Vance Vaughan)
Subject: Re: Mach386
Keywords: Mach GCC SYMLINK
Reply-To: vance@mtxinu.COM (Vance Vaughan)
Organization: mt Xinu, Berkeley
Date: Thu, 9 Apr 92 18:20:33 GMT

In article <ktpjwp#.tsw@netcom.com> tsw@netcom.com (Tim Walker) writes:
>
>  ...
> 
>  Also does anyone know where to find symlink? It has a man page but doesn't
>  appear to exist anywhere on the Mach386 distribution, it would be useful
>  to be able to create symbolic or soft links.
> 

Tim,

Symlink is included in libc.a if you're writing programs.
To make symlinks from the shell, you use the ln command with
the -s option.  Or do I misunderstand your question?
  Vance
-- 

################################################################################
  Vance Vaughan                mt Xinu, 2560 Ninth St., Berkeley, CA  94710  USA
  (510) 644-0146	       vance@mtxinu.com
Newsgroups: comp.os.mach
From: mrt+@CS.CMU.EDU (Mary Thompson)
Subject: Re: FAQ List--I need it...
Date: Tue, 14 Apr 92 17:50:34 GMT
Organization: Carnegie Mellon University
Distribution: na

There is a FAQ directory at CMU that can be read by anonymous FTP. 

Subject: FTP of Mach from CMU
Date: Nov 11, 1991
---------------------------------------------------

Both docmuments and sources for Mach are now available from the same
machine and subdirectory. To find out what is available use the following 
instructions:

Ftp to mach.cs.cmu.edu (128.2.209.192), as "anonymous", 
at the password prompt send your Username@site (you must
include the "@" or the login will fail). 
You are in the directory /usr/mach/public.  
You can use the standard ftp commands, e.g. get, ls with relative 
path names for the files.

The FAQ directory contains answers to frequently asked questions.
The doc dirctory (and its subdirectories) contain technical reports
   and some papers.
The src directory contains the part of the Mach 3.0 kernel sources
   that are available without licenses
The sup directory has sources and docmumentation for our
   Software Update Protocol program.
The conferences directory has annoucements of up-coming conferences
   or courses pertaining to Mach.


There is a file FAQ.list in the FAQ directory which is a copy (although maybe
not the most recent version) of a FAQ file that Jon Boone <jb3o+@andrew.cmu.edu>
maintains.

					Mary Thompson
					Project Mach Distribution Manager
Newsgroups: comp.os.mach
From: bediger@nugget.rmnug.org (Bruce Ediger)
Subject: Mach-O format history
Summary: when was switch from a.out to Mach-O?
Organization: Rocky Mountain NeXT Users' Group
Date: Wed, 8 Apr 1992 03:14:14 GMT


NeXT's mutation of Mach uses the elaborate Mach-O format for the on-disk
layout of core, object and executable files.  It is supposed to be somewhere
between Mach 2.0 and Mach 2.5.  Recently, I had an opportunity to poke around
on an IBM RT running Mach 2.5.  It used the old BSD a.out format.

When did the switch take place?  Doesn't the use of the a.out format hinder
the uses of neato features like threads?
-- 

Newsgroups: comp.os.mach
From: jimj@miller.cs.uwm.edu (James Jegers)
Subject: Re: X11R5 and GCC2.1 for Mach386?
Organization: University of Wisconsin at Milwaukee
Date: Tue, 14 Apr 1992 23:20:42 GMT

In article <1992Apr14.052028.359@msus1.msus.edu> l00017@eeyore.stcloud.msus.edu (Networking Research) writes:
>
>	I seem to recall people mentioning at variuos times that they had
>ported X11R5 and GCC2.0 or 2.1 to Mach386, and that there was an anonymous
>ftp site where the binaries (at least for X11R5) were available.  Anyhow,
>if anyone has ported either of these, please let me know here I can pick
>up source *or* binaries (I kinda doubt I have enough free disk space to compile
>X11R5, unless I junk R4 first)
>

  For those of you who don't know..  We have compiled X11R5 in it's
  glorious 1024x768 and 256 colors.  
  We have gcc1.38 and gcc2.0 with the pathes applied to gcc2.0 so that
  it works with MACH correctly.
  And we have patches to the math library..  Ever compile a program
  and have it dump cuz of a floating exception?  Get the new lib and
  no more troubles.

  Where you ask?   vernam.cs.uwm.edu

  Questions?  mail  mach@vernam.cs.uwm.edu


-- 
     ______________________________________________________________
    /\               University of Wisconsin -- Milwaukee          \
    \_| Computing Services Division     Computer Science Department |
      |   jimj@csd4.csd.uwm.edu	          jimj@miller.cs.uwm.edu    |
From: dswartz@sw.stratus.com (Dan Swartzendruber)
Newsgroups: comp.os.mach
Subject: macmach
Date: 7 Apr 92 17:10:02 GMT
Organization: Stratus Computer, Inc.

Does anyone know what is the story with macmach?  I sent a request for more
information to macmach@andrew.cmu.edu (as specified in the posting here)
several days ago, but have heard nothing.

-- 

Dan S.
From: martelr@kallisti.wtfd.orst.edu (Raphael Martelles)
Newsgroups: comp.os.mach
Subject: FAQ List--I need it...
Summary: Hey, can anyone send me the FAQ for this group?
Date: 9 Apr 92 19:05:59 GMT
Article-I.D.: talon.1992Apr9.190559.4715
Distribution: na
Organization: Weatherford Hall, Oregon State U.


Can someone please send me the FAQ list for this group?  I'm interested in 
learning more about Mach, and since I don't want to clutter up this place 
with a lot of frequently asked questions, I thought I'd just ask for the list.

Thanks!

Raph
--
Raphael Martelles                               Weatherford Networking Group
martelr@kallisti.wtfd.orst.edu
From: dan@cs.pitt.edu (Dan Drake)
Newsgroups: comp.os.mach
Subject: Looking for references
Date: 12 Apr 92 02:01:51 GMT
Organization: Computer Science Dept., University of Pittsburgh


I'm looking for references both in print and ftpable for the following:

IPC in Mach.

Memory Management in Mach.

and Mach in general.

dan.

dan@cs.pitt.edu

e-mail would be appreciated.

Newsgroups: comp.os.mach
From: varuni@ee.uts.edu.au (Varuni Witana)
Subject: availability of Mach real-time kernel
Organization: University of Technology, Sydney, Australia
Date: Wed, 15 Apr 1992 04:27:08 GMT
Summary: availability of Mach real-time kernel with source code.
Keywords: Real-time Mach

Please let me know the availability and pricing of a Mach Real-Time
kernel with source code.

Email will be appreciated

Varuni Witana
varuni@ee.uts.edu.au
From: jclark@sdcc3.ucsd.edu (John Clark)
Newsgroups: comp.os.mach
Subject: Re: macmach
Date: 9 Apr 92 18:41:29 GMT
Organization: University of California, San Diego

In article <1992Apr09.000409.227561@cs.cmu.edu> mrt+@CS.CMU.EDU (Mary Thompson) writes:
+I can clarify the MacMach licensing issue a bit. This distribution is
+
+Thus, as unreasonable as it seems  to owners of personal Macs and I386 clones,
+we cannot give or sell you a system. This is the reason that i386 binary-only
+releases of Mach are only available from mt Xinu. They have a commercial 
+redistribution license.

Hopefully when one puts one's ear to the ground one can heard the
thundering hooves of a hurd of gnus.

+  
+The MacMach distribution is encumbered by one additional detail. Apple supported
+the development of the system here at CMU and they have retained the commercial
+rights to the system for themselves. Thus the MacMach distribution comes with
+the additional restriction that it is only for "end use" (or personal use as
+Zon had said). You may not incorportate the code into a product and redistribute
+it as you may with other versions of Mach.

Yet another UCSD P-System in the works???
-- 

John Clark
jclark@ucsd.edu
From: me@amiganet.chi.il.us (Corey Sweeney)
Newsgroups: comp.os.mach
Subject: loading the mach kernal
Date: 12 Apr 92 16:51:35 GMT
Organization: Amiga Network Information Systems

Hello,

        I have downloaded the mach i386 kernal from the internet and now wish to load it onto my machine to make my machine bootable.  Does anyone know how to do this?
Newsgroups: comp.os.mach
From: mlanett@void.ncsa.uiuc.edu (Mark Lanett)
Subject: Re: MacMach
Organization: University of Illinois at Urbana
Date: Tue, 14 Apr 1992 22:25:54 GMT

ron@afsg.apple.com (Ron Flax) writes:

>In article <#+s0'ktn|@twinsun.com>, junio@twinsun.com (Junio Hamano) writes:
>> 
>> In article <28209@hoptoad.uucp> zoo@cygnus.com (david d 'zoo'
>> zuhn) points out that it is `a little out of whack' that MacMach
>> is licensed for personal use only while not many people who would
>> use `personal use only' system have a Unix source license.
>> 
>> I agree with David and hope that some arrangement will be made
>> with Apple so that we can see free distribution of MacMach in the
>> near future.  Maybe Apple can donate at least the binaries for
>> their proprietary part (I assume those are only a small portion
>> such as device drivers) to the user community.

>As I understand it, the problem is that CMU wishes to distribute MacMach on
>CD-ROM with full source (which is great!) and since the bsd server is built
>using 4.3bsd source code, an AT&T license is required before it can be
>redistributed.  This is not an Apple problem!

What I want to do is a) port some version of NFS to MacMach; and b) make sure
the GNU hurd runs under the MacMach 3.0 kernal. It should. Given that the hurd
will free us from BSD4.3/AT&T3.2, I think we would have a free and usefull OS.
I think I'm not alone here; maybe those of us interested in doing so should
get together (electronically) on the mailing list.

I suspect the MacOS server is also Apple proprietary, so we'd lose that also.
No great loss; a MacOS server would only make the machine unstable.

Mark
-- 
Mark Lanett, Software Tools Group, NCSA; mlanett@uiuc.edu; NCSA.STG (AppleLink)
From: aw2t+@andrew.cmu.edu (Alex R.N. Wetmore)
Newsgroups: comp.os.mach
Subject: mach acting braindead
Date: 7 Apr 92 00:35:18 GMT
Article-I.D.: andrew.0dsCt6600YVX06N2oG
Organization: Freshman, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA

I have had a lot of trouble compiling stuff on mach.  Here are a few of
my problems, some of them may be related to having written my program on
sysV, but I think that a lot of it is mach (the program compiles fine on
ultrix and linux).  Btw, I am using i386_mach 2.5 cmu distribution.

Here are my problems:
    no stdlib.h in /usr/include
    no termcap.h (i had to write my own)
    no setvbuf() (I thought this was standard, might be sysV though).
    ioctl seems pretty screwed up (it ignores my ~ECHO and ~ICANON requests).
    And in general a lot of other stuff just seems to be weird.  I had
some  trouble with ttydev.h and tty????.h (don't remember which one off
hand) being included twice in header files, which I had to go fix. 
Also, the standard __DATE__ define was missing.

So what gives?  Is mach386 just missing a lot, or is our sup just
missing a lot of stuff?  I have been more impressed with linux at this
point (even though it doesn't have networking).

thanks,
alex
Newsgroups: comp.os.mach
From: dwang@ad-11.naitc.com (Dontin Wang)
Subject: Mach FAQ, and OSF/1
Summary: info wanted - Mach or OSF/1
Keywords: Mach, FAQ, OSF/1
Organization: AC Nielsen Co.
Date: 12 Apr 92 00:25:13 GMT

Hi,
Could I also get the FAQs for this list, please?

And, is there a OSF/1 group or list or something?  This is probably not
the best place to ask, but is as good as any I can find, since OSF/1 uses
Mach, I think...it sounds like a great idea (well, both Mach and OSF/1
sound like great ideas).

THanks,

d.wang
-- 
--------------------------------------------------------------------------------
Dontin Wang
dwang@nis.naitc.com
--------------------------------------------------------------------------------
Newsgroups: comp.os.mach
Subject: X11R5 and GCC2.1 for Mach386?
From: l00017@eeyore.stcloud.msus.edu (Networking Research)
Date: 14 Apr 92 05:20:27 -0600
Organization: Saint Cloud State University


	I seem to recall people mentioning at variuos times that they had
ported X11R5 and GCC2.0 or 2.1 to Mach386, and that there was an anonymous
ftp site where the binaries (at least for X11R5) were available.  Anyhow,
if anyone has ported either of these, please let me know here I can pick
up source *or* binaries (I kinda doubt I have enough free disk space to compile
X11R5, unless I junk R4 first)

-Mark Holden
l00017@eeyore.stcloud.msus.edu
Newsgroups: comp.os.mach
From: sef@kithrup.COM (Sean Eric Fagan)
Subject: Re: Mach386
Organization: Kithrup Enterprises, Ltd.
Date: Tue, 07 Apr 1992 09:54:05 GMT
Keywords: Mach GCC SYMLINK

In article <ktpjwp#.tsw@netcom.com> tsw@netcom.com (Tim Walker) writes:
>      Undefined symbol ___main referenced from text segment
>  It was generated after issuing the following command:
>make apl
>ld  /lib/crt0.o -o apl  a0.o a1.o a3.o a4.o a5.o a6.o a7.o a8.o a9.o  aa.o \
>ab.o ac.o ad.o ae.o af.o ag.o ah.o ai.o aj.o  ak.o al.o an.o ao.o aq.o \
>at.o aw.o ax.o ay.o az.o y.tab.o a2.o am.o gamma.o -lm -lc
>a0.o: Undefined symbol ___main referenced from text segment

I would strongly suggest not using "ld" to link anymore; there are enough
things going on in some development systems to cause some havoc, as you
managed to find out.

Add a "$(libdir)/libgcc.a," or whatever the gcc support library is called,
to the end of the link line.  The program, gcc, automatically does this when
linking.

-- 
Sean Eric Fagan  | "One form to rule them all, one form to find them, one
sef@kithrup.COM  |  form to bring them all and in the darkness rewrite the
-----------------+  hell out of them" -- sendmail ruleset 3 comment from DEC.
Any opinions expressed are my own, and generally unpopular with others.
From: bronson@bedroom.UUCP (Mark Bronson)
Newsgroups: comp.os.mach
Subject: Creating Shared Memory Regions
Date: 8 Apr 92 02:06:25 GMT
Organization: The house of Bronson Santa Fe Nm

Can anyone enlighten me on the method of creating a shared memory region
(in Mach 3.0) between tasks that do not have a parent/child relationship?
Is it possible to do this without using the default memory object? 
Thanks in advance

m
From: mark@loki.une.edu.au (Mark Garrett)
Newsgroups: comp.os.mach
Subject: Re: Getting 3.0 running without 2.5
Date: 17 Apr 92 09:15:45 GMT
Organization: University of New England - Northern Rivers, (Lismore)

From article <kx1H!!dq6@cs.psu.edu>, by ehrlich@cs.psu.edu (Dan Ehrlich):
> We are considering running Mach 3.0 on a bunch of DECstation 5000s we
> will be getting RSN.  Is there a way to get Mach 3.0 up on such a beast
> without already having Mach 2.5 installed?  Can I use Ultrix to bootstrap
> Mach 3?

I believe that this should be possible, one of the problems you are faced 
with is that mach3.0 is a kernel only. It does not contain source code for a
unix server. This is what the GNU hurd is. You will also need BSDnet2 and
all of GNU stuff to come up with a system. If there is a unix/BSD server
going for free in source form then I haven't hurd (excuse the pun) about it
yet.

	Cheers
		Mark :)

-- 
Mark Garrett	Internet:  mark@loki.une.edu.au	Phone: 	+61 66 20 3859
   University of New England, Northern Rivers, Lismore NSW Australia.
From: hleung@c40.nswc.navy.mil (Harry Leung)
Newsgroups: comp.os.mach
Subject: Help in installing man pages on Mach 3.0 running on 486
Date: 14 Apr 92 12:41:45 GMT
Organization: Naval Surface Warfare Center - DD

Does any one out there know how to get "man" to recognize new man
pages?  What I am talking about are the new man pages specific to mach.
They are already formatted( "cat" able ).  The problem is I cannot get
"man" to recognize them.

I have tried using "setpath" and the environment variable MANPATH
with out any success.  Having discovered that the man pages in /usr/man
are compressed, I have compressed these man pages.  I have even moved
a couple of these man pages into /usr/man, but "man" still do not see
them.

Is there a hash table or some kind of index that I need to rebuild for "man"
to see these new man pages.  I would greatly appreciate any info that can
help with this problem.

Thanks,
Harry Leung
From: ron@afsg.apple.com (Ron Flax)
Newsgroups: comp.os.mach
Subject: Re: MacMach
Date: 14 Apr 92 20:17:41 GMT
Organization: Apple Federal Systems Group

In article <#+s0'ktn|@twinsun.com>, junio@twinsun.com (Junio Hamano) writes:
> 
> In article <28209@hoptoad.uucp> zoo@cygnus.com (david d 'zoo'
> zuhn) points out that it is `a little out of whack' that MacMach
> is licensed for personal use only while not many people who would
> use `personal use only' system have a Unix source license.
> 
> I agree with David and hope that some arrangement will be made
> with Apple so that we can see free distribution of MacMach in the
> near future.  Maybe Apple can donate at least the binaries for
> their proprietary part (I assume those are only a small portion
> such as device drivers) to the user community.

As I understand it, the problem is that CMU wishes to distribute MacMach on
CD-ROM with full source (which is great!) and since the bsd server is built
using 4.3bsd source code, an AT&T license is required before it can be
redistributed.  This is not an Apple problem!

--
Ron Flax
ron@afsg.apple.com
Apple Federal Systems Group
Newsgroups: comp.os.mach
From: efk@ddsdx2.jhuapl.edu (Eileen Baust)
Subject: Allocating a port and setting send rights
Keywords: Port_allocate
Organization: Johns Hopkins University
Date: Tue, 7 Apr 92 15:24:41 GMT

I am having a problem sending messages on a port I allocate. From the
user manual (Mach 3.0 for an i386), it states that when a port is allocated, no sender rights are granted.
The manual further states that to have a port with a status of send/receive, you must use
the function mach_port_insert_right to insert the port right, send. Whne I try to insert a right
I get an error stating "(os/kern) invalid name". Here are my two lines of code :
kret=mach_port_allocate(mach_task_self(),MACH_PORT_RIGHT_RECEIVE,&my_receive_port);
kret=mach_port_insert_right(mack_task_self,my_receive_port,MACH_MSG_TYPE_PORT_SEND,MACH_MSG_TYPE_COPY_SEND);
Please reply to efk@ddsdx2.jhuapl.edu.
Thanks,
Eileen

Newsgroups: comp.object