| View previous topic :: View next topic |
| Author |
Message |
rileyil77 Voice

Joined: 10 Sep 2005 Posts: 22 Location: Hamilton, AL
|
Posted: Mon Mar 14, 2011 10:34 pm Post subject: eggdrop Cygwin Compiling problem.... |
|
|
Every time I try to compile the eggdrop via the guide lines on this site:
http://www.eggheads.org/support/egghtml/1.6.16/compiling.html#cg5
I get some weird error on my screen.
| Quote: |
eggdrop@slasher ~/eggdrop1.6.20
$ make eggdrop
make[1]: Entering directory `/home/eggdrop/eggdrop1.6.20/src'
This may take a while. Go get some runts.
gcc -mwin32 -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c bg.c
In file included from /usr/local/include/tcl.h:2253,
from ../lush.h:4,
from main.h:33,
from bg.c:27:
/usr/local/include/tclPlatDecls.h:30:22: error: tchar.h: No such file or directo
ry
In file included from /usr/local/include/tcl.h:2253,
from ../lush.h:4,
from main.h:33,
from bg.c:27:
/usr/local/include/tclPlatDecls.h:33: error: expected `=', `,', `;', `asm' or `_
_attribute__' before `TCHAR'
/usr/local/include/tclPlatDecls.h:48: error: expected `=', `,', `;', `asm' or `_
_attribute__' before `*' token
/usr/local/include/tclPlatDecls.h:54: warning: type defaults to `int' in declara
tion of `TCHAR'
/usr/local/include/tclPlatDecls.h:54: error: expected `;', `,' or `)' before `*'
token
/usr/local/include/tclPlatDecls.h:82: error: expected specifier-qualifier-list b
efore `TCHAR'
make[1]: *** [bg.o] Error 1
make[1]: Leaving directory `/home/eggdrop/eggdrop1.6.20/src'
make: *** [modegg] Error 2
eggdrop@slasher ~/eggdrop1.6.20
|
Not sure what it's saying. I think it is telling me it can't find tchar.h, but I'm not sure. Any help would be grateful. The only reason I'm comping my own is because every time I run the logs2html module it crashes my eggdrop. Some one here a while back suggested I compile my own. So, I finally am. Not sure if it matters but I've installed latest version of Cygwin on Windows XP Professional 32Bit Operating System. _________________ John Riley
SLASHER BBS ProBoard V2.17 telnet://slasherbbs.com
or look me on Internet Radio!
http://slasherbbs.com |
|
| Back to top |
|
 |
pseudo Halfop
Joined: 23 Nov 2009 Posts: 88 Location: Bulgaria
|
Posted: Tue Mar 15, 2011 5:12 am Post subject: Re: eggdrop Cygwin Compiling problem.... |
|
|
Try some instructions specific for building on cygwin: http://windrop.sourceforge.net/compile16.html
Most importantly, don't use cygwin's Tcl. And, of course, if you are using 1.6.20, it makes sense to use it's own documentation, not some 7 years old docs from an obsolete version. |
|
| Back to top |
|
 |
rileyil77 Voice

Joined: 10 Sep 2005 Posts: 22 Location: Hamilton, AL
|
Posted: Tue Mar 15, 2011 9:57 am Post subject: |
|
|
This still doesn't fix my problem. It gives me the same error. _________________ John Riley
SLASHER BBS ProBoard V2.17 telnet://slasherbbs.com
or look me on Internet Radio!
http://slasherbbs.com |
|
| Back to top |
|
 |
pseudo Halfop
Joined: 23 Nov 2009 Posts: 88 Location: Bulgaria
|
Posted: Tue Mar 15, 2011 10:04 am Post subject: |
|
|
| Which Cygwin version do you have installed? |
|
| Back to top |
|
 |
rileyil77 Voice

Joined: 10 Sep 2005 Posts: 22 Location: Hamilton, AL
|
Posted: Tue Mar 15, 2011 10:45 am Post subject: |
|
|
eggdrop@slasher ~/eggdrop1.6.20
$ cygcheck --version
cygcheck version 1.126
System Checker for Cygwin
Copyright (C) 1998 - 2008 Red Hat, Inc.
Compiled on Mar 1 2011
eggdrop@slasher ~/eggdrop1.6.20
$ uname
CYGWIN_NT-5.1 _________________ John Riley
SLASHER BBS ProBoard V2.17 telnet://slasherbbs.com
or look me on Internet Radio!
http://slasherbbs.com |
|
| Back to top |
|
 |
rileyil77 Voice

Joined: 10 Sep 2005 Posts: 22 Location: Hamilton, AL
|
|
| Back to top |
|
 |
pseudo Halfop
Joined: 23 Nov 2009 Posts: 88 Location: Bulgaria
|
Posted: Thu Mar 17, 2011 2:27 pm Post subject: |
|
|
| rileyil77 wrote: | eggdrop@slasher ~/eggdrop1.6.20
$ cygcheck --version
cygcheck version 1.126
System Checker for Cygwin
Copyright (C) 1998 - 2008 Red Hat, Inc.
Compiled on Mar 1 2011
eggdrop@slasher ~/eggdrop1.6.20
$ uname
CYGWIN_NT-5.1 |
The information above tells me the version of some cygcheck application (thanks, I'll check it out, didn't know it exists) and the version of Windows which is XP, but you already wrote this.
Anyway, can you paste the output of uname -a and also tell us which Tcl version are you using? Did you follow the windrop compiling instructions strictly? |
|
| Back to top |
|
 |
rileyil77 Voice

Joined: 10 Sep 2005 Posts: 22 Location: Hamilton, AL
|
Posted: Thu Mar 17, 2011 11:12 pm Post subject: |
|
|
| Quote: |
eggdrop@slasher ~
$ uname -a
CYGWIN_NT-5.1 slasher 1.7.8(0.236/5/3) 2011-03-01 09:36 i686 Cygwin
|
I was trying to use TCL version 8.5.9, because on the Windows Box that's the version I have installed. Yes, I was following instructions to the bone. _________________ John Riley
SLASHER BBS ProBoard V2.17 telnet://slasherbbs.com
or look me on Internet Radio!
http://slasherbbs.com |
|
| Back to top |
|
 |
|