MySQL Forums
Forum List  »  Perl

Failed to make test DBD-Mysql-4.012 on Sol10
Posted by: Vincent De Cock
Date: July 13, 2009 06:04AM

I got following error msgs:

-bash-3.00$ make test
cc -c -I/export/home/iplanet/iplanet/myperl/lib/sun4-solaris-64int/auto/DBI -I/ usr/sfw/include -I/usr/sfw/share/src/mysql/include -xstrconst -mt -DDBD_MYSQL_IN SERT_ID_IS_GOOD -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_E RRNO -xO3 -xspace -xildoff -DVERSION=\"4.012\" -DXS_VERSION=\"4.012\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" dbdimp.c
"dbdimp.h", line 43: token not allowed in directive: @
"dbdimp.h", line 48: token not allowed in directive: @
"dbdimp.h", line 161: token not allowed in directive: @
"dbdimp.h", line 226: token not allowed in directive: @
"dbdimp.h", line 227: syntax error before or at: MYSQL_STMT
"dbdimp.h", line 305: token not allowed in directive: @
"dbdimp.h", line 309: syntax error before or at: MYSQL_STMT
"dbdimp.h", line 309: warning: undefined or missing type for: MYSQL_STMT
"dbdimp.h", line 311: warning: undefined or missing type for: int
"dbdimp.c", line 121: token not allowed in directive: @
"dbdimp.c", line 126: warning: no explicit type given
"dbdimp.c", line 126: syntax error before or at: *
"dbdimp.c", line 127: warning: old-style declaration or incorrect type for: allo c_bind
"dbdimp.c", line 128: operands must have arithmetic type: op "*"
"dbdimp.c", line 131: syntax error before or at: )
"dbdimp.c", line 133: left operand must be modifiable lvalue: op "="
"dbdimp.c", line 135: warning: return value type mismatch
"dbdimp.c", line 136: cannot recover from previous errors
cc: acomp failed for dbdimp.c
*** Error code 2
make: Fatal error: Command failed for target `dbdimp.o'

follwing Sol packages installed:
system SUNWmysqlS mysql - MySQL Database Management System (Source)
system SUNWmysqlr mysql - MySQL Database Management System (root component)
system SUNWmysqlu mysql - MySQL Database Management System (usr component)

Options: ReplyQuote


Subject
Written By
Posted
Failed to make test DBD-Mysql-4.012 on Sol10
July 13, 2009 06:04AM


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.