-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 9/2/10 10:02 PM, Zhen Zhang wrote: > Hi, > I have been trying to install m681x-gcc compiler on my mac using > "fink install m681x-gcc" but kept getting the error message below.
You _should_ get the same error every time in a sane build system, unless something changes between attempts. > Can anyone help me on this? Thanks. > > gcc -DHAVE_CONFIG_H -I. -I../../binutils -I. -D_GNU_SOURCE -I. -I../ > ../binutils -I../bfd -I../../binutils/../bfd -I../../binutils/../include > -I../../binutils/../intl -I../intl > -DLOCALEDIR="\"/sw/share/m6811/share/locale\" > " -Dbin_dummy_emulation=bin_vanilla_emulation -I/sw/include -W -Wall > -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c > ../../binutils/strings.c > cc1: warnings being treated as errors > ../../binutils/strings.c: In function 'strings_file': > ../../binutils/strings.c:435: warning: 'stat64' is deprecated > (declared at /usr/include/sys/stat.h:465) > make[4]: *** [strings.o] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-binutils] Error 2 > make: *** [all] Error 2 > ### execution of /var/tmp/tmp.1.ZgD86g failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-m681x-binutils-2.17-1 > (Reading database ... 93275 files and directories currently installed.) > Removing fink-buildlock-m681x-binutils-2.17-1 ... > Failed: phase compiling: m681x-binutils-2.17-1 failed > It looks like the package needs to be modified not to treat warnings as errors, at least at this line. - -- Alexander Hansen Fink User Liaison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyA5pYACgkQB8UpO3rKjQ+7PQCgnKdsqTOYyzAPypdBXuL6480k CCMAoI7QB8A8hVXjm+IVQoJXgy6/UtRN =ejP2 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
