Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!s3!robert From: robert@ireq.hydro.qc.ca (R.Meunier 8516) Newsgroups: comp.lang.c++ Subject: Task librairie Message-ID: <3026@s3.ireq.hydro.qc.ca> Date: 19 Sep 90 21:17:57 GMT Sender: root@s3.ireq.hydro.qc.ca Reply-To: robert@ireq.hydro.qc.ca () Organization: IREQ, Hydro-Quebec Lines: 39 I have just started invertigating c++ using Sun C++ compiler (using cfront from AT&T). I have copied an example from a book using the task librairie. cfront gives me that error "clock undefined" 'clock' is supposed to be a global variable So i have defined clock in the code to get those errors ld: Undefined symbol object::_print(int,int) ___dt__6objectFv task::_cancel(int) ___vtbl__6object qhead::_tail() ___ct__5qheadF9qmodetypei qhead::_get() ___ct__4taskFPc8modetypei object::_pending() task::_print(int,int) qtail::_put(object*) task::_resume() ___dt__4taskFv task::_delay(int) ___vtbl__5sched task::_resultis(int) urand::_draw() What am i missing? Please answer by e-mail. -- ----------------------------------------------------------------------- Robert Meunier Institut de Recherche d'Hydro-Quebec Ingenieur 1800 Montee Ste-Julie, Varennes Internet: robert@ireq.hydro.qc.ca Qc, Canada, J3X 1S1