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.

Make error

Old posts that have not been replied to for several years.
Locked
a
airsoft

Post by airsoft »

Hey just downloaded eggdrop1.6.7.tar.gz from ftp.eggheads.org.

i did: ./configure && make config && make

during make i got this error:

gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c mem.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c misc.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c misc_file.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c modules.c
modules.c:511: `inet_aton' undeclared here (not in a function)
modules.c:511: initializer element is not constant
modules.c:511: (near initialization for `global_table[251]')
make[1]: *** [modules.o] Error 1
make[1]: Leaving directory `/home/gabe/eggdrop1.6.7/src'
make: *** [modegg] Error 2


hope someone can help me on this one.

p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

A discription of the system used to compile the source code would help a long way. OS, archetecture and so forth.
f
forbid

Post by forbid »

I'm having the same/similiar problem/message. I'm using Unix SUNOS on csh. This problem is kind of prevlant as my friends are stuck here as well.
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

remove the -O2 optimization flag from the master makefile.
f
forbid

Post by forbid »

Thanks for responding, but I didn't find the tag -O2 in the file Makefile in the eggdrop1.6.7 directory



<font size=-1>[ This Message was edited by: forbid on 2002-01-01 14:13 ]</font>
f
forbid

Post by forbid »

On 2001-12-31 20:05, forbid wrote:
Thanks for responding, but I need some clarification as to what you mean by that, can you tell me how to do it as well,

thanks a lot
ACtually, my error msg is different from his, I'll post the copied section

161% make

Making module objects for static linking...

building static.h...
................. done.

Making core eggdrop for static linking...

(This may take a while. Go get some runts.)
gcc -pipe -g -O2 -I.. -I.. -DHAVE_CONFIG_H -DSTATIC -c modules.c
modules.c:513: `snprintf' undeclared here (not in a function)
modules.c:513: initializer element is not constant
modules.c:513: (near initialization for `global_table[252]')
modules.c:514: `vsnprintf' undeclared here (not in a function)
modules.c:514: initializer element is not constant
modules.c:514: (near initialization for `global_table[253]')
*** Error exit code 1

Stop.
*** Error exit code 1
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Removing the -O2 flag from the makefiles, will doubtfully help, as this is a compilation problme, not a system resources to high or eggdrop crash (usualy, just after it is started).
f
forbid

Post by forbid »

On 2002-01-01 19:33, ppslim wrote:
Removing the -O2 flag from the makefiles, will doubtfully help, as this is a compilation problme, not a system resources to high or eggdrop crash (usualy, just after it is started).
Hmm, what do you suggest I do? Isn't there a way around this compilation problem of mine, and why should it occur?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Send an e-mail to bugs@eggheads.org and include the output, when you try to make.

Explain it was downloaded from ftp.eggheads.org and the matter should be dealt with.

Note, they will not perform miracles, and it is doubtful it will be included in 1.6.8 (due to be released yesterday, but held back till today (whats gonna stop it this time guppy)).
m
masskilla
Op
Posts: 172
Joined: Wed Oct 03, 2001 8:00 pm
Location: Croatia

Post by masskilla »

The new 1.6.7 has a built in option for ./cofigure on SunOS. I think it's --disable-cc-optimization (or something like that.. do './configure --help' for a complete list).

1.6.8 will (AFAIK) be released today, he's just waiting for another patch.


_________________
MaSsKilla

#eggdrop
Undernet

<font size=-1>[ This Message was edited by: masskilla on 2002-01-02 15:15 ]</font>
Locked