Those errors aren't indicative of a bug in make, so I've bcc:d the bug-make 
list.  Well done for quoting what you typed and the first error from the 
computer, but sadly things had already gone wrong before that point, perhaps 
during an earlier "configure" stage.  Perhaps the error there wasn't presented 
clearly.  I might hazard a guess - and it's no more than that - that the root 
of your troubles is the name of your home directory: I bet you'd have fewer 
troubles if it didn't contain a space.  Unix tools can, of course, cater to 
such directory names but Make doesn't make it easy, so it's rare for anyone to 
bother.

From: Bug-make [mailto:bug-make-bounces+martin.dorey=hds....@gnu.org] On Behalf 
Of Sherine Davis
Sent: Tuesday, December 20, 2016 01:17
To: bug-make@gnu.org
Subject: Make all throws alot of errors

I keep getting alot of errors for make all on every package that i try to 
install.
Please help


$make all
make  all-recursive
make[1]: Entering directory '/home/Sherine Davis/libmtp-1.1.12/libmtp-1.1.12'
Making all in src
make[2]: Entering directory '/home/Sherine 
Davis/libmtp-1.1.12/libmtp-1.1.12/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    
-IC:/msys64/mingw64/include/libusb-1.0 -g -O2 -Wall -Wmissing-prototypes -MT 
libmtp_la-libmtp.lo -MD -MP -MF .deps/libmtp_la-libmtp.Tpo -c -o 
libmtp_la-libmtp.lo `test -f 'libmtp.c' || echo './'`libmtp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. 
-IC:/msys64/mingw64/include/libusb-1.0 -g -O2 -Wall -Wmissing-prototypes -MT 
libmtp_la-libmtp.lo -MD -MP -MF .deps/libmtp_la-libmtp.Tpo -c libmtp.c  
-DDLL_EXPORT -DPIC -o .libs/libmtp_la-libmtp.o
libmtp.c: In function 'LIBMTP_Open_Raw_Device_Uncached':
libmtp.c:1885:17: error: 'PTPParams {aka struct _PTPParams}' has no member 
named 'cd_locale_to_ucs2'
   current_params->cd_locale_to_ucs2 = iconv_open("UCS-2LE", "UTF-8");
                 ^~
libmtp.c:1885:39: warning: implicit declaration of function 'iconv_open' 
[-Wimplicit-function-declaration]
   current_params->cd_locale_to_ucs2 = iconv_open("UCS-2LE", "UTF-8");
                                       ^~~~~~~~~~
libmtp.c:1886:17: error: 'PTPParams {aka struct _PTPParams}' has no member 
named 'cd_ucs2_to_locale'
   current_params->cd_ucs2_to_locale = iconv_open("UTF-8", "UCS-2LE");
                 ^~
libmtp.c:1888:20: error: 'PTPParams {aka struct _PTPParams}' has no member 
named 'cd_locale_to_ucs2'
   if(current_params->cd_locale_to_ucs2 == (iconv_t) -1 ||
                    ^~
libmtp.c:1888:44: error: 'iconv_t' undeclared (first use in this function)
   if(current_params->cd_locale_to_ucs2 == (iconv_t) -1 ||
                                            ^~~~~~~
libmtp.c:1888:44: note: each undeclared identifier is reported only once for 
each function it appears in
libmtp.c:1889:20: error: 'PTPParams {aka struct _PTPParams}' has no member 
named 'cd_ucs2_to_locale'
      current_params->cd_ucs2_to_locale == (iconv_t) -1) {
                    ^~
libmtp.c: In function 'LIBMTP_Release_Device':
libmtp.c:2435:3: warning: implicit declaration of function 'iconv_close' 
[-Wimplicit-function-declaration]
   iconv_close(params->cd_locale_to_ucs2);
   ^~~~~~~~~~~
libmtp.c:2435:21: error: 'PTPParams {aka struct _PTPParams}' has no member 
named 'cd_locale_to_ucs2'
   iconv_close(params->cd_locale_to_ucs2);
                     ^~
libmtp.c:2436:21: error: 'PTPParams {aka struct _PTPParams}' has no member 
named 'cd_ucs2_to_locale'
   iconv_close(params->cd_ucs2_to_locale);
                     ^~
libmtp.c: In function 'LIBMTP_Dump_Device_Info':
libmtp.c:3513:36: warning: unknown conversion type character 'l' in format 
[-Wformat=]
       printf("      MaxCapacity: %llu\n",
                                    ^
libmtp.c:3513:14: warning: too many arguments for format [-Wformat-extra-args]
       printf("      MaxCapacity: %llu\n",
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
libmtp.c:3513:36: warning: unknown conversion type character 'l' in format 
[-Wformat=]
       printf("      MaxCapacity: %llu\n",
                                    ^
libmtp.c:3513:14: warning: too many arguments for format [-Wformat-extra-args]
       printf("      MaxCapacity: %llu\n",
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
libmtp.c:3515:41: warning: unknown conversion type character 'l' in format 
[-Wformat=]
       printf("      FreeSpaceInBytes: %llu\n",
                                         ^
libmtp.c:3515:14: warning: too many arguments for format [-Wformat-extra-args]
       printf("      FreeSpaceInBytes: %llu\n",
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmtp.c:3515:41: warning: unknown conversion type character 'l' in format 
[-Wformat=]
       printf("      FreeSpaceInBytes: %llu\n",
                                         ^
libmtp.c:3515:14: warning: too many arguments for format [-Wformat-extra-args]
       printf("      FreeSpaceInBytes: %llu\n",
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmtp.c:3517:43: warning: unknown conversion type character 'l' in format 
[-Wformat=]
       printf("      FreeSpaceInObjects: %llu\n",
                                           ^
libmtp.c:3517:14: warning: too many arguments for format [-Wformat-extra-args]
       printf("      FreeSpaceInObjects: %llu\n",
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmtp.c:3517:43: warning: unknown conversion type character 'l' in format 
[-Wformat=]
       printf("      FreeSpaceInObjects: %llu\n",
                                           ^
libmtp.c:3517:14: warning: too many arguments for format [-Wformat-extra-args]
       printf("      FreeSpaceInObjects: %llu\n",
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:516: libmtp_la-libmtp.lo] Error 1
make[2]: Leaving directory '/home/Sherine Davis/libmtp-1.1.12/libmtp-1.1.12/src'
make[1]: *** [Makefile:525: all-recursive] Error 1
make[1]: Leaving directory '/home/Sherine Davis/libmtp-1.1.12/libmtp-1.1.12'
make: *** [Makefile:388: all] Error 2

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to