Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined reference to a lot of fftwf_* #142

Closed
1 task done
FrancescoMagliocco opened this issue Apr 23, 2018 · 4 comments
Closed
1 task done

Undefined reference to a lot of fftwf_* #142

FrancescoMagliocco opened this issue Apr 23, 2018 · 4 comments

Comments

@FrancescoMagliocco
Copy link

FrancescoMagliocco commented Apr 23, 2018

Source: FFTW/fftw3.git
OS: Windows 10 x64 Enterprise
Environment: Windows Subsystem for Linux (Debian/Buster, not Ubuntu)
BuildTools: mingw32-w64

Checklist

  • Successful Compilation

Bootstrap Command

./boostrap.sh

Configuration

./configure                                         \
    --prefix=/home/cmptr/.src/ffmpeg/ffbuild        \
    --host=x86_64-w64-mingw32                       \
    --enable-maintainer-mode                        \
    --enable-shared=yes                             \
    --enable-float                                  \
    --enable-sse                                    \
    --enable-sse2                                   \
    --enable-generic-simd128                        \
    --enable-generic-simd256                        \
    --enable-dependency-tracking                    \
    --enable-static=yes                             \
    --enable-fast-install=no                        \
    --enable-openmp                                 \
    --enable-threads                                \
    --with-our-malloc                               \
    --with-sysroot=/home/cmptr/.src/ffmpeg/ffbuild

Compilation

make -j12

Undefined References

