I got the same error on an old version of RedHat, but the same code seems to
work on SUSE 9.2.
I looked at info.c and there was this code, which I didn't figure out, maybe
there is some preprocessing step missing?:
enum {
IAddressIdx, IArgv0Idx, IBoottimeIdx, IBuilddateIdx, ICallbacksIdx,
IConfigIdx, IHomeIdx, hostINameIdx, ILabelIdx, ILocksIdx, ILogIdx,
IMajorIdx, IMinorIdx, INameIdx, INsdIdx, IPageRootIdx, IPatchLevelIdx,
IPidIdx, IPlatformIdx, IPoolsIdx, IScheduledIdx, IServerIdx,
IServersIdx,
sockICallbacksIdx, ITagIdx, ITclLibIdx, IThreadsIdx, IUptimeIdx,
IVersionIdx, IWinntIdx,
} _nsmayalias opt;
So I couldn't figure out what _nsmayalias was, why the enum ends with a comma,
etc.
tom jackson
On Wednesday 26 July 2006 00:51, aT wrote:
> Hi,
> I am trying to build Aolserver 4.5.0 on Redhat enterprise Linux 3 Update
> 4, 64 bit on AMD Opteron machine .
>
> these are my commands
>
> 1) ./configure --with-tcl=/server/software/aol/aol45/lib
> --prefix=/server/software/aol/aol45 --enable-symbols --enable-threads
> --enable-64bit
> 2) /server/software/aol/aol45/bin/tclsh8.4 ./nsconfig.tcl -install
> /server/software/aol/aol45 -debug
> 3) make
> After a lot of lines scroll up I get this error and make stops
>
> fo.o info.c
> info.c: In function `NsTclInfoObjCmd':
> info.c:515: syntax error before "opt"
> info.c:522: `opt' undeclared (first use in this function)
> info.c:522: (Each undeclared identifier is reported only once
> info.c:522: for each function it appears in.)
> info.c:571: warning: implicit declaration of function `Tcl_GetMemoryInfo'
> info.c: At top level:
> info.c:36: warning: `RCSID' defined but not used
> gmake[1]: *** [info.o] Error 1
> gmake[1]: Leaving directory `/software/nsadmin/aolserver-4.5.0/nsd'
> make: *** [build] Error 1
>
>
> Any idea ??
--
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.