![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Getting error when checking for mysql_store_result in -lmysqlclient_r... |
#3
| |||
| |||
|
|
I even tried linking with -lm -lsocket -lnsl |
#4
| |||
| |||
|
|
#line 10023 "configure" /* confdefs.h. */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE "mysql++" #define VERSION "1.7.40" #ifdef __cplusplus #include <stdlib.h #endif #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define STDC_HEADERS 1 #define HAVE_PTHREAD 1 #define HAVE_ZLIB_H 1 #define HAVE_LIBZ 1 /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_store_result (); int main () { mysql_store_result (); ; return 0; } configure:10068: result: no |
|
Getting error when checking for mysql_store_result in -lmysqlclient_r... |
#5
| |||
| |||
|
|
configure:10047: CC -o conftest -g -D_REENTRANT -I/home/ctwibell/MySQL4.1.12/mysql-pro-4.1.12-sun-solaris2.8-sparc-64bit /include -L/home/ctwibell/MySQL4.1.12/mysql-pro-4.1.12-sun-solaris2.8-sparc-64bit /lib conftest.c -lmysqlclient_r -lz -lpthread >&5 ld: warning: file /home/ctwibell/MySQL4.1.12/mysql-pro-4.1.12-sun-solaris2.8-sparc-64bit/l ib/libmysqlclient_r.a(client.o): wrong ELF class: ELFCLASS64 |
#6
| |||
| |||
|
|
ib/libmysqlclient_r.a(client.o): wrong ELF class: ELFCLASS64 I'm no Solaris expert, but this seems to be the problem here. |
![]() |
| Thread Tools | |
| Display Modes | |
| |