This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Undefined reference


Dear Sir,

I am trying to compile a software using gcc and g77, but, unfortunately, the
compilation fails with the following error messages. My system is
DellPrecision530(Xeon 2GHz) with RedHat7.1.  I have installed gcc-2.96 and
the accompanied g77.

> util.so: undefined reference to `wait_'
> util.so: undefined reference to `gsr48_'
> util.so: undefined reference to `fork_'
> util.so: undefined reference to `drand48_'
> collect2: ld returned 1 exit status
>

Could you kindly suggest me about how to fix the problem ? Thank you.


Manabu Sugimoto
Department of Applied Chemistry and Biochemistry
Faculty of Engineering
Kumamoto University
Kumamoto 860-8555, Japan
TEL: +81-96-342-3650
FAX: +81-96-342-3679

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]