Closed 8cH9azbsFifZ closed 12 years ago
Port fftw-3-single contains: /opt/local/bin/fftwf-wisdom /opt/local/lib/libfftw3f.3.dylib /opt/local/lib/libfftw3f.a /opt/local/lib/libfftw3f.dylib /opt/local/lib/libfftw3f.la /opt/local/lib/libfftw3f_threads.3.dylib /opt/local/lib/libfftw3f_threads.a /opt/local/lib/libfftw3f_threads.dylib /opt/local/lib/libfftw3f_threads.la /opt/local/lib/pkgconfig/fftw3f.pc /opt/local/share/man/man1/fftwf-wisdom.1.gz
gfortran -L/usr/lib -L/opt/local/lib -o fmt fmt.o fil1.o four2a.o peakup.o db.o sound.o -lpthread -lsamplerate -lportaudio -lfftw3f
Undefined symbols:
"_sfftw_plan_dft_c2r1d", referenced from:
four2a in four2a.o
"_sfftw_plan_dft1d", referenced from:
four2a in four2a.o
four2a in four2a.o
"_sfftwexecute", referenced from:
four2a in four2a.o
"_sfftw_destroyplan", referenced from:
four2a in four2a.o
"_sfftw_plan_dft_r2c1d", referenced from:
four2a in four2a.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Solution: compile libfftw yourself -> ports version on mac osx does not work. Fixed installation instructions.
MAC OSX:
gfortran -o wsprcode WSPRcode.o deg2grid.o pack50.o packcall.o packgrid.o unpack50.o unpackcall.o unpackgrid.o nchar.o grid2deg.o wqencode.o wqdecode.o nhash.o hash.o packname.o unpackname.o packtext2.o unpacktext2.o encode232.o inter_mept.o packprop.o unpackprop.o packpfx.o unpackpfx.o cs_stubs.o fano232.o gfortran -L./ -L/usr/lib -L/usr/local/lib -L/opt/local/lib -o fmt fmt.f90 fil1.f90 four2a.f peakup.f db.f \ sound.o -lpthread -lsamplerate -lportaudio -lfftw3f
Undefined symbols: "_sfftw_plan_dft_c2r1d", referenced from: four2a in ccmBUkwU.o "_sfftw_plan_dft1d", referenced from: four2a in ccmBUkwU.o four2a in ccmBUkwU.o "_sfftwexecute", referenced from: four2a in ccmBUkwU.o "_sfftw_destroyplan", referenced from: four2a in ccmBUkwU.o "_sfftw_plan_dft_r2c1d", referenced from: four2a in ccmBUkwU.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *\ [fmt] Error 1