[comp.lang.c++] Task librairie

robert@ireq.hydro.qc.ca (R.Meunier 8516) (09/20/90)

	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