[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

extern "C"



Hi !
I am trying to use an extern "C" statement in a V GUI program 
to use an external FORTRAN function (unfortunately I really need
this and it is way too big just to convert easily it to c++). 
I tried to test this in a c++ prg with a main() and it worked
fine if you link with -lg2c after creating the fortran prg.o with
g77. In a VGUI prg I get during linking undefined reference to
MAIN__ . So how can I fix that ?
KAI


Reply to: