This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

eggdrop Cygwin Compiling problem....

General support and discussion of Eggdrop bots.
Post Reply
User avatar
rileyil77
Voice
Posts: 22
Joined: Sat Sep 10, 2005 2:30 pm
Location: Hamilton, AL
Contact:

eggdrop Cygwin Compiling problem....

Post by rileyil77 »

Every time I try to compile the eggdrop via the guide lines on this site:

http://www.eggheads.org/support/egghtml ... g.html#cg5

I get some weird error on my screen.
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.22 telnet://slasherbbs.com
or look me on Internet Radio!

http://slasherbbs.com
p
pseudo
Halfop
Posts: 88
Joined: Mon Nov 23, 2009 4:52 am
Location: Bulgaria
Contact:

Re: eggdrop Cygwin Compiling problem....

Post by pseudo »

rileyil77 wrote:Every time I try to compile the eggdrop via the guide lines on this site:

http://www.eggheads.org/support/egghtml ... g.html#cg5
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.
User avatar
rileyil77
Voice
Posts: 22
Joined: Sat Sep 10, 2005 2:30 pm
Location: Hamilton, AL
Contact:

Post by rileyil77 »

This still doesn't fix my problem. It gives me the same error.
John Riley
SLASHER BBS ProBoard V2.22 telnet://slasherbbs.com
or look me on Internet Radio!

http://slasherbbs.com
p
pseudo
Halfop
Posts: 88
Joined: Mon Nov 23, 2009 4:52 am
Location: Bulgaria
Contact:

Post by pseudo »

Which Cygwin version do you have installed?
User avatar
rileyil77
Voice
Posts: 22
Joined: Sat Sep 10, 2005 2:30 pm
Location: Hamilton, AL
Contact:

Post by rileyil77 »

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.22 telnet://slasherbbs.com
or look me on Internet Radio!

http://slasherbbs.com
User avatar
rileyil77
Voice
Posts: 22
Joined: Sat Sep 10, 2005 2:30 pm
Location: Hamilton, AL
Contact:

Post by rileyil77 »

Can anyone out there help me?
John Riley
SLASHER BBS ProBoard V2.22 telnet://slasherbbs.com
or look me on Internet Radio!

http://slasherbbs.com
p
pseudo
Halfop
Posts: 88
Joined: Mon Nov 23, 2009 4:52 am
Location: Bulgaria
Contact:

Post by pseudo »

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?
User avatar
rileyil77
Voice
Posts: 22
Joined: Sat Sep 10, 2005 2:30 pm
Location: Hamilton, AL
Contact:

Post by rileyil77 »

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.22 telnet://slasherbbs.com
or look me on Internet Radio!

http://slasherbbs.com
Post Reply