[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 <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[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. --------------------------------------------------------------------- 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