[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie compilation problems

From: Krishna Podury
Subject: Newbie compilation problems
Date: Wed, 03 Dec 1997 12:09:09 -0500

Hi all!

I'm trying to compile lout source code and install it on my machine.
During the compilation of the lout executable, I'm getting an undefined
symbol error. Here is the output...

> make lout
cc -o lout z01.o z02.o z03.o z04.o z05.o z06.o z07.o z08.o       z09.o
z10.o z11.o z12.o z13.o z14.o z15.o z16.o         z17.o z18.o z19.o
z20.o z21.o z22.o z23.o z24.o         z25.o z26.o z27.o z28.o z29.o
z30.o z31.o z32.o         z33.o z34.o z35.o z36.o z37.o z38.o z39.o
z40.o         z41.o z42.o z43.o z44.o z45.o z46.o z47.o -lm
Undefined                       first referenced
 symbol                             in file
mcount                              z01.o
ld: fatal: Symbol referencing errors. No output written to lout
*** Error code 1
make: Fatal error: Command failed for target `lout'

I'm not sure where "mcount" is defined but it looks like its a global
undefined variable. Has anyone out there faced and fixed this problem?
I'm on Solaris 2.5.1 and using the sun "cc" compiler.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]