Need help compiling Sendmail 8.9.3 with gcc 2.8.1

Don Smith d@home.net
Tue Dec 7 11:05:00 GMT 1999


Hello, I'm trying to compile Sendmail 8.9.3 on a sparc20 running Solaris
2.6.  I'm very new to compiling programs and such.
I've installed pre-compiled gcc 2.8.1 binaries from sunfreeware.com.
When I try to compile sendmail, I get the following:
gcc -O -I.  -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=20600  -c
usersmtp.c
gcc -O -I.  -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=20600  -c  util.c
gcc -O -I.  -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=20600  -c
version.c
gcc -o sendmail   alias.o arpadate.o clock.o collect.o conf.o control.o
convtime.o  daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o
main.o map.o mci.o mime.o parseaddr.o queue.o readcf.o recipient.o
safefile.o savemail.o snprintf.o srvrsmtp.o stab.o stats.o  sysexits.o
trace.o udb.o usersmtp.o util.o version.o  -lresolv -lsocket -lnsl -lkstat
ld.so.1: /usr/ccs/bin/ld: fatal: relocation error: file /usr/lib/libld.so.2:
symbol _elf_getxoff: referenced symbol not found
gcc: Internal compiler error: program ld got fatal signal 9
*** Error code 1
make: Fatal error: Command failed for target `sendmail'
Any ideas?
I appreciated any and all help!
Thanks,
Don





More information about the Gcc-help mailing list