[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

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

4001.0. "PROBLEMS LINKING WITH LATTICE C V4.0" by KETJE::VANWAMBEKE () Thu Aug 09 1990 04:02


	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.RTitleUserPersonal
Name
DateLines
4001.1WJG::GUINEAUThu Aug 09 1990 10:208
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.2THANKS ...KETJE::VANWAMBEKEFri Aug 10 1990 08:537
    
    
    Thanks a lot : it was the -Lm stuff ... 
    	
    regards
    	
    PAUL