Hi Jeff, Thanks for the note.
The nssolid3_0.tar file generates a Makefile and a nssolid.c file. When I run the solid-fix.tar file, the Makefile is updated (the Makefile that nssold3_0.tar generates is missing some definitions) and it creates a file named nssolid.h. The solid-fix.tar file is something I used several years ago when I first added Solid to a server. (That server is now dying and I need to get things moved.). I tried your suggestion; the errors persist. The nssolid.c file is not the same as the .c file I used several years ago. However, the older one does not work either, so it is a moot point. It just may not be possible to do this. Thanks, Thorpe On Oct 14, at (Oct 14) 1:56 PM, Jeff Rogers wrote: > Thorpe Mayes wrote: >> Hi, >> >> I am trying to install the solid database drivers and cannot do it. >> >> I am running aolserver 4.5.0. >> >> I added the nssolid_3.0 driver. I then added solid-fix.tar, which updated >> the Makefile file and added the nssolid.h file to the nssolid directory. > > Where is "solid-fix.tar" from? I didn't see it in the SF repository. > > Anyway, these errors are typical of a missing header file. It may be that no > one has tried to build nssolid in a very long time and the headers have > changed; in particular the reference to ‘Ns_DbRegisterDriver’ suggests that > "nsdb.h" was not included (I think nsdb used to be part of the core, but it > is now a separate module). Try adding '#include "nsdb.h"' to nssolid.c after > '#include "ns.h"' and see if that gets you fewer errors. > > -J > >> >> When I run "make" I get this result: >> >> make >> gcc -pipe -I/usr/local/solid/solidSDKe352/Linux_glibc2/include -DSOLVER=350 >> -O2 -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC >> -I/usr/local/aolserver/include -I/usr/local/include -DNO_CONST >> -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 >> -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 >> -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=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=\"\" ! -D > P! >> ACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 >> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 >> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 >> -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1 >> -DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 >> -c -o nssolid.o nssolid.c >> nssolid.c:89: error: expected ‘)’ before ‘*’ token >> nssolid.c:90: error: expected ‘)’ before ‘*’ token >> nssolid.c:91: error: expected ‘)’ before ‘*’ token >> nssolid.c:92: error: expected ‘)’ before ‘*’ token >> nssolid.c:93: error: expected ‘)’ before ‘*’ token >> nssolid.c:94: error: expected ‘)’ before ‘*’ token >> nssolid.c:95: error: expected ‘)’ before ‘*’ token >> nssolid.c:96: error: expected ‘)’ before ‘*’ token >> nssolid.c:97: error: expected ‘)’ before ‘*’ token >> nssolid.c:101: error: expected declaration specifiers or ‘...’ before >> ‘Ns_DbHandle’ >> nssolid.c:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ >> before ‘odbcProcs’ >> nssolid.c: In function ‘Ns_DbDriverInit’: >> nssolid.c:133: warning: implicit declaration of function >> ‘Ns_DbRegisterDriver’ >> nssolid.c:133: error: ‘odbcProcs’ undeclared (first use in this function) >> nssolid.c:133: error: (Each undeclared identifier is reported only once >> nssolid.c:133: error: for each function it appears in.) >> nssolid.c: In function ‘Ns_ODBCShutdown’: >> nssolid.c:154: warning: passing argument 2 of ‘ODBCLog’ makes integer from >> pointer without a cast >> nssolid.c:154: error: too many arguments to function ‘ODBCLog’ >> nssolid.c: At top level: >> nssolid.c:182: error: expected ‘)’ before ‘*’ token >> nssolid.c:227: error: expected ‘)’ before ‘*’ token >> nssolid.c:244: error: expected ‘)’ before ‘*’ token >> nssolid.c:291: error: expected ‘)’ before ‘*’ token >> nssolid.c:352: error: expected ‘)’ before ‘*’ token >> nssolid.c:411: error: expected ‘)’ before ‘*’ token >> nssolid.c:417: error: expected ‘)’ before ‘*’ token >> nssolid.c:443: error: expected ‘)’ before ‘*’ token >> nssolid.c:499: error: expected ‘)’ before ‘*’ token >> nssolid.c: In function ‘ODBCCmd’: >> nssolid.c:552: error: ‘Ns_DbHandle’ undeclared (first use in this function) >> nssolid.c:552: error: ‘handle’ undeclared (first use in this function) >> nssolid.c:562: warning: implicit declaration of function ‘Ns_TclDbGetHandle’ >> nssolid.c:566: warning: implicit declaration of function ‘Ns_DbDriverName’ >> nssolid.c:566: warning: comparison between pointer and integer >> nssolid.c:573: error: too many arguments to function ‘ODBCLog’ >> nssolid.c:583: error: too many arguments to function ‘ODBCLog’ >> nssolid.c: At top level: >> nssolid.c:617: error: expected declaration specifiers or ‘...’ before >> ‘Ns_DbHandle’ >> nssolid.c: In function ‘ODBCLog’: >> nssolid.c:633: warning: pointer targets in passing argument 4 of ‘SQLError’ >> differ in signedness >> nssolid.c:633: warning: pointer targets in passing argument 6 of ‘SQLError’ >> differ in signedness >> nssolid.c:638: error: ‘handle’ undeclared (first use in this function) >> make: *** [nssolid.o] Error 1 >> >> Thanks, >> >> Thorpe >> >> >> >> >> Thorpe Mayes >> 405.514.9753 >> >> >> -- >> AOLserver - http://www.aolserver.com/ >> >> To Remove yourself from this list, simply send an email >> to<lists...@listserv.aol.com> with the >> body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: >> field of your email blank. > > > -- > AOLserver - http://www.aolserver.com/ > > To Remove yourself from this list, simply send an email to > <lists...@listserv.aol.com> with the > body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: > field of your email blank. > Thorpe Mayes tma...@ecognizant.com 405.514.9753 -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <lists...@listserv.aol.com> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.