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's eggdrop1.6.18+ssl tcl8.4.14

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


Joined: 22 Mar 2007
Posts: 11

PostPosted: Wed Jul 25, 2007 3:18 pm    Post subject: Compiling error's eggdrop1.6.18+ssl tcl8.4.14 Reply with quote

while compiling eggdrop 1.6.18 with ssl patch i ran in to these error's/warning's

I have searched the web several times re-downloaded packages but still gettting them.

Anyone has a clue?

Code:
gcc -pipe -mwin32 -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c tcl.c
tcl.c:493: warning: dereferencing type-punned pointer will break strict-aliasing
 rules
tcl.c: In function `readtclprog':
tcl.c:746: warning: assignment discards qualifiers from pointer target type

tcl.c line:
493: {"uptime", (int *) &online_since, 2},
746: result = Tcl_GetVar(interp, "errorInfo", TCL_GLOBAL_ONLY);

Code:
gcc -pipe -mwin32 -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c userent.c
userent.c: In function `del_entry_type':
userent.c:1135: warning: dereferencing type-punned pointer will break strict-ali
asing rules


userent.c line:
1135: return list_delete((struct list_type **) &entry_type_list,

Don't know what i'm doing wrong or if it harms eggdrop.
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Wed Jul 25, 2007 5:38 pm    Post subject: Reply with quote

take note that it says "warning", not "error"

did eggdrop finish compiling?
if it finished compiling did it install?
if it installed does it run?
Back to top
View user's profile Send private message
bleh1234
Voice


Joined: 22 Mar 2007
Posts: 11

PostPosted: Wed Jul 25, 2007 6:13 pm    Post subject: Reply with quote

DragnLord wrote:
take note that it says "warning", not "error"

did eggdrop finish compiling?
if it finished compiling did it install?
if it installed does it run?
Yup it does all of that but those warnings aren't for nothing and have no idea how it effects eggdrop itself.
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Wed Jul 25, 2007 7:38 pm    Post subject: Reply with quote

They are simply warnings. These are similar to the putlog entries of eggdrop; they are there for the benefit of the coder and do not affect the working of eggdrop if it compiled error free!
_________________
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
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Wed Jul 25, 2007 11:10 pm    Post subject: Reply with quote

Quote:

Don't know what i'm doing wrong or if it harms eggdrop.


Don't worry it won't harm your eggdrop. Even if your eggdrop drops, I'm sure it wont shatter to pieces, as it has a hard shell around it. Razz

If there was an error the compiling would have immediately stopped right there. So then you know theres a problem with either the open source eggdrop, tcl package installed or maybe your OS.
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Jul 27, 2007 9:41 am    Post subject: Reply with quote

Those warnings are just peculiarities in the differences between types of compilers and C programming styles (vintages?) Newer versions of gcc in particular are getting a lot stricter so throws more warnings, but generally if a piece of code compiles and runs without segfaulting, warnings are harmless.

Wouldn't hurt to read up on C programming and gcc's peculiarities, there's a lot of websites out there devoted to teaching C and Gnu C, and in particular, the "make" program, so you can actually use error messages effectively (just cos make said an error occurred on a certain line, doesn't always mean it was THAT line, it could be preceding lines in the chain.)
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
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