egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

eggdrop Cygwin Compiling problem....

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
rileyil77
Voice


Joined: 10 Sep 2005
Posts: 22
Location: Hamilton, AL

PostPosted: Mon Mar 14, 2011 10:34 pm    Post subject: eggdrop Cygwin Compiling problem.... Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
pseudo
Halfop


Joined: 23 Nov 2009
Posts: 88
Location: Bulgaria

PostPosted: Tue Mar 15, 2011 5:12 am    Post subject: Re: eggdrop Cygwin Compiling problem.... Reply with quote

rileyil77 wrote:
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


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
View user's profile Send private message Visit poster's website
rileyil77
Voice


Joined: 10 Sep 2005
Posts: 22
Location: Hamilton, AL

PostPosted: Tue Mar 15, 2011 9:57 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
pseudo
Halfop


Joined: 23 Nov 2009
Posts: 88
Location: Bulgaria

PostPosted: Tue Mar 15, 2011 10:04 am    Post subject: Reply with quote

Which Cygwin version do you have installed?
Back to top
View user's profile Send private message Visit poster's website
rileyil77
Voice


Joined: 10 Sep 2005
Posts: 22
Location: Hamilton, AL

PostPosted: Tue Mar 15, 2011 10:45 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
rileyil77
Voice


Joined: 10 Sep 2005
Posts: 22
Location: Hamilton, AL

PostPosted: Wed Mar 16, 2011 9:08 am    Post subject: Reply with quote

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

http://slasherbbs.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
pseudo
Halfop


Joined: 23 Nov 2009
Posts: 88
Location: Bulgaria

PostPosted: Thu Mar 17, 2011 2:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
rileyil77
Voice


Joined: 10 Sep 2005
Posts: 22
Location: Hamilton, AL

PostPosted: Thu Mar 17, 2011 11:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber