$ make cp lib/nvidia2/ml.pm blib/lib/nvidia2/ml.pm cp lib/nvidia2/ml/Utils.pm blib/lib/nvidia2/ml/Utils.pm cp lib/nvidia2/ml/bindings.pm blib/lib/nvidia2/ml/bindings.pm cp lib/nvidia2/smi.pm blib/lib/nvidia2/smi.pm Running Mkbootstrap for bindings () chmod 644 "bindings.bs" "/home/ken/perl5/perlbrew/perls/perl-5.34.0/bin/perl.exe" -MExtUtils::Command::MM -e 'cp_nonempty' -- bindings.bs blib/arch/auto/nvidia2/ml/bindings/bindings.bs 644 gcc -c -I. -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DUSEIMPORTLIB -O3 -DVERSION=\"5.00\" -DXS_VERSION=\"5.00\" "-I/home/ken/perl5/perlbrew/perls/perl-5.34.0/lib/5.34.0/cygwin-thread-multi/CORE" nvml_wrap.c rm -f blib/arch/auto/nvidia2/ml/bindings/bindings.dll g++ --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector-strong nvml_wrap.o -o blib/arch/auto/nvidia2/ml/bindings/bindings.dll \ /home/ken/perl5/perlbrew/perls/perl-5.34.0/lib/5.34.0/cygwin-thread-multi/CORE/cygperl5_34_0.dll -lpthread -ldl \ /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: nvml_wrap.o:nvml_wrap.c:(.text+0x6af5): undefined reference to `nvmlInit' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: nvml_wrap.o:nvml_wrap.c:(.text+0x6c05): undefined reference to `nvmlShutdown' ... several screenfuls of lines like that ... /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: nvml_wrap.o:nvml_wrap.c:(.text+0x1e977): undefined reference to `nvmlDeviceGetSupportedMemoryClocks' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: nvml_wrap.o:nvml_wrap.c:(.text+0x1e9ca): undefined reference to `nvmlDeviceGetSupportedGraphicsClocks' collect2: error: ld returned 1 exit status make: *** [Makefile:482: blib/arch/auto/nvidia2/ml/bindings/bindings.dll] Error 1