Hallo, I'm trying to call a fortran function from root 3.03/09. I did all that is described in http://root.cern.ch/root/HowtoCERNLIB.html in the first method. When I run the my new root executable and try to exec a .C file with a call like this: offilter_(a); I obtain the following error message: Error: offilter_() header declared but not defined FILE:/tmp/fileFXhsJi_cint LINE:1 can you recognize at which level the error message comes from? LinkDef.h: #ifdef __CINT__ #pragma link off all globals; #pragma link off all classes; #pragma link off all functions; #pragma link C++ function offilter_; #endif Functions.h #ifndef Functions_H #define Functions_H #if !defined (__CINT__) || defined (__MAKECINT__) #include "Rtypes.h" #endif extern "C" Float_t offilter_(Float_t *ttvc); #endif Thanks Yvonne -- ************************************************** Yvonne Becherini Physics Department, University of Bologna and INFN Viale Berti Pichat 6/2, I-40127 Bologna, Italy Tel: +39 051 209 5234 Fax: +39 051 209 5269 http://www.bo.infn.it/~becherini/ e-mail Yvonne.Becherini@bo.infn.it **************************************************
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:23 MET