../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-api.o):api.c:(.text+0xe3): undefined reference to `fftwf_imax'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-api.o):api.c:(.rdata$.refptr.fftwf_mksolver_hc2hc_hook[.refptr.fftwf_mksolver_hc2hc_hook]+0x0): undefined reference to `fftwf_mksolver_hc2hc_hook'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-api.o):api.c:(.rdata$.refptr.fftwf_mksolver_ct_hook[.refptr.fftwf_mksolver_ct_hook]+0x0): undefined reference to `fftwf_mksolver_ct_hook'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-conf.o):conf.c:(.text+0xb): undefined reference to `fftwf_solvtab_exec'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-threads.o):threads.c:(.text+0x464): undefined reference to `fftwf_set_planner_hooks'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x125): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x27f): undefined reference to `fftwf_pickdim'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x361): undefined reference to `fftwf_tensor_copy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x408): undefined reference to `fftwf_mkproblem_dft'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x418): undefined reference to `fftwf_mkplan_d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x448): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x462): undefined reference to `fftwf_tensor_destroy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x474): undefined reference to `fftwf_tensor_destroy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x48c): undefined reference to `fftwf_mkplan_dft'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x4c4): undefined reference to `fftwf_ops_zero'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x4ef): undefined reference to `fftwf_ops_add2'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x518): undefined reference to `fftwf_tensor_copy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x520): undefined reference to `fftwf_tensor_destroy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x538): undefined reference to `fftwf_mkplan_dft'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x56d): undefined reference to `fftwf_ops_zero'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x5bd): undefined reference to `fftwf_mksolver'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x5db): undefined reference to `fftwf_solver_register'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x5ec): undefined reference to `fftwf_mksolver'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.text+0x610): undefined reference to `fftwf_solver_register'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-dft-vrank-geq1.o):dft-vrank-geq1.c:(.rdata+0x20): undefined reference to `fftwf_dft_solve'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x12b): undefined reference to `fftwf_ct_applicable'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x147): undefined reference to `fftwf_choose_radix'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x17b): undefined reference to `fftwf_tensor_tornk1'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x29f): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x3ab): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x542): undefined reference to `fftwf_mktensor_2d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x55d): undefined reference to `fftwf_mktensor_1d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x57a): undefined reference to `fftwf_mkproblem_dft_d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x585): undefined reference to `fftwf_mkplan_d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x5a9): undefined reference to `fftwf_mkplan_dft'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x5d5): undefined reference to `fftwf_ops_zero'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x5ff): undefined reference to `fftwf_ops_add2'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x61a): undefined reference to `fftwf_ops_add2'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x6ae): undefined reference to `fftwf_mktensor_2d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x6c7): undefined reference to `fftwf_mktensor_1d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x6ea): undefined reference to `fftwf_mkproblem_dft_d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x6f5): undefined reference to `fftwf_mkplan_d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x719): undefined reference to `fftwf_mkplan_dft'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x77f): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x7a0): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.text+0x8f8): undefined reference to `fftwf_mksolver'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-ct.o):ct.c:(.rdata+0x40): undefined reference to `fftwf_dft_solve'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x105): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x24f): undefined reference to `fftwf_pickdim'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x334): undefined reference to `fftwf_tensor_copy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x3cd): undefined reference to `fftwf_mkproblem_rdft'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x3dd): undefined reference to `fftwf_mkplan_d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x408): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x422): undefined reference to `fftwf_tensor_destroy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x434): undefined reference to `fftwf_tensor_destroy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x44c): undefined reference to `fftwf_mkplan_rdft'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x484): undefined reference to `fftwf_ops_zero'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x4af): undefined reference to `fftwf_ops_add2'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x4d8): undefined reference to `fftwf_tensor_copy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x4e0): undefined reference to `fftwf_tensor_destroy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x4f8): undefined reference to `fftwf_mkplan_rdft'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x52d): undefined reference to `fftwf_ops_zero'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x57d): undefined reference to `fftwf_mksolver'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x59b): undefined reference to `fftwf_solver_register'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x5ac): undefined reference to `fftwf_mksolver'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.text+0x5d0): undefined reference to `fftwf_solver_register'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-rdft-vrank-geq1.o):rdft-vrank-geq1.c:(.rdata+0x40): undefined reference to `fftwf_rdft_solve'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x12b): undefined reference to `fftwf_hc2hc_applicable'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x148): undefined reference to `fftwf_choose_radix'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x18c): undefined reference to `fftwf_tensor_tornk1'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x2ec): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x2ff): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x489): undefined reference to `fftwf_mktensor_2d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x4a6): undefined reference to `fftwf_mktensor_1d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x4bc): undefined reference to `fftwf_mkproblem_rdft_d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x4c7): undefined reference to `fftwf_mkplan_d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x4eb): undefined reference to `fftwf_mkplan_rdft'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x50f): undefined reference to `fftwf_ops_zero'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x530): undefined reference to `fftwf_ops_add2'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x54b): undefined reference to `fftwf_ops_add2'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x5c4): undefined reference to `fftwf_mktensor_2d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x5e1): undefined reference to `fftwf_mktensor_1d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x5f7): undefined reference to `fftwf_mkproblem_rdft_d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x602): undefined reference to `fftwf_mkplan_d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x622): undefined reference to `fftwf_mkplan_rdft'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x65f): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x680): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.text+0x7a4): undefined reference to `fftwf_mksolver'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-hc2hc.o):hc2hc.c:(.rdata+0x40): undefined reference to `fftwf_rdft_solve'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x125): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x26e): undefined reference to `fftwf_pickdim'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x31d): undefined reference to `fftwf_rdft2_strides'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x392): undefined reference to `fftwf_tensor_copy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x42b): undefined reference to `fftwf_mkproblem_rdft2'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x436): undefined reference to `fftwf_mkplan_d'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x468): undefined reference to `fftwf_plan_destroy_internal'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x482): undefined reference to `fftwf_tensor_destroy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x495): undefined reference to `fftwf_rdft2_inplace_strides'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x4c4): undefined reference to `fftwf_tensor_destroy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x4dc): undefined reference to `fftwf_mkplan_rdft2'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x51a): undefined reference to `fftwf_ops_zero'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x53f): undefined reference to `fftwf_ops_add2'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x568): undefined reference to `fftwf_tensor_copy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x570): undefined reference to `fftwf_tensor_destroy'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x588): undefined reference to `fftwf_mkplan_rdft2'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x5c3): undefined reference to `fftwf_ops_zero'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x61d): undefined reference to `fftwf_mksolver'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x63b): undefined reference to `fftwf_solver_register'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x64c): undefined reference to `fftwf_mksolver'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.text+0x670): undefined reference to `fftwf_solver_register'
../threads/.libs/libfftw3f_threads.a(libfftw3f_threads_la-vrank-geq1-rdft2.o):vrank-geq1-rdft2.c:(.rdata+0x40): undefined reference to `fftwf_rdft2_solve

Errors

collect2: error: ld returned 1 exit status
make[2]: *** [bench.exe] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Extra Info

Packages related to Ocaml

flexdll                       4.01.0~20140328-1+b2           amd64
libfindlib-ocaml              1.7.3-2                        amd64
ocaml-base-nox                4.05.0-10                      amd64
ocaml-compiler-libs           4.05.0-10                      amd64
ocaml-findlib                 1.7.3-2                        amd64
ocaml-interp                  4.05.0-10                      amd64
ocaml-mingw-w64-x86-64        4.01.0~20140328-1+b2           amd64
ocaml-nox                     4.05.0-10                      amd64
ocamlbuild                    0.11.0-3                       amd64

Packages related to mingw

