mysql-compile error (Apachetoolbox)

Jan-Benedict Glaw jbglaw at lug-owl.de
Wed Jan 8 15:29:02 CET 2003


On Wed, 2003-01-08 14:42:54 +0100, Christian Menßen <th0r4x at web.de>
wrote in message <3E1C2ADE.9030007 at web.de>:
> Jan-Benedict Glaw schrieb:
> >On Wed, 2003-01-08 14:15:32 +0100, Christian Menßen <th0r4x at web.de>
> >wrote in message <3E1C2474.9080009 at web.de>:
> >>Jan-Benedict Glaw schrieb:
> >>>On Wed, 2003-01-08 13:44:14 +0100, Christian Menßen <th0r4x at web.de>

Jetzt kommen wir näher:-)

> >>>>Jan-Benedict Glaw schrieb:

> Making all in libmysql
> make[2]: Entering directory `/usr/src/Apachetoolbox-1.5.64/src/mysql-3.23.52/libmysql'
> /bin/sh ../libtool --mode=compile gcc -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql-3.23.52\"" 			-DDATADIR="\"/usr/local/lib/mysql\"" 			-DSHAREDIR="\"/usr/local/lib/mysql/mysql\"" -DUNDEF_THREADS_HACK -DDONT_USE_RAID  -I./../include -I../include 		-I./.. -I.. -I..  -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include  -O3 -DDBUG_OFF   -c libmysql.c

Von "-DUNDEF_THREADS_HACK" ist da die Rede, das wird so auch an den
C-Compiler weitergegeben, wie man unten sieht.

> rm -f .libs/libmysql.lo
> gcc -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql-3.23.52\" -DDATADIR=\"/usr/local/lib/mysql\" -DSHAREDIR=\"/usr/local/lib/mysql/mysql\" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -I./../include -I../include -I./.. -I.. -I.. -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -O3 -DDBUG_OFF -c libmysql.c  -fPIC -DPIC
> cc1: warning: changing search order for system directory "/usr/local/include"
> cc1: warning:   as it has already been specified as a non-system directory
> cc1: warning: changing search order for system directory "/usr/include"
> cc1: warning:   as it has already been specified as a non-system directory

So, zwei Dinge fallen mir auf. Einmal, daß "-DUNDEF_THREADS_HACK" als
Parameter angegeben wird. Das könnte u.U. schon das Problem sein. Such'
doch einfach mal in den Sourcen nach "UNDEF_THREADS_HACK".  Teil zwei
ist, daß /usr/local/include mitbenutzt wird. Gibt's da header files?
Könnten die u.U. in Konflike zu denen der glibc (/usr/include) stehen?

Ich tippe allerdings eher auf UNDEF_THREADS_HACK...

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur
    fuer einen Freien Staat voll Freier Bürger" | im Internet!
   Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20030108/a798b11b/attachment.sig>


More information about the Linux mailing list