MySQL Forums
Forum List  »  Perl

DBD::mysql fails to compile on Solaris 10 sun4u
Posted by: David Diggles
Date: March 16, 2007 01:24AM

Using sun studio version of cc: Sun C 5.8 2005/10/13

DBD-mysql-4.003# make
cc -c -I/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/DBI -I/usr/local/mysql/include/mysql -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"4.003\" -DXS_VERSION=\"4.003\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" dbdimp.c
"dbdimp.c", line 498: warning: implicit function declaration: parse_number
"dbdimp.c", line 1269: identifier redeclared: mysql_dr_error
current : function(pointer to struct sv {pointer to void sv_any, unsigned long sv_refcnt, unsigned long sv_flags}, int, pointer to const char, pointer to const char) returning void
previous: function(pointer to struct sv {pointer to void sv_any, unsigned long sv_refcnt, unsigned long sv_flags}, int, pointer to const char) returning void : "dbdimp.h", line 288
"dbdimp.c", line 3419: prototype mismatch: 3 args passed, 4 expected
"dbdimp.c", line 3583: prototype mismatch: 3 args passed, 4 expected
"dbdimp.c", line 3915: prototype mismatch: 3 args passed, 4 expected
"dbdimp.c", line 3929: prototype mismatch: 3 args passed, 4 expected
"dbdimp.c", line 4244: prototype mismatch: 3 args passed, 4 expected
"dbdimp.c", line 4271: prototype mismatch: 3 args passed, 4 expected
"dbdimp.c", line 4283: prototype mismatch: 3 args passed, 4 expected
"dbdimp.c", line 4445: prototype mismatch: 3 args passed, 4 expected
cc: acomp failed for dbdimp.c
make: *** [dbdimp.o] Error 2

Options: ReplyQuote


Subject
Written By
Posted
DBD::mysql fails to compile on Solaris 10 sun4u
March 16, 2007 01:24AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.