Had the same problem before

try
%make distclean
%export CC=gcc
  then the configure, you may need to remove a config.cache as well, be
sure to back it up first!

P


Trenton Cameron wrote on 17/05/2004, 16:29:

 > I tried that and tried again with both make and gmake and received the
 > same results any other ideas would be greatly appreciated.
 > Rob Crittenden wrote:
 >
 > > Try:
 > >
 > > % export CC=gcc
 > > % make clean all
 > >
 > > rob
 > >
 > > Trenton Cameron wrote:
 > >
 > >> Aolserver is not compiling for me on solaris 9.  The make and
 > install of
 > >> tcl8.4.5 ran just fine. I am not getting an error message that I know
 > >> how to interpet.  I am getting the source for Aolserver 4.0r3. The
 > ouput
 > >> from my ./configure and make follow
 > >>
 > >> bash-2.05# ./configure --with-threads=/usr/local/lib
 > >> loading cache ./config.cache
 > >> checking for Tcl configuration... (cached) found
 > >> /usr/local/lib/tclConfig.sh
 > >> checking for existence of /usr/local/lib/tclConfig.sh... loading
 > >> checking for build with symbols... no
 > >> checking for timegm... (cached) no
 > >> checking for fork1... (cached) no
 > >> checking for poll... (cached) no
 > >> checking for drand48... (cached) no
 > >> checking for random... (cached) no
 > >> checking for _NSGetEnviron... (cached) no
 > >> checking how to run the C preprocessor... (cached) cc -E
 > >> checking for mach-o/dyld.h... (cached) yes
 > >> checking for dl.h... (cached) yes
 > >> checking need for dup high... no
 > >> checking msg_controllen in struct msghdr... no
 > >> checking how to build server image... shared
 > >> creating ./config.status
 > >> creating include/Makefile.global
 > >> creating include/Makefile.module
 > >>
 > >> bash-2.05# make
 > >> make[1]: Entering directory
 > >> `/usr/local/src/aolserver/aolserver/nsthread'
 > >> make[1]: Nothing to be done for `all'.
 > >> make[1]: Leaving directory
 > `/usr/local/src/aolserver/aolserver/nsthread'
 > >> make[1]: Entering directory `/usr/local/src/aolserver/aolserver/nsd'
 > >> gcc -pipe -O -Wall -Wconversion -Wno-implicit-int -fPIC  -I../include
 > >> -I/usr/local/include -DNO_CONST  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
 > >> -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
 > >> -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=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_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
 > -D_REENTRANT=1
 > >> -D_POSIX_PTHREAD_SEMANTICS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1
 > >> -DUSE_DYLD=1 -DUSE_DLSHL=1  -DNsdInit=_init   -c -o adpcmds.o
 > adpcmds.c
 > >> In file included from adpcmds.c:38:
 > >> nsd.h:67: warning: `POLLIN' redefined
 > >> /usr/include/sys/poll.h:37: warning: this is the location of the
 > >> previous definition
 > >> nsd.h:68: warning: `POLLOUT' redefined
 > >> /usr/include/sys/poll.h:39: warning: this is the location of the
 > >> previous definition
 > >> nsd.h:69: 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:70: redefinition of `struct pollfd'
 > >> adpcmds.c:36: warning: `RCSID' defined but not used
 > >> make[1]: *** [adpcmds.o] Error 1
 > >> make[1]: Leaving directory `/usr/local/src/aolserver/aolserver/nsd'
 > >> make: *** [all] Error 1
 > >>
 > >>
 > >> I am not really sure where to go from here any help would be
 > >> appreciated. Thanks
 > >>   -Trenton Cameron
 > >>
 > >>
 > >> --
 > >> 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
 >
 >
 > --
 > 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.
 >

--
Patrick O'Leary
Software Engineer, AOL UK

AOL (UK) Ltd.
80 Hammersmith Road, London W14 8UD
United Kingdom

email: [EMAIL PROTECTED]
URL: www.aol.co.uk

Tel: +44 (0) 20 7348 8462
Fax: +44 (0) 20 7348 8009

AOL UK's recommended destination for online giving: givenow.org

This email, its contents and any files transmitted with it are
confidential and may be legally privileged. It is intended solely for
the addressee(s) only. If you are not the intended recipient, you must
not copy, distribute, or take any action in reliance upon it. If you
have received this email in error, please notify us immediately via
telephone or fax and delete the material from your computer system. AOL
(UK) Ltd is registered in England under number 03462696, with its
registered office at 80 Hammersmith Road, London W14 8UD.


--
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