make fails with intel c++ compiled mysql

make fails with intel c++ compiled mysql

am 12.09.2005 18:21:38 von Mayuran

Im trying to setup MySQL compiled with the Intel C++ Compiler 8.1. The
server
and client appear to be working fine. DBI also installed fine.
DBD::mysql however
is having problems.

This is the output from perl Makefile.PL:
I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/usr/local/mysql/include -ip
-ip_no_inlining
libs (mysql_config) = -L/usr/local/mysql/lib -lmysqlclient
-lz -lcrypt -lnsl -lm
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =

This is the output from make:
make
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c -I/usr/lib64/perl5/site_perl/5.8.0/auto/DBI/
-I/usr/local/mysql/include -ip -ip_no_inlining -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -DVERSION=\"2.9004\"
-DXS_VERSION=\"2.9004\" -fPIC
"-I/usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/CORE" dbdimp.c
cc1: unrecognized option `-ip'
cc1: unrecognized option `-ip_no_inlining'
make: *** [dbdimp.o] Error 1

thanks,
M

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: make fails with intel c++ compiled mysql

am 12.09.2005 23:06:47 von Jochen Wiedmann

Mayuran Yogarajah wrote:

> cc1: unrecognized option `-ip'
> cc1: unrecognized option `-ip_no_inlining'

Typical problem of mixing binaries from different sources. Compile
everything (Perl, MySQL, DBI, DBD::mysql) with the same compiler and it
will most probably work like a charm.


Jochen


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org