From: deano@rabbit.otago.ac.nz (Dean McRobie)
Subject: pthreads compilation problem
Date: Fri, 8 Apr 1994 22:17:56 GMT [thread overview]
Message-ID: <DEANO.94Apr9101756@rabbit.otago.ac.nz> (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
next reply other threads:[~1994-04-08 22:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-04-08 22:17 Dean McRobie [this message]
1994-04-11 12:37 ` pthreads compilation problem Simon Patience
1994-04-11 15:24 ` Burkhard Neidecker-Lutz
1994-04-11 16:47 ` Steve Strange USG
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox