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.

compile problem with 1.6.15 and unix

Old posts that have not been replied to for several years.
Locked
h
howard

compile problem with 1.6.15 and unix

Post by howard »

Hi folks

i have a problem to compile eggdrop 1.6.15

Code: Select all

make
(This may take a while.  Go get some runts.)
cc -g -I.. -I.. -DHAVE_CONFIG_H   -c bg.c
cc: Error: proto.h, line 267: Missing ";". (nosemi)
Int open_address_listen(IP addr, int *);
----^
cc: Error: proto.h, line 262: There is no definition for the inline function named open_listen in this compilation unit. (noinlfunc)
inline int open_listen(int *);
-----------^
cc: Error: proto.h, line 263: There is no definition for the inline function named open_listen_by_af in this compilation unit. (noinlfunc)
inline int open_listen_by_af(int *, int);
-----------^
cc: Error: tclhash.h, line 70: There is no definition for the inline function named garbage_collect_tclhash in this compilation unit. (noinlfunc)
inline void garbage_collect_tclhash(void);
------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
can anyone help me?
thx

howard
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

Please send me the complete compile output, along with config.log and config.h and we'll try to fix this in the next version (wcc@eggheads.org). Actually, I think I already fixed this, but I need to know what OS you're using (uname -a). Eggdrop most likely isn't going to compile with the default compiler (that's Tru64 isn't it?). When I was testing on Tru64 I noticed that even though I had gcc installed, it wasn't using it for all of the compiling. As a temp fix for until we release 1.6.16 (or you can use CVS.. see README), edit the Makefile and change instances of 'cc' to 'gcc'.

Wcc
Locked