On Tuesday 15 October 2002 04:53 pm, [EMAIL PROTECTED] wrote: > Thanks very much for your replay > Is very interesting but how to change that declaration on mysql or > on the headers if there is any to modify. I have others Linux boxes > running mysql fine but each time I have to deal with the others > sparcs Solaris is really a real nightmare . > > Regards > > Jose Albert > > >[EMAIL PROTECTED] wrote: > >> Hi everyone! > >> I'm trying to build /mysql-3.23.53 on a sparc Solaris 9 box but > >> without any luck > >> Please guys can anyone give me an idea about? > >> > >> Any help will be highly appreciated > >> > >> -Jose > >> > >> Specs: solaris 9, gcc-3.2, mysql-3.23.53 > >> configured as: > >> > >> CC=gcc CFLAGS="-O3" \ > >> CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno- > >> rtti" \ > >> ./configure --prefix=/usr/local/mysql --localstatedir=/data -- > >> enable-assembler \ > >> --with-innodb --with-mysqld-ldflags=-all-static > >> > >> Here is the output > >> /... > >> > >> ONFIG_H -I./../include - > >> I./../regex -I. -I../include -I.. -I. -O3 - > >> DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti - > > fno- > > >> implicit-templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW - > >> DDEFINE_CXA_PURE_VIRTUAL -DHAVE_RWLOCK_T -c mysqld.cc > >> mysqld.cc: In function `void* handle_connections_sockets(void*)': > >> mysqld.cc:2410: invalid conversion from `size_socket*' to > >> `socklen_t*' > >> mysqld.cc:2476: invalid conversion from `size_socket*' to > >> `socklen_t*' > >> make[3]: *** [mysqld.o] Error 1 > >> make[3]: Leaving directory `/web/compile/mysql-3.23.53/sql' > >> make[2]: *** [all-recursive] Error 1 > >> make[2]: Leaving directory `/web/compile/mysql-3.23.53/sql' > >> make[1]: *** [all-recursive] Error 1 > >> make[1]: Leaving directory `/web/compile/mysql-3.23.53' > >> make: *** [all-recursive-am] Error 2 > >> > >> Thanks again > >> > >> ----------------------------------------------------------------- > > ---- > > >> Before posting, please check: > >> http://www.mysql.com/manual.php (the manual) > >> http://lists.mysql.com/ (the list archive) > >> > >> To request this thread, e-mail <mysql- > > [EMAIL PROTECTED]> > > >> To unsubscribe, e-mail <mysql-unsubscribe-kernel=nea- > > [EMAIL PROTECTED]> > > >> Trouble unsubscribing? Try: > > http://lists.mysql.com/php/unsubscribe.php > > >I've seen a similar problem converting some of our programs from > > Solaris gcc > > >2.8.1 > >to Linux gcc 2.96.X. > > > >We had to change from this on Solaris > > > >int newCxn = accept (listenSock, (struct sockaddr *) &addr, > > &addrlen); > > >to this for Linux > > > >int newCxn = accept (listenSock, (struct sockaddr *) &addr, > > (socklen_t *) > > >&addrlen); > > > >I haven't looked at mysql source so I dont know for sure.
Sparc/Solaris is great when everything is working, but I hate trying to fix it! Once we're through converting from Oracle on Solaris to Mysql on Linux, the last of our Sparc/Solaris boxes will be gone! Windows is next on the target. :-) Have you tried doing grep -ri sockaddr * from the top level of the mysql directory to see if you can find anything? -- Walter Anthony System Administrator National Electronic Attachment Atlanta, Georgia 1-800-782-5150 ext. 1608 "If it's not broke....tweak it" --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php