This looks like the error you get when you compile Tcl with a different
compiler than AOLserver. You then need to set the CC variable to use the
same compiler (this usually happens when you build Tcl with the Solaris
Workshop compiler and AOLserver with gcc).

You'll need to re-run configure in AOLserver after setting the CC
environment variable appropriately.

rob

Keith Paskett wrote:
I'm getting the following error trying to compile aolserver 4.0.8 on
Solaris 9. Any ideas?

gmake[1]: Entering directory `/usr/local/src/aolserver40r8/aolserver/nsd'
gcc -pipe -O -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC
-I../include -I/usr/local/include -DNO_CONST  -DTCL_THREADS=1
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DHAVE_READDIR_R=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1
-DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=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
-DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1
-DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1
-DHAVE_ST_BLKSIZE=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1
-DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1
-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1   -DTCL_CFG_OPTIMIZED=1
-DTCL_CFG_DEBUG=1 -DUSE_DYLD=1 -DUSE_DLSHL=1  -DNsdInit=_init   -c -o
adpcmds.o adpcmds.c
In file included from adpcmds.c:38:
nsd.h:68: warning: `POLLIN' redefined
/usr/include/sys/poll.h:37: warning: this is the location of the
previous definition
nsd.h:69: warning: `POLLOUT' redefined
/usr/include/sys/poll.h:39: warning: this is the location of the
previous definition
nsd.h:70: warning: `POLLPRI' redefined
/usr/include/sys/poll.h:38: warning: this is the location of the
previous definition
In file included from adpcmds.c:38:
nsd.h:71: redefinition of `struct pollfd'
adpcmds.c:36: warning: `RCSID' defined but not used
gmake[1]: *** [adpcmds.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/aolserver40r8/aolserver/nsd'
gmake: *** [all] Error 1


Mye environment:

bash-2.05# env
PWD=/usr/local/src/aolserver40r8/aolserver
TZ=US/Mountain
HOSTNAME=e08445
USER=root
MACHTYPE=sparc-sun-solaris2.9
OLDPWD=/usr/local/src/aolserver40r8
DISPLAY=e08445:10.1
LOGNAME=root
SHLVL=1
SHELL=/sbin/sh
HOSTTYPE=sparc
OSTYPE=solaris2.9
HOME=/
TERM=xterm
PATH=/usr/sfw/bin:/opt/sfw/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/tripwire/tfs/bin


-- Keith Paskett [EMAIL PROTECTED] Space Dynamics Laboratory Encrypted mail preferred 1695 North Research Parkway Logan, Utah 84341


-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to