I don't really know what might be causing this. You might have to ask some Cygwin experts.
But one possibility is that there are some unsupported characters in the path to where you are building MPIR. Bill. On Thu, 10 Jan 2019 at 07:47, Chintan Joshi <[email protected]> wrote: > Hi guys, > I need MPIR for a package I am trying to use. I have a Windows 10 machine. > I start with: > > $ ./configure --disable-static --enable-shared > > This appears to go without any hiccups. However, when I run "make ". I > even tried make install; no luck yet. Any help would be highly appreciated. > Please do let me know if I can provide with any information from my end to > help troubleshoot this issue. Below is the what I see: > > $ make > E:/programs/GnuWin32/bin/make all-recursive > make[1]: Entering directory `E:/mpir-3.0.0' > Making all in tests > make[2]: Entering directory `E:/mpir-3.0.0/tests' > makefile:1309: warning: overriding commands for target `.s.o' > makefile:1294: warning: ignoring old commands for target `.s.o' > makefile:1313: warning: overriding commands for target `.s.obj' > makefile:1296: warning: ignoring old commands for target `.s.obj' > makefile:1317: warning: overriding commands for target `.s.lo' > makefile:1298: warning: ignoring old commands for target `.s.lo' > Making all in . > make[3]: Entering directory `E:/mpir-3.0.0/tests' > makefile:1309: warning: overriding commands for target `.s.o' > makefile:1294: warning: ignoring old commands for target `.s.o' > makefile:1313: warning: overriding commands for target `.s.obj' > makefile:1296: warning: ignoring old commands for target `.s.obj' > makefile:1317: warning: overriding commands for target `.s.lo' > makefile:1298: warning: ignoring old commands for target `.s.lo' > make[3]: Nothing to be done for `all-am'. > make[3]: Leaving directory `E:/mpir-3.0.0/tests' > Making all in devel > make[3]: Entering directory `E:/mpir-3.0.0/tests/devel' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `E:/mpir-3.0.0/tests/devel' > Making all in mpn > make[3]: Entering directory `E:/mpir-3.0.0/tests/mpn' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `E:/mpir-3.0.0/tests/mpn' > Making all in fft > make[3]: Entering directory `E:/mpir-3.0.0/tests/fft' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `E:/mpir-3.0.0/tests/fft' > Making all in mpz > make[3]: Entering directory `E:/mpir-3.0.0/tests/mpz' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `E:/mpir-3.0.0/tests/mpz' > Making all in mpq > make[3]: Entering directory `E:/mpir-3.0.0/tests/mpq' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `E:/mpir-3.0.0/tests/mpq' > Making all in mpf > make[3]: Entering directory `E:/mpir-3.0.0/tests/mpf' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `E:/mpir-3.0.0/tests/mpf' > Making all in rand > make[3]: Entering directory `E:/mpir-3.0.0/tests/rand' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `E:/mpir-3.0.0/tests/rand' > Making all in misc > make[3]: Entering directory `E:/mpir-3.0.0/tests/misc' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `E:/mpir-3.0.0/tests/misc' > Making all in cxx > make[3]: Entering directory `E:/mpir-3.0.0/tests/cxx' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `E:/mpir-3.0.0/tests/cxx' > make[2]: Leaving directory `E:/mpir-3.0.0/tests' > Making all in mpn > make[2]: Entering directory `E:/mpir-3.0.0/mpn' > makefile:686: warning: overriding commands for target `.s.o' > makefile:671: warning: ignoring old commands for target `.s.o' > makefile:690: warning: overriding commands for target `.s.obj' > makefile:673: warning: ignoring old commands for target `.s.obj' > makefile:694: warning: overriding commands for target `.s.lo' > makefile:675: warning: ignoring old commands for target `.s.lo' > E:/cygwin64/bin/sh.exe ../libtool --tag=CC --mode=compile gcc > -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo dummy1 > | sed 's/_$//'` -O2 -c -o dummy1.lo dummy1.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. > -DOPERATION_dummy1 -O2 -c dummy1.c -DDLL_EXPORT -DPIC -o .libs/dummy1.o > E:/cygwin64/bin/sh.exe ../libtool --tag=CC --mode=compile gcc > -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo add | > sed 's/_$//'` -O2 -c -o add.lo add.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. > -DOPERATION_add -O2 -c add.c -DDLL_EXPORT -DPIC -o .libs/add.o > add.c:1:1: error: expected identifier or '(' before '!' token > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:11: error: stray '\377' in program > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:12: error: stray '\376' in program > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:14: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:16: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:18: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:20: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:22: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:24: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:26: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:28: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:30: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:32: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:34: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:36: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:38: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:40: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:42: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:44: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:46: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:48: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:50: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > add.c:1:52: warning: null character(s) ignored > !<symlink>▒▒. . / m p n / g e n e r i c / a d d . c > ^ > make[2]: *** [add.lo] Error 1 > make[2]: Leaving directory `E:/mpir-3.0.0/mpn' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `E:/mpir-3.0.0' > make: *** [all] Error 2 > > Cheers, > Chintan > > -- > You received this message because you are subscribed to the Google Groups > "mpir-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/mpir-devel. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mpir-devel. For more options, visit https://groups.google.com/d/optout.
