I tried your suggestion just now Ralf, by using make
LDFLAGS=--no-undefined and it solved all of the undefined reference
errors but the rest of them are still there and it added another error
"cc1: error" near the end there.
I've included the output of this lattest attempt (LD_LIBRARY_PATH has
been set previous to this) below and it should look ok limited to 80
character per line and a fixed width font, instead of putting it in a
jpg image.
$ make LDFLAGS=--no-undefined > make.txt
libtool: link: warning: undefined symbols not allowed in
i686-pc-cygwin shared libraries
libtool: link: warning: undefined
symbols not allowed in i686-pc-cygwin shared libraries
Info: resolving
_optarg by linking to __imp__optarg (auto-import) Info:
resolving _optind by linking to __imp__optind (auto-import)
Info: resolving _optarg by linking to __imp__optarg (auto-import)
Info: resolving _optind by linking to __imp__optind
(auto-import) fftw_f77_mpi.c: In function
`fftw_f77_mpi_create_plan__': fftw_f77_mpi.c:35:
warning: passing arg 1 of `MPI_Comm_f2c' makes integer from pointer
without a cast
fftw_f77_mpi.c: In function `fftwnd_f77_mpi_create_plan__':
fftw_f77_mpi.c:71: warning: passing arg 1 of `MPI_Comm_f2c'
makes integer from pointer without a cast
fftw_f77_mpi.c: In function
`fftw2d_f77_mpi_create_plan__': fftw_f77_mpi.c:81:
warning: passing arg 1 of `MPI_Comm_f2c' makes integer from pointer
without a cast
fftw_f77_mpi.c: In function `fftw3d_f77_mpi_create_plan__':
fftw_f77_mpi.c:90: warning: passing arg 1 of `MPI_Comm_f2c'
makes integer from pointer without a cast
libtool: link: warning: undefined symbols
not allowed in i686-pc-cygwin shared libraries
rfftw_f77_mpi.c: In
function `rfftwnd_f77_mpi_create_plan__':
rfftw_f77_mpi.c:39: warning: passing arg 1 of `MPI_Comm_f2c' makes
integer from pointer without a cast
rfftw_f77_mpi.c: In function
`rfftw2d_f77_mpi_create_plan__': rfftw_f77_mpi.c:49:
warning: passing arg 1 of `MPI_Comm_f2c' makes integer from pointer
without a cast
rfftw_f77_mpi.c: In function `rfftw3d_f77_mpi_create_plan__':
rfftw_f77_mpi.c:58: warning: passing arg 1 of `MPI_Comm_f2c'
makes integer from pointer without a cast
$ ~~
ibraries
cc1: error: unrecognized
command line option "-fno-undefined" mpicc: No such
file or directory
make[1]: *** [test_sched] Error 1
make: *** [all-recursive] Error 1
On 4/24/06, Ralf Wildenhues <Ralf.Wildenhues_at_[hidden]> wrote:
> Hi Brad,
>
> * Brad Krane wrote on Mon, Apr 24, 2006 at 10:26:54PM CEST:
> > Hello I was wondering if someone would be able to give me some
> > direction that would help me to compile the FFTW 2.1.5 library in my
> > Cygwin environment. After some trouble and some work I managed to
> > compile LAM succesfully but when I try and compile the FFTW library
> > (following all of the installation instructins to the T of course) I
> > keep getting neumerious libtool warnings and then finally a collect2
> > exit error and a mpicc not found. Could it be that a LAM directory is
> > not in my path?
>
> I reported a related issue to the FFTW developers a few weeks ago.
> You could try (untested)
> make LDFLAGS=-no-undefined
>
> for now (after removing all FFTW libs you may have built already), but I
> don't know whether it will work; I can look further into this issue, but
> it may be a few days until I get to it.
>
> Cheers,
> Ralf
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
--
Brad
|