| Title: | AMIGA NOTES |
| Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 |
| Moderator: | HYDRA::MOORE |
| Created: | Sat Apr 26 1986 |
| Last Modified: | Wed Feb 05 1992 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 5378 |
| Total number of notes: | 38326 |
HELLO, As a rather new user of LATTICE C ( V4.0 ) I tried to compile and link a very simple C program with the "lc -L Filename" command. Compilation is no problem, however the linkr gives me systematically a Undifined Symbol error like : Give a DEFINE value for TVX045 : ( First called in TEST.O ) . ... There is a list of variables that not even appear in the program for wich the linker seems to expect some initialisation. Any idea what could be wrong ? I am definitely sure I succeeded to compile and link that same source code without problems. Could it be that some assignments are wrong ? thanks for your help. PAUL
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 4001.1 | WJG::GUINEAU | Thu Aug 09 1990 09:20 | 8 | ||
Does the program use floating point? Or math? If yes, use lc -Lm file (the m on -L says include the math libraries) Otherwise check the assignments of the "logical names" listed in the beginning of your manual... john | |||||
| 4001.2 | THANKS ... | KETJE::VANWAMBEKE | Fri Aug 10 1990 07:53 | 7 | |
Thanks a lot : it was the -Lm stuff ...
regards
PAUL
| |||||