| View previous topic :: View next topic |
| Author |
Message |
Leatherface Voice
Joined: 18 Aug 2005 Posts: 4
|
Posted: Sat Feb 11, 2006 10:36 pm Post subject: mysqltcl error |
|
|
Hi
I've extracted the mysqltcl archive, went to the folder and executed ./configure command. Everything worked fien untill I run "make"
then i get this error:
| Code: |
[root@gateops mysqltcl-3.01]# make
gcc -pipe -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DVERSION=\"3.01\" -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DNO_STDLIB_H=1 -DNO_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TCL_STUBS=1 -I"/usr/local/include" -I/usr/include/mysql -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC -c `echo generic/mysqltcl.c` -o mysqltcl.o
generic/mysqltcl.c: In function `Mysqltcl_Connect':
generic/mysqltcl.c:810: error: `CLIENT_MULTI_STATEMENTS' undeclared (first use in this function)
generic/mysqltcl.c:810: error: (Each undeclared identifier is reported only once
generic/mysqltcl.c:810: error: for each function it appears in.)
generic/mysqltcl.c:818: error: `CLIENT_MULTI_RESULTS' undeclared (first use in this function)
generic/mysqltcl.c: In function `Mysqltcl_Info':
generic/mysqltcl.c:1602: warning: passing arg 1 of pointer to function makes pointer from integer without a cast
generic/mysqltcl.c: In function `Mysqltcl_SetServerOption':
generic/mysqltcl.c:2176: error: storage size of `mysqlServerOption' isn't known
generic/mysqltcl.c:2192: error: `MYSQL_OPTION_MULTI_STATEMENTS_ON' undeclared (first use in this function)
generic/mysqltcl.c:2195: error: `MYSQL_OPTION_MULTI_STATEMENTS_OFF' undeclared (first use in this function)
generic/mysqltcl.c: In function `Mysqltcl_ShutDown':
generic/mysqltcl.c:2219: error: `SHUTDOWN_DEFAULT' undeclared (first use in this function)
generic/mysqltcl.c:2219: error: too many arguments to function `mysql_shutdown'
make: *** [mysqltcl.o] Error 1
[root@gateops mysqltcl-3.01]#
|
I've already created a MySQL database with user and pass. But it wount work.
Help me please
Thanks |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Feb 20, 2006 8:55 pm Post subject: |
|
|
upgrade mySQL client libraries _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|