Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* pthreads compilation problem
@ 1994-04-08 22:17 Dean McRobie
  1994-04-11 12:37 ` Simon Patience
  1994-04-11 15:24 ` Burkhard Neidecker-Lutz
  0 siblings, 2 replies; 4+ messages in thread
From: Dean McRobie @ 1994-04-08 22:17 UTC (permalink / raw)


Hi OSFers,

I am trying to use DEC OSF/1 for am Operating Systems course I am
teaching, I was going to write a process simulator and had thought to
use the threads facility of OSF/1 to simulate the processes.  However,
I can not get ANYTHING to compile!!! In fact:

#include <stdio.h>
#include <pthread.h>

int main(int argc, char **argv)
{
  printf("boo!\n");
}

followed by "cc -o boo boo.c -lpthread -lmach" says:
Segmentation Fault!

HELP!!!  What have I done wrong?!?!?!?  I can not get to the DEC
example programs as they are unable to be extracted from the
documentation unless I intend to type them in (a last resort).

Any help would be appreciated!

Deano
--
---------------------------------------------------------------------
Dean McRobie             | "Never was a cornflake girl, thought that
Assistant Lecturer       |  was a good solutions hanging with the 
University of Otago      |  raisin girls, she's gone to the other side
Dunedin, New Zealand     |  givin us the old heave ho, things are 
deano@rabbit.otago.ac.nz |  getting kind of gross" Tori Amos


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-04-11 16:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-04-08 22:17 pthreads compilation problem Dean McRobie
1994-04-11 12:37 ` Simon Patience
1994-04-11 15:24 ` Burkhard Neidecker-Lutz
1994-04-11 16:47   ` Steve Strange USG

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox