List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:May 26 1999 6:07pm
Subject:Re: Compile mysql-3.22.22 on Red Hat 6.0 intel
View as plain text  
I found the problem!!!

I did a make distclean and copied the directory to the RH6.0 machine.

When I extract from the source tarfile, it compiles ok.

Boy, Is my face red!

Gerald Clark wrote:
> 
> Every upgrade is an adventure!
> Compiled fine on SCO 5.0.4 and Debian 2.0 but I wanted to try the
> new networking code in RH6.0
> 
> All these Red Hat version changes must be driving you nuts.
> 
> If you need config.h, let me know.
> Here is the make.err file.
> 
> Thanks in advance.
> 
>     ---------------------------------------------------------------
> make all-recursive
> make[1]: Entering directory `/usr/src/express/mysql-3.22.22'
> Making all in Docs
> make[2]: Entering directory `/usr/src/express/mysql-3.22.22/Docs'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/src/express/mysql-3.22.22/Docs'
> Making all in readline
> make[2]: Entering directory `/usr/src/express/mysql-3.22.22/readline'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/src/express/mysql-3.22.22/readline'
> Making all in client
> make[2]: Entering directory `/usr/src/express/mysql-3.22.22/client'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/src/express/mysql-3.22.22/client'
> Making all in strings
> make[2]: Entering directory `/usr/src/express/mysql-3.22.22/strings'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/src/express/mysql-3.22.22/strings'
> Making all in dbug
> make[2]: Entering directory `/usr/src/express/mysql-3.22.22/dbug'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/src/express/mysql-3.22.22/dbug'
> Making all in mysys
> make[2]: Entering directory `/usr/src/express/mysql-3.22.22/mysys'
> gcc -DDEFAULT_BASEDIR=\"/usr/local/mysql\" -DHAVE_CONFIG_H -I./../include
> -I../include -I..  -O6   -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c my_pthread.c
> In file included from ../include/global.h:50,
>                  from mysys_priv.h:4,
>                  from my_pthread.c:6:
> /usr/include/pthread.h:186: warning: `struct sched_param' declared inside parameter
> list
> /usr/include/pthread.h:186: warning: its scope is only this definition or
> declaration,
> /usr/include/pthread.h:186: warning: which is probably not what you want.
> /usr/include/pthread.h:190: warning: `struct sched_param' declared inside parameter
> list
> /usr/include/pthread.h:251: warning: `struct sched_param' declared inside parameter
> list
> /usr/include/pthread.h:256: warning: `struct sched_param' declared inside parameter
> list
> my_pthread.c: In function `my_pthread_setprio':
> my_pthread.c:20: storage size of `tmp_sched_param' isn't known
> my_pthread.c:23: `SCHED_OTHER' undeclared (first use in this function)
> my_pthread.c:23: (Each undeclared identifier is reported only once
> my_pthread.c:23: for each function it appears in.)
> my_pthread.c: In function `my_pthread_getprio':
> my_pthread.c:32: storage size of `tmp_sched_param' isn't known
> my_pthread.c: In function `my_pthread_attr_setprio':
> my_pthread.c:49: storage size of `tmp_sched_param' isn't known
> make[2]: *** [my_pthread.o] Error 1
> make[2]: Leaving directory `/usr/src/express/mysql-3.22.22/mysys'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/express/mysql-3.22.22'
> make: *** [all-recursive-am] Error 2
> 
>     ---------------------------------------------------------------
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail mysql-thread3968@stripped
> 
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail mysql-unsubscribe@stripped instead.
Thread
Compile mysql-3.22.22 on Red Hat 6.0 intelGerald Clark26 May
  • Re: Compile mysql-3.22.22 on Red Hat 6.0 intelGerald Clark26 May