help-gnu-utils
[Top][All Lists]
Advanced

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

make problem


From: gmarkowsky
Subject: make problem
Date: 25 Sep 2006 11:43:51 -0700
User-agent: G2/1.0

Hi all,

I'm trying to run a parallel application on a beowulf, and I'm having
trouble building the thing. I can provide more info if necessary, but
the upshot is that it works fine until it gets to the following
command:

fortran  -O3 -ffast-math  master.o ocean_control.o -o oceanO  libNLM.a
libUTIL.a libMODS.a -L/home2/cousins/netcdf-3.5.1/mac-linux-src/libsrc
-lnetcdf

It doesn't give me an error message such as "file not found", but it
prints several pages of errors after this. Here is a representative
sample:

libNLM.a(output.o): In function `output_':
output.f90:(.text+0x2e4): undefined reference to `nf_close_'
output.f90:(.text+0x381): undefined reference to `nf_close_'
output.f90:(.text+0x47d): undefined reference to `nf_close_'
libUTIL.a(close_io.o): In function `close_io_':
close_io.f90:(.text+0x42): undefined reference to `nf_close_'
close_io.f90:(.text+0x6d): undefined reference to `nf_close_'
libUTIL.a(close_io.o):close_io.f90:(.text+0x98): more undefined
references to `nf_close_' follow
libUTIL.a(close_io.o): In function `close_io_':

So what gives? Is it not finding something? Then why does it not say
"file not found"? What does the -L part mean? Haven't been able to
figure that out.

Greg



reply via email to

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