List:General Discussion« Previous MessageNext Message »
From:<sinisa Date:July 14 1999 2:12pm
Subject:Error compiling 3.22.25 on SGI IRIX 6.2
View as plain text  
mysql@stripped writes:
 > Hi!
 > 
 > 	I am trying to compile MySQL 3.22.25 on a SGI running IRIX 6.2 ... I am
 > using gcc 2.8.1 (c++ and all)... I runned the following configure:
 > 
 > [bmatt@IRIS mysql-3.22.25]$ MAKE=/usr/freeware/bin/gmake ./configure --prefix=/
 > usr/local/mysql --with-mit-thread --enable-large-files
 > 
 > I pass the configuration and then issue the gmake ... I get the following
 > error:
 > 
 > gcc -I. -Iinclude -I/usr/people/bmatt/soft/mysql-3.22.25/mit-pthreads/include
 > -DPTHREAD_KERNEL -O6   -DDBUG_OFF -Werror -c machdep.c -o obj/machdep.o
 > cc1: warnings being treated as errors
 > machdep.c: In function `__machdep_pthread_create':
 > machdep.c:132: warning: cast to pointer from integer of different size
 > gmake[2]: *** [obj/machdep.o] Error 1
 > gmake[2]: Leaving directory `/usr/people/bmatt/soft/mysql-3.22.25/mit-pthreads'
 > gmake[1]: *** [all-recursive] Error 1
 > gmake[1]: Leaving directory `/usr/people/bmatt/soft/mysql-3.22.25'
 > gmake: *** [all-recursive-am] Error 2
 > 
 > Anyone can give a hint if I am doing something wrong?
 > 
 > TIA
 > 
 > /B

Hi!

Please read carefully a manual, the chapter related to IRIX>

You should get IRIX patches for threads from SGI and compile it with
local (SGI) thread support.


Sinisa

+----------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___     ==  mysql@stripped            |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic          |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@stripped|
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus             |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                             |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                            |
|             /*/             \*\                Developers Team       |
+----------------------------------------------------------------------+
Thread
Error compiling 3.22.25 on SGI IRIX 6.2mysql14 Jul
  • Error compiling 3.22.25 on SGI IRIX 6.2sinisa14 Jul