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 

compiling error
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Jan
Voice


Joined: 28 Feb 2006
Posts: 7

PostPosted: Sat Mar 11, 2006 2:02 pm    Post subject: compiling error Reply with quote

HELP! I can't compile!


Code:
$ make eggdrop
make[1]: Entering directory `/eggdrop1.6.17/src'
This may take a while. Go get some runts.

gcc -pipe -mwin32 -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c bg.c
In file included from main.h:95,
                 from bg.c:27:
proto.h:133: error: conflicting types for 'dprintf'
/usr/include/stdio.h:232: error: previous declaration of 'dprintf' was here
proto.h:133: error: conflicting types for 'dprintf'
/usr/include/stdio.h:232: error: previous declaration of 'dprintf' was here
make[1]: *** [bg.o] Error 1
make[1]: Leaving directory `/eggdrop1.6.17/src'
make: *** [modegg] Error 2
Back to top
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Thu Mar 16, 2006 1:56 pm    Post subject: Reply with quote

make eggdrop is not correct, please refer to Setting Up Your Eggdrop for exact directions Mr. Green
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Mar 16, 2006 5:58 pm    Post subject: Reply with quote

YooHoo wrote:
make eggdrop is not correct, please refer to Setting Up Your Eggdrop for exact directions Mr. Green

If compiling a Windrop (using cygwin) then "make eggdrop" is correct. Smile
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Jan
Voice


Joined: 28 Feb 2006
Posts: 7

PostPosted: Thu Mar 16, 2006 6:21 pm    Post subject: Reply with quote

yeah I finaly used an already compiled windrop. But I dropped the project because it wouldn't run any scripts.
Back to top
View user's profile Send private message
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Thu Mar 16, 2006 7:58 pm    Post subject: Reply with quote

You gave up that easy?? It's not even hard to add a script in to the script folder, read header, put the script name in eggdrop.conf and restart.
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Thu Mar 16, 2006 8:44 pm    Post subject: Reply with quote

if he already has cygwin set up there should be no script for eggdrop that doesnt run on windows (unless its a sys stats script or similar).
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
Jan
Voice


Joined: 28 Feb 2006
Posts: 7

PostPosted: Fri Mar 17, 2006 8:35 am    Post subject: Reply with quote

cache wrote:
You gave up that easy?? It's not even hard to add a script in to the script folder, read header, put the script name in eggdrop.conf and restart.


yeah I did all that. when I start the windrop it says ssome scripts require http2.4 when its 2.5 that I have... some stuff like that.
Back to top
View user's profile Send private message
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Sat Mar 18, 2006 11:17 am    Post subject: Reply with quote

Got the same error like the thread starter and i don`t want to give up so fast. Used this page for instructions http://windrop.sourceforge.net/compile16.html

I guess i am not alone with this bug:
http://www.eggheads.org/pipermail/bugs/2006-February/000902.html

Do someone know where the answer to this report can be found?
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
Jan
Voice


Joined: 28 Feb 2006
Posts: 7

PostPosted: Sat Mar 18, 2006 3:00 pm    Post subject: Reply with quote

use the compiled version...
Back to top
View user's profile Send private message
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Sat Mar 18, 2006 4:26 pm    Post subject: Reply with quote

This is not a solution for my problem. I want to compile it myself this shouln`t be impossible. The forums purpose is to help each other and to solve problems, isn`t it.

To kill a disease you won`t kill the hole patient? (adage)
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Mar 18, 2006 10:35 pm    Post subject: Reply with quote

As near as I can tell it may be the new release of cygwin that is the culprit. The instructions you have followed are indeed correct.

Note also that I am quite certain I have seen the error (BarkerJr) posted (recently) by a Debian user.

I have never had problems compiling Windrop with version Cygwin DLL 1.5.12.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Sat Mar 18, 2006 11:44 pm    Post subject: Reply with quote

Ok, i want to try Cygwin DLL 1.5.12.

I just need to install 'Latest Cygwin DLL release version is 1.5.19-4' from http://cygwin.com/ and exchange the dll to your version?

Or do i need to install the hole old version?

Where can i get the old version. I found only the new version more then enugh times.
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Mar 19, 2006 12:10 am    Post subject: Reply with quote

I'd have to search my DVD's/CD's; I may have a copy of the original. I wouldn't hold my breathe ... De Kus could still have that older installer.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
BarkerJr
Op


Joined: 30 Mar 2003
Posts: 104

PostPosted: Sun Mar 19, 2006 1:49 am    Post subject: Reply with quote

I believe the problem is that you installed Tcl. It's critical that you follow the instructions to the word. Don't ask me why, but the current versions of Cygwin aren't easy use with Eggdrop as they were last year.

http://windrop.sourceforge.net/compile16.html

You do have to install Make, too.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Sun Mar 19, 2006 9:37 am    Post subject: Reply with quote

Normally i don`t act like i was born yesterday. Maybe stupid question:

Quote:
Download and install Cygwin, with the default base packages and the following additional packages:
-autoconf
-automake
-binutils
-GCC


I download the cygwin setup exe and start it. I click
unlock 'Hide obsolte and administative packages'
All --> install
lock 'Install thease packages to meet dependencies (RECOMMENDED)
-->
As long i know this will install all packages; about 1GB but i have a big harddisk and don`t really care much about; the wanted packages should be included then?

'Make sure the default Tcl version include with Cygwin isn't installed.'
Yes, I have
actice tcl 8.4.12.0 and
tcl dev kit 3.2
installed.
-->
System controll --> software --> uninstall --> i remove it there and delete the tcl dir from my harddisk? = uninstalled?
Or is it enugh if i have tcl not started since last reboot? I thoght standard tcl won`t load start any dll`s as long it`s not started.
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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