26 Jul 13:01
linking problem with MCSim mod program
Frédéric BOIS <Frederic.Bois <at> ineris.fr>
2002-07-26 11:01:30 GMT
2002-07-26 11:01:30 GMT
"Gregg M. Recer" wrote: > > Hello: > I am attempting to develop some pbpk models using MCSim (v4.2, downloaded > from http://fredomatic.free.fr/) and data we are collecting on > perchloroethylene exposures. I'm sorry to bother you, but I am > encountering a problem getting the source code compiled on my workstation. > It is a PC running Win98. I've got the gnu gcc compiler (v3.1) running > under a cygwin red hat/gnu/linux shell (bash). I also tried compiling > using a DOS C compiler (MS Quick C v2.5). > > The problem I'm encountering is during the first step to get the mod source > files compiled and linked (using make on linux or the command-line > compiler/linker in QC25). Both compilers flag the same error on linking > (the source files all compile fine). They reference an undefined external > function "GetVarHandle" called in lexfn.c. > > gcc error message: > Linking mod... > lexfn.o(.text+0x1b0):lexfn.c: undefined reference to `GetVarHandle' > collect2: ld returned 1 exit status > make: *** [mod] Error 1 > > QC25 error message: > LEXFN.OBJ(lexfn.c) : error L2029: '_GetVarHandle' : unresolved external > > I see that function prototyped in modiface.h but don't see the complete > function in any of the source files. > > I apologize for bothering you for what is probably a trivial problem. I'm(Continue reading)
RSS Feed