hreinecke / sg3_utils

Deprecated git-svn mirror for sg3_utils
http://sg.danny.cz/sg/sg3_utils.html
Other
154 stars 91 forks source link

How to build sg utility for Windows #83

Open hsuedw opened 2 years ago

hsuedw commented 2 years ago

Hi

I need to build sg utility from source code for my Windows Server.

I downloaded sg3_utils-1.46.tar.xz

I also installed mingw-w64 in my Ubuntu 20.04.

Then, I use the following commands to build sg utility for my Windows Server. ./configure --enable-lib32 --enable-lib64 --enable-experimental --host=x86_64-w64-mingw32 make

Then, I have following error messages. Does anyone know how to build sg utility from source code for a Window system?

o -c -o sg_bg_ctl.o sg_bg_ctl.c mv -f .deps/sg_bg_ctl.Tpo .deps/sg_bg_ctl.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_bg_ctl.exe sg_bg_ctl.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_bg_ctl.exe sg_bg_ctl.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_compare_and_write.o -MD -MP -MF .deps/sg_compare_and_write.Tpo -c -o sg_compare_and_write.o sg_compare_and_write.c mv -f .deps/sg_compare_and_write.Tpo .deps/sg_compare_and_write.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_compare_and_write.exe sg_compare_and_write.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_compare_and_write.exe sg_compare_and_write.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_decode_sense.o -MD -MP -MF .deps/sg_decode_sense.Tpo -c -o sg_decode_sense.o sg_decode_sense.c mv -f .deps/sg_decode_sense.Tpo .deps/sg_decode_sense.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_decode_sense.exe sg_decode_sense.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_decode_sense.exe sg_decode_sense.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_format.o -MD -MP -MF .deps/sg_format.Tpo -c -o sg_format.o sg_format.c mv -f .deps/sg_format.Tpo .deps/sg_format.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_format.exe sg_format.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_format.exe sg_format.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_get_config.o -MD -MP -MF .deps/sg_get_config.Tpo -c -o sg_get_config.o sg_get_config.c mv -f .deps/sg_get_config.Tpo .deps/sg_get_config.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_get_config.exe sg_get_config.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_get_config.exe sg_get_config.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_get_elem_status.o -MD -MP -MF .deps/sg_get_elem_status.Tpo -c -o sg_get_elem_status.o sg_get_elem_status.c mv -f .deps/sg_get_elem_status.Tpo .deps/sg_get_elem_status.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_get_elem_status.exe sg_get_elem_status.o ../lib/libsgutils2.la f .deps/sg_compare_and_write.Tpo .deps/sg_compare_and_write.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_compare_and_write.exe sg_compare_and_write.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_compare_and_write.exe sg_compare_and_write.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib liblibtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_get_elem_status.exe sg_get_elem_status.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_get_lba_status.o -MD -MP -MF .deps/sg_get_lba_status.Tpo -c -o sg_get_lba_status.o sg_get_lba_status.c mv -f .deps/sg_get_lba_status.Tpo .deps/sg_get_lba_status.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_get_lba_status.exe sg_get_lba_status.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_get_lba_status.exe sg_get_lba_status.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_ident.o -MD -MP -MF .deps/sg_ident.Tpo -c -o sg_ident.o sg_ident.c mv -f .deps/sg_ident.Tpo .deps/sg_ident.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_ident.exe sg_ident.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_ident.exe sg_ident.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -MT sg_inq.o -MD -MP -MF .deps/sg_inq.Tpo -c -o sg_inq.o sg_inq.c mv -f .deps/sg_inq.Tpo .deps/sg_inq.Po x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_inq_data.o -MD -MP -MF .deps/sg_inq_data.Tpo -c -o sg_inq_data.o sg_inq_data.c mv -f .deps/sg_inq_data.Tpo .deps/sg_inq_data.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_inq.exe sg_inq.o sg_inq_data.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_inq.exe sg_inq.o sg_inq_data.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_logs.o -MD -MP -MF .deps/sg_logs.Tpo -c -o sg_logs.o sg_logs.c mv -f .deps/sg_logs.Tpo .deps/sg_logs.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_logs.exe sg_logs.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_logs.exe sg_logs.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_luns.o -MD -MP -MF .deps/sg_luns.Tpo -c -o sg_luns.o sg_luns.c mv -f .deps/sg_luns.Tpo .deps/sg_luns.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_luns.exe sg_luns.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_luns.exe sg_luns.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. f .deps/sg_compare_and_write.Tpo .deps/sg_compare_and_write.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_compare_and_write.exe sg_compare_and_write.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_compare_and_write.exe sg_compare_and_write.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libx86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_modes.o -MD -MP -MF .deps/sg_modes.Tpo -c -o sg_modes.o sg_modes.c mv -f .deps/sg_modes.Tpo .deps/sg_modes.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_modes.exe sg_modes.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_modes.exe sg_modes.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_opcodes.o -MD -MP -MF .deps/sg_opcodes.Tpo -c -o sg_opcodes.o sg_opcodes.c mv -f .deps/sg_opcodes.Tpo .deps/sg_opcodes.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_opcodes.exe sg_opcodes.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_opcodes.exe sg_opcodes.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_persist.o -MD -MP -MF .deps/sg_persist.Tpo -c -o sg_persist.o sg_persist.c mv -f .deps/sg_persist.Tpo .deps/sg_persist.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_persist.exe sg_persist.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_persist.exe sg_persist.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_prevent.o -MD -MP -MF .deps/sg_prevent.Tpo -c -o sg_prevent.o sg_prevent.c mv -f .deps/sg_prevent.Tpo .deps/sg_prevent.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_prevent.exe sg_prevent.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_prevent.exe sg_prevent.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_raw.o -MD -MP -MF .deps/sg_raw.Tpo -c -o sg_raw.o sg_raw.c mv -f .deps/sg_raw.Tpo .deps/sg_raw.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_raw.exe sg_raw.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_raw.exe sg_raw.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_rdac.o -MD -MP -MF .deps/sg_rdac.Tpo -c -o sg_rdac.o sg_rdac.c mv -f .deps/sg_rdac.Tpo .deps/sg_rdac.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_rdac.exe sg_rdac.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_rdac.exe sg_rdac.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_read_attr.o -MD -MP -MF .deps/sg_read_attr.Tpo -c -o sg_read_attr.o sg_read_attr.c mv -f .deps/sg_read_attr.Tpo .deps/sg_read_attr.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_read_attr.exe sg_read_attr.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_read_attr.exe sg_read_attr.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_read_block_limits.o -MD -MP -MF .deps/sg_read_block_limits.Tpo -c -o sg_read_block_limits.o sg_read_block_limits.c mv -f .deps/sg_read_block_limits.Tpo .deps/sg_read_block_limits.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_read_block_limits.exe sg_read_block_limits.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_read_block_limits.exe sg_read_block_limits.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_read_buffer.o -MD -MP -MF .deps/sg_read_buffer.Tpo -c -o sg_read_buffer.o sg_read_buffer.c mv -f .deps/sg_read_buffer.Tpo .deps/sg_read_buffer.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_read_buffer.exe sg_read_buffer.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_read_buffer.exe sg_read_buffer.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_read_long.o -MD -MP -MF .deps/sg_read_long.Tpo -c -o sg_read_long.o sg_read_long.c mv -f .deps/sg_read_long.Tpo .deps/sg_read_long.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_read_long.exe sg_read_long.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_read_long.exe sg_read_long.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. f .deps/sg_compare_and_write.Tpo .deps/sg_compare_and_write.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_compare_and_write.exe sg_compare_and_write.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_compare_and_write.exe sg_compare_and_write.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib liblibtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. f .deps/sg_compare_and_write.Tpo .deps/sg_compare_and_write.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_compare_and_write.exe sg_compare_and_write.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_compare_and_write.exe sg_compare_and_write.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libx86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_readcap.o -MD -MP -MF .deps/sg_readcap.Tpo -c -o sg_readcap.o sg_readcap.c mv -f .deps/sg_readcap.Tpo .deps/sg_readcap.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_readcap.exe sg_readcap.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_readcap.exe sg_readcap.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_reassign.o -MD -MP -MF .deps/sg_reassign.Tpo -c -o sg_reassign.o sg_reassign.c mv -f .deps/sg_reassign.Tpo .deps/sg_reassign.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_reassign.exe sg_reassign.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_reassign.exe sg_reassign.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_referrals.o -MD -MP -MF .deps/sg_referrals.Tpo -c -o sg_referrals.o sg_referrals.c mv -f .deps/sg_referrals.Tpo .deps/sg_referrals.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_referrals.exe sg_referrals.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_referrals.exe sg_referrals.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_rep_pip.o -MD -MP -MF .deps/sg_rep_pip.Tpo -c -o sg_rep_pip.o sg_rep_pip.c mv -f .deps/sg_rep_pip.Tpo .deps/sg_rep_pip.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_rep_pip.exe sg_rep_pip.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_rep_pip.exe sg_rep_pip.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_rep_zones.o -MD -MP -MF .deps/sg_rep_zones.Tpo -c -o sg_rep_zones.o sg_rep_zones.c mv -f .deps/sg_rep_zones.Tpo .deps/sg_rep_zones.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_rep_zones.exe sg_rep_zones.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_rep_zones.exe sg_rep_zones.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_requests.o -MD -MP -MF .deps/sg_requests.Tpo -c -o sg_requests.o sg_requests.c mv -f .deps/sg_requests.Tpo .deps/sg_requests.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_requests.exe sg_requests.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_requests.exe sg_requests.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_reset_wp.o -MD -MP -MF .deps/sg_reset_wp.Tpo -c -o sg_reset_wp.o sg_reset_wp.c mv -f .deps/sg_reset_wp.Tpo .deps/sg_reset_wp.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_reset_wp.exe sg_reset_wp.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_reset_wp.exe sg_reset_wp.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_rmsn.o -MD -MP -MF .deps/sg_rmsn.Tpo -c -o sg_rmsn.o sg_rmsn.c mv -f .deps/sg_rmsn.Tpo .deps/sg_rmsn.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_rmsn.exe sg_rmsn.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_rmsn.exe sg_rmsn.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_rtpg.o -MD -MP -MF .deps/sg_rtpg.Tpo -c -o sg_rtpg.o sg_rtpg.c mv -f .deps/sg_rtpg.Tpo .deps/sg_rtpg.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_rtpg.exe sg_rtpg.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_rtpg.exe sg_rtpg.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_safte.o -MD -MP -MF .deps/sg_safte.Tpo -c -o sg_safte.o sg_safte.c mv -f .deps/sg_safte.Tpo .deps/sg_safte.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_safte.exe sg_safte.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_safte.exe sg_safte.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_sanitize.o -MD -MP -MF .deps/sg_sanitize.Tpo -c -o sg_sanitize.o sg_sanitize.c mv -f .deps/sg_sanitize.Tpo .deps/sg_sanitize.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_sanitize.exe sg_sanitize.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_sanitize.exe sg_sanitize.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_sat_identify.o -MD -MP -MF .deps/sg_sat_identify.Tpo -c -o sg_sat_identify.o sg_sat_identify.c mv -f .deps/sg_sat_identify.Tpo .deps/sg_sat_identify.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_sat_identify.exe sg_sat_identify.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_sat_identify.exe sg_sat_identify.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_sat_phy_event.o -MD -MP -MF .deps/sg_sat_phy_event.Tpo -c -o sg_sat_phy_event.o sg_sat_phy_event.c mv -f .deps/sg_sat_phy_event.Tpo .deps/sg_sat_phy_event.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_sat_phy_event.exe sg_sat_phy_event.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_sat_phy_event.exe sg_sat_phy_event.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_sat_read_gplog.o -MD -MP -MF .deps/sg_sat_read_gplog.Tpo -c -o sg_sat_read_gplog.o sg_sat_read_gplog.c mv -f .deps/sg_sat_read_gplog.Tpo .deps/sg_sat_read_gplog.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_sat_read_gplog.exe sg_sat_read_gplog.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_sat_read_gplog.exe sg_sat_read_gplog.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_sat_set_features.o -MD -MP -MF .deps/sg_sat_set_features.Tpo -c -o sg_sat_set_features.o sg_sat_set_features.c mv -f .deps/sg_sat_set_features.Tpo .deps/sg_sat_set_features.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_sat_set_features.exe sg_sat_set_features.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_sat_set_features.exe sg_sat_set_features.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_seek.o -MD -MP -MF .deps/sg_seek.Tpo -c -o sg_seek.o sg_seek.c mv -f .deps/sg_seek.Tpo .deps/sg_seek.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_seek.exe sg_seek.o ../lib/libsgutils2.la
libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_seek.exe sg_seek.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_senddiag.o -MD -MP -MF .deps/sg_senddiag.Tpo -c -o sg_senddiag.o sg_senddiag.c mv -f .deps/sg_senddiag.Tpo .deps/sg_senddiag.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_senddiag.exe sg_senddiag.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_senddiag.exe sg_senddiag.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_ses.o -MD -MP -MF .deps/sg_ses.Tpo -c -o sg_ses.o sg_ses.c mv -f .deps/sg_ses.Tpo .deps/sg_ses.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_ses.exe sg_ses.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_ses.exe sg_ses.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_ses_microcode.o -MD -MP -MF .deps/sg_ses_microcode.Tpo -c -o sg_ses_microcode.o sg_ses_microcode.c mv -f .deps/sg_ses_microcode.Tpo .deps/sg_ses_microcode.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_ses_microcode.exe sg_ses_microcode.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_ses_microcode.exe sg_ses_microcode.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_start.o -MD -MP -MF .deps/sg_start.Tpo -c -o sg_start.o sg_start.c mv -f .deps/sg_start.Tpo .deps/sg_start.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_start.exe sg_start.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_start.exe sg_start.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_stpg.o -MD -MP -MF .deps/sg_stpg.Tpo -c -o sg_stpg.o sg_stpg.c mv -f .deps/sg_stpg.Tpo .deps/sg_stpg.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_stpg.exe sg_stpg.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_stpg.exe sg_stpg.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_stream_ctl.o -MD -MP -MF .deps/sg_stream_ctl.Tpo -c -o sg_stream_ctl.o sg_stream_ctl.c mv -f .deps/sg_stream_ctl.Tpo .deps/sg_stream_ctl.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_stream_ctl.exe sg_stream_ctl.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_stream_ctl.exe sg_stream_ctl.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_sync.o -MD -MP -MF .deps/sg_sync.Tpo -c -o sg_sync.o sg_sync.c mv -f .deps/sg_sync.Tpo .deps/sg_sync.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_sync.exe sg_sync.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_sync.exe sg_sync.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_timestamp.o -MD -MP -MF .deps/sg_timestamp.Tpo -c -o sg_timestamp.o sg_timestamp.c mv -f .deps/sg_timestamp.Tpo .deps/sg_timestamp.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_timestamp.exe sg_timestamp.o ../lib/libsgutils2.la libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o .libs/sg_timestamp.exe sg_timestamp.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs' libtool: error: Continuing, but uninstalled executables may not work. libtool: error: Could not determine the host path corresponding to libtool: error: '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/lib/.libs:/usr/local/lib:/usr/local/bin' libtool: error: Continuing, but uninstalled executables may not work. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -MT sg_turs.o -MD -MP -MF .deps/sg_turs.Tpo -c -o sg_turs.o sg_turs.c mv -f .deps/sg_turs.Tpo .deps/sg_turs.Po /bin/bash ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -W -g -O2 -DUSE_MINGW_ANSI_STDIO -o sg_turs.exe sg_turs.o ../lib/libsgutils2.la
libtool: link: x86_64-w64-mingw32-gcc -Wall -W -g -O2 -D__USE_MINGW_ANSI_STDIO -o .libs/sg_turs.exe sg_turs.o ../lib/.libs/libsgutils2.dll.a -L/usr/local/lib /usr/bin/x86_64-w64-mingw32-ld: sg_turs.o: in function wait_millisecs': /home/edward/workspace/sg_utility/win/sg3_utils-1.47/src/sg_turs.c:340: undefined reference tonanosleep' collect2: error: ld returned 1 exit status make[2]: [Makefile:1027: sg_turs.exe] Error 1 make[2]: Leaving directory '/home/edward/workspace/sg_utility/win/sg3_utils-1.47/src' make[1]: [Makefile:405: all-recursive] Error 1 make[1]: Leaving directory '/home/edward/workspace/sg_utility/win/sg3_utils-1.47' make: *** [Makefile:337: all] Error 2

Zibri commented 1 year ago

In MINGW64 I just did:

I just wish to know how to make them stand-alone.. they work in mingw but not invoked from a command prompt.

Zibri commented 1 year ago

I just tried from Ubuntu 20 and I have your same problem.