binutils-mingw-w64-x86-64     2.30-13+8.1                    amd64
flexdll                       4.01.0~20140328-1+b2           amd64
g++-mingw-w64-x86-64          7.3.0-12+20.2+b1               amd64
gcc-mingw-w64-base            7.3.0-12+20.2+b1               amd64
gcc-mingw-w64-x86-64          7.3.0-12+20.2+b1               amd64
gdb-mingw-w64                 7.12-6+10.5                    amd64
gfortran-mingw-w64-x86-64     7.3.0-12+20.2+b1               amd64
gnat-mingw-w64-x86-64         7.3.0-12+20.2+b1               amd64
gobjc-mingw-w64-x86-64        7.3.0-12+20.2+b1               amd64
mingw-w64-common              5.0.3-1                        all
mingw-w64-tools               5.0.3-1                        amd64
mingw-w64-x86-64-dev          5.0.3-1                        all
ocaml-mingw-w64-x86-64        4.01.0~20140328-1+b2           amd64
win-iconv-mingw-w64-dev       0.0.8-2                        all

Packages related to gcc

gcc                           4:7.2.0-1d1                    amd64
gcc-6-base:amd64              6.4.0-12                       amd64
gcc-7                         7.3.0-16                       amd64
gcc-7-base:amd64              7.3.0-16                       amd64
gcc-8-base:amd64              8-20180414-1                   amd64
gcc-mingw-w64-base            7.3.0-12+20.2+b1               amd64
gcc-mingw-w64-x86-64          7.3.0-12+20.2+b1               amd64
libcc1-0:amd64                8-20180414-1                   amd64
libgcc-7-dev:amd64            7.3.0-16                       amd64
libgcc1:amd64                 1:8-20180414-1                 amd64
libgomp1:amd64                8-20180414-1                   amd64
libquadmath0:amd64            8-20180414-1                   amd64

Packages related to fortran

gfortran                      4:7.2.0-1d1                    amd64
gfortran-7                    7.3.0-16                       amd64
gfortran-mingw-w64-x86-64     7.3.0-12+20.2+b1               amd64
libgfortran-7-dev:amd64       7.3.0-16                       amd64
libgfortran4:amd64            7.3.0-16                       amd64

Other Packages

autoconf                      2.69-11                        all
automake                      1:1.15.1-3.1                   all
indent                        2.2.11-5                       amd64
make                          4.1-9.1                        amd64
@stevengj
Copy link
Contributor

stevengj commented Apr 23, 2018

Try configuring --with-combined-threads for Windows, where there are problems creating two shared libraries (libfftw3 and libfftw3_threads) that depend on one another.

@FrancescoMagliocco
Copy link
Author

FrancescoMagliocco commented Apr 23, 2018

I tried adding --with-combined-threads which was incompatible with --enable-openmp, so I took that out. During compilation, I received these errors.

libtool:   error: Could not determine the host path corresponding to
libtool:   error:   '/home/cmptr/.src/ffmpeg/fftw3/.libs'
libtool:   error: Continuing, but uninstalled executables may not work.
libtool:   error: Could not determine the host path corresponding to
libtool:   error:   '/home/cmptr/.src/ffmpeg/fftw3/.libs:/home/cmptr/.src/ffmpeg/ffbuild/lib:/home/cmptr/.src/ffmpeg/ffbuild/bin'
libtool:   error: Continuing, but uninstalled executables may not work.
/bin/bash: fig2dev: command not found
Makefile:1015: recipe for target 'rfftwnd.eps' failed
make[3]: *** [rfftwnd.eps] Error 127
make[3]: *** Waiting for unfinished jobs....
/bin/bash: fig2dev: command not found
Makefile:1021: recipe for target 'rfftwnd.pdf' failed
make[3]: *** [rfftwnd.pdf] Error 127
Updating ./version.texi
make[3]: Leaving directory '/home/cmptr/.src/ffmpeg/fftw3/doc'
Makefile:633: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/cmptr/.src/ffmpeg/fftw3/doc'
Makefile:708: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/cmptr/.src/ffmpeg/fftw3'
Makefile:552: recipe for target 'all' failed
make: *** [all] Error 2

I haven't looked that much into it, but I am going to right now. I notice that there is a command that isn't found, so that may be the issue, but I'm not sure if that is part of what is supposed to be built or not.

Update

Downloading fig2dev got rid of those errors but then command gs wasn't able to be found.

I have downloaded ghostscript, and performing another compilation.

Will report back.

Update

Now I got a warning saying that makeinfo was missing from my system. I'm going to install that and try again.

@stevengj
Copy link
Contributor

Note that you don't need makeinfo and all that if you use the official release tarball rather than git master. Building directly from git requires a lot of additional developer tools, and is not recommended for most users.

@FrancescoMagliocco
Copy link
Author

I know, I wanted to build from the the repo though so I can learn. I however did get it to work. All I needed was those extra packages. Thank you for your time and assistance. If it wasn't for your help, I wouldn't have made it this far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants