Subject: Re: gcc and compiling.
To: Tom Ivar Helbekkmo <tih@kpnQwest.no>
From: Ben Bogart - FMPM/F1999 <bbogart@acs.ryerson.ca>
List: port-i386
Date: 08/11/2000 17:13:58
Thanks for your suggestion, it does sound reasonable to me. I could only 
find tcl header files in /usr/local/include and I did rename them so that 
gcc would not be able to find them. Sadly this did not make any change, I 
get exactly the same output. I suppose there is not a generic set of 
flags for gcc on netbsd so I can check weather freebsd/openbsd options 
work... 

Thank you.


On 11 Aug 2000, Tom Ivar Helbekkmo wrote:

> Ben Bogart <bbogart@acs.ryerson.ca> writes:
> 
> > I've been trying to compile the aol web server but I cannot get it to
> > compile. This is the error I am getting:
> > 
> > tcl8x.c:48: redefinition of `Tcl_ThreadCreateProc'
> > ../include/tcl.h:402: `Tcl_ThreadCreateProc' previously declared here
> > tcl8x.c:290: syntax error before `*'
> > gmake[1]: *** [tcl8x.o] Error 1
> > gmake: *** [all] Error 1
> 
> I've seen this, and solved it, a long time ago, and I have a vague
> feeling that it may have been a case of a header file from an existing
> (and different) TCL installation being read by accident.  (As in: it
> found a TCL header file under /usr/local/include instead of reading it
> from the distributed subtree of the application it came with.)
> 
> -tih
> -- 
> The basic difference is this: hackers build things, crackers break them.
>                                                      --Eric S. Raymond
> 



B. Bogart
Convergent Media Designer
--------------------------
Through scientific absolution we move further and further away from ourselves.