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 

Odd compile error and quick fix (linux/1.6.15)

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
afazio
Guest





PostPosted: Wed Nov 05, 2003 1:40 am    Post subject: Odd compile error and quick fix (linux/1.6.15) Reply with quote

If while running 'make' you (like me) run into the following errors:

Code:
snprintf.c:722: parse error before "va_dcl"
snprintf.c:724: syntax error before '{' token
snprintf.c:730: warning: type defaults to `int' in declaration of `VA_LOCAL_DECL'
snprintf.c:730: warning: data definition has no type or storage class
snprintf.c:732: warning: type defaults to `int' in declaration of `VA_START'
snprintf.c:732: warning: parameter names (without types) in function declaration
snprintf.c:732: warning: data definition has no type or storage class
snprintf.c:733: parse error before "char"
snprintf.c:733: warning: type defaults to `int' in declaration of `VA_SHIFT'
snprintf.c:733: warning: data definition has no type or storage class
snprintf.c:735: parse error before "size_t"
snprintf.c:735: warning: type defaults to `int' in declaration of `VA_SHIFT'
snprintf.c:735: warning: data definition has no type or storage class
snprintf.c:736: parse error before "char"
snprintf.c:736: warning: type defaults to `int' in declaration of `VA_SHIFT'
snprintf.c:736: warning: data definition has no type or storage class
snprintf.c:738: parse error before "void"
snprintf.c:739: warning: type defaults to `int' in declaration of `VA_END'
snprintf.c:739: warning: data definition has no type or storage class
snprintf.c:740: parse error before "return"
make[2]: *** [snprintf.o] Error 1
make[2]: Leaving directory `/home/afazio/tmp/eggdrop1.6.15/src/compat'
make[1]: *** [compatability] Error 2
make[1]: Leaving directory `/home/afazio/tmp/eggdrop1.6.15/src'
make: *** [modegg] Error 2


then, with a text editor, comment out the two compiler statements on lines 89 and 715 in src/compat/snprintf.c. This fixed the problem for me. Cheers.
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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