Undefined symbols: _max

I have got a code which uses the "Maxlik" library. I added this library, and now, when i run the code the following error occurs:

Undefined symbols:
_max         c:\gauss10\src\maxlik.src(547)

how can i solve this problem?

4 Answers



0



that lines of the maxlik code are:

{ x,f,g,h,retcode,Lmlfhess,Lmlitdta,Lmlcpvcp,Lmlhsvcp,_max_dat,
_max_NumObs,_max_row,_max_dsn,Lmldiag } = _max(dataset,var,lfct,start,

_max_Algorithm,
_max_Diagnostic,
_max_GradCheckTol,
_max_LineSearch,
_max_CovPar,
_max_GradMethod,
_max_GradStep,
_max_Delta,
_max_Extrap,
_max_GradProc,
_max_GradTol,
_max_HessProc,
_max_Interp,
_max_Key,
_max_Lag,
_max_MaxIters,
_max_MaxTime,
_max_MaxTry,
_max_NumObs,
_max_ParNames,
_max_RandRadius,
_max_Options,
_max_Switch,
_max_UserSearch,
_max_UserNumGrad,
_max_UserNumHess,
_max_Active,
_max_dat,
_max_dsn,
_max_row,
__altnam,
__output,
__row,
__title,
__weight
);



0



Most of the time this error comes up, because either:

  1. The Maxlik application was not installed correctly.
  2. You did not install the official Maxlik package

To test your Maxlik installation, change your GAUSS working directory to C:\gauss10\examples and try to run one of the example files such as maxlik1.e. If this runs correctly, then your installation is probably fine and the problem is more likely in your command file. If this example file fails to run, then the problem is likely with your installation.

Try running the example as explained above and report the result.

aptech

1,393


0



 

 To test your Maxlik installation, change your GAUSS working directory toC:\gauss10\examples and try to run one of the example files such asmaxlik1.e. If this runs correctly, then your installation is probably fine and the problem is more likely in your command file. If this example file fails to run, then the problem is likely with your installation.

 

I tested that example file, it did not run correctly. but i'm pretty sure that i have installed it correctly, that was just a simple extraction! Now, I have two questions:

1-could the problem occurred because of a difference in publication dates? while the code is written in 2007,  the application files are from an earlier version!

2-what is does the _max() function do in this application?



0



If the example file did not run correctly, then I think it is most likely that you are not using an official copy of Maxlik. What was the name of the zip file that you extracted?

aptech

1,393

Your Answer


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 30 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy