A Newbie question about make and the term.c file
I am trying to install mysql 5.1.59 on my ppc running os x and I get this error message in the term.c file. cc1: warnings being treated as errors term.c: In function ‘term_set’: term.c:946: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:947: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:949: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:950: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:952: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:953: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:955: warning: passing argument 1 of ‘tgetnum’ discards qualifiers from pointer target type term.c:956: warning: passing argument 1 of ‘tgetnum’ discards qualifiers from pointer target type make[2]: *** [term.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 I can't figure out what it means or how to fix it. Help please. Peter
Re: A Newbie question about make and the term.c file
I can't help directly with the error message (the warning seems fairly harmless), but may I inquire why you are building MySQL instead of using one of the prepared binaries? Compiling under OS/X can be pretty harrowing. - michael dykman On Sat, Oct 8, 2011 at 2:49 AM, Peter Schrock peter.schr...@gmail.comwrote: I am trying to install mysql 5.1.59 on my ppc running os x and I get this error message in the term.c file. cc1: warnings being treated as errors term.c: In function ‘term_set’: term.c:946: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:947: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:949: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:950: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:952: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:953: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:955: warning: passing argument 1 of ‘tgetnum’ discards qualifiers from pointer target type term.c:956: warning: passing argument 1 of ‘tgetnum’ discards qualifiers from pointer target type make[2]: *** [term.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 I can't figure out what it means or how to fix it. Help please. Peter -- - michael dykman - mdyk...@gmail.com May the Source be with you.
Re: A Newbie question about make and the term.c file
I can understand your point, however, as stated, I am using a ppc architecture and am not afforded the luxury of binaries in the most up to date versions. I know using 5.1.59 isn't the most up to date, but I was also having issues with the most current version. I might start with the most current binary for ppc and then try upgrading. About the error, I am sure it is harmless, but I can't get past it, which means I can't use mysql. Peter On Oct 8, 2011, at 7:54 AM, Michael Dykman mdyk...@gmail.com wrote: I can't help directly with the error message (the warning seems fairly harmless), but may I inquire why you are building MySQL instead of using one of the prepared binaries? Compiling under OS/X can be pretty harrowing. - michael dykman On Sat, Oct 8, 2011 at 2:49 AM, Peter Schrock peter.schr...@gmail.comwrote: I am trying to install mysql 5.1.59 on my ppc running os x and I get this error message in the term.c file. cc1: warnings being treated as errors term.c: In function ‘term_set’: term.c:946: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:947: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:949: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:950: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:952: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:953: warning: passing argument 1 of ‘tgetflag’ discards qualifiers from pointer target type term.c:955: warning: passing argument 1 of ‘tgetnum’ discards qualifiers from pointer target type term.c:956: warning: passing argument 1 of ‘tgetnum’ discards qualifiers from pointer target type make[2]: *** [term.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 I can't figure out what it means or how to fix it. Help please. Peter -- - michael dykman - mdyk...@gmail.com May the Source be with you.