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.

Compilation errors in SunOS 5.8 (Sparc)

Old posts that have not been replied to for several years.
Locked
r
raven

Post by raven »

Trying to compile the eggdrop1.8.6 downloaded from ftp.eggheads.org/pub/eggdrop/stable but during the linking process I get the following errors.

Disabling the assoc module gives similar errors on the blowfish module, which as far as I can tell isn't a module one want to disable.

Running Tcl8.3.3 right now, but have tried Tcl8.3.4a3, which made no difference (not even a Tcl problem I got I guess...).

I got no root access either. Help is most welcome. Errors below (duuh :wink:).

Code: Select all


gcc -pipe -fPIC -g -O2 -I. -I../../.. -I../../..  -I../../../src/mod -DHAVE_CONFIG_H  -DMAKING_MODS -c .././assoc.mod/assoc.c
mv assoc.o ../
gcc -pipe -o ../../../assoc.so ../assoc.o -L/tmp/tcl/lib -ltcl8.3 -lm -ldl -lnsl -lsocket
Undefined symbol main first refered to in file                                /sw/gnat-3.13/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1/crt1.o
ld: Fatal error: Symbolreference error. No outdata written to ../../../assoc.so
*** Error code 1
make: Fatal error: Command failed for target `../../../assoc.so'
Current working directory /tmp/eggdrop1.6.8/src/mod/assoc.mod
*** Error code 1
make: Fatal error: Command failed for target `assoc.mod_so'
Current working directory /tmp/eggdrop1.6.8/src/mod
*** Error code 1
make: Fatal error: Command failed for target `modules'

_________________
quoth the raven:
"Get the hell outta here, it's gonna blow!!"

<font size=-1>[ This Message was edited by: raven on 2002-02-16 12:58 ]</font>
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

make static

[edit]
and also remove those optimisation flags (-O2)
[/edit]

<font size=-1>[ This Message was edited by: Petersen on 2002-02-16 14:51 ]</font>
r
raven

Post by raven »

hmm.... I know I tried 'make static' before... Tried again and now it worked... guess the version that I got from the non "Stable" dir (but same version#) didn't work very well...

Thanks for the help tho! :smile:
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

there is only 1 eggdrop1.6.8.tar.gz on the ftp. the stable dir is a symlink to the 1.6 dir.
Locked