Aptech Systems, Inc. Worldwide Headquarters
Aptech Systems, Inc.
2350 East Germann Road, Suite #21
Chandler, AZ 85286
Ready to Get Started?
Request Quote & Product Information
Training & Events
Step-by-step, informative lessons for those who want to dive into GAUSS and achieve their goals, fast.
Have a Specific Question?
Q&A: Register and Login
Premier Support and Platinum Premier Support are annually renewable membership programs that provide you with important benefits including technical support, product maintenance, and substantial cost-saving features for your GAUSS System or the GAUSS Engine.
Join our community to see why our users are considered some of the most active and helpful in the industry!
Where to Buy
Recent Tagsapplications character vectors CML CMLMT Constrained Optimization datasets dates dlibrary dllcall error error handling errors Excel file i/o floating network GAUSS Engine graphics GUI hotkeys installation Java API license licensing linux loading data loops matrices matrix manipulation Maxlik MaxLikMT Memory multidimensional array optimization Optmum output PQG graphics procs RAM random numbers string functions strings structures threading Time Series writing data
Time Series 2.0 MT
Find out more now
Time Series MT 2.1
Find out more now
Error Undefined symbol G0025 for procedure that is defined in main file
I have a main program file with a few GAUSS procedures defined at the bottom. The first half, or so, of the file is the main code and it calls some of the procedures at the bottom. It works fine on my other computer, but on my laptop it is giving me the error Undefined symbol G0025.
Here is a basic test case that shows my problem:
x = 5; print myProc(x); proc (1) = myProc(x); print "you have successfully called myProc"; retp(x); endp;
Does anybody know why it won't work on my laptop?
Most likely this is happening, because you have the "Autodelete" preference turned off. This is controlled by a check box in the preferences. For recent versions of GAUSS, it can be found from the main application menu "Tools->Preferences->Compile Options".
If the "Autodelete" preference is turned off, then if GAUSS finds a reference to a procedure that has not yet been defined, GAUSS will ONLY look in:
- Your user library, user.lcg.
- Any other user specified libraries (i.e. a library that you turn on with the library statement.
- The GAUSS library, gauss.lcg.
Note that this search order is only activated for an undefined reference to a procedure. So if you changed your example code snippet above to:
proc (1) = myProc(x); print "you have successfully called myProc"; retp(x); endp; x = 5; print myProc(x);
it would work, because this time when GAUSS gets to the line print myProc(x);, the procedure myProc has already been defined.