Hello,
Can anybody help me out in solving the build error
problem for mysql

I am trying to build  MySQL-3.23.49-1.src.rpm with the
linux command "rpm --rebuild MySQL-3.23.49-1.src.rpm".
Using redhat linux 6.2 with glibc2.1.3.

Following is the error while compiling-------------

make[2]: Entering directory
`/usr/src/redhat/BUILD/mysql-3.23.49/client'
gcc -DUNDEF_THREADS_HACK -I./../include                         
-I../include -I./.. -I..                                
-I..    -O3 -DDBUG_OFF  -O3              
-felide-constructors -fno-exceptions -fno-rtti             
-fno-implicit-templates -fno-exceptions -fno-rtti
-fpermissive -I/usr/local/mysql-glibc/include -c
mysql.cc
In file included from mysql.cc:48:
/usr/include/curses.h:195: warning: `ERR' redefined
/usr/include/sys/ucontext.h:74: warning: this is the
location of the previous definition
cc1plus: Invalid option `-fpermissive'
In file included from client_priv.h:19,
                 from mysql.cc:28:
../include/global.h:685: abstract declarator used as
declaration
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/mysql-3.23.49/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/mysql-3.23.49'
make: *** [all-recursive-am] Error 2
Bad exit status from /var/tmp/rpm-tmp.34558 (%build)


Thank you
Laxmikant

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

---------------------------------------------------------------------
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

Reply via email to