From: Bill Fenwick (bill@digicomp.com)
Date: Thu Nov 21 2002 - 15:20:41 EST
Hi, all
Not sure whether this is more related to Solaris or gcc... please
forgive me if my question is inappropriate for the list.
We've got an Ultra 2 running Solaris 2.6 5/98 with current patches
installed, and we've got the gcc 3.2 package from sunfreeware installed
on it. I'm trying to compile a spam and virus detection program
(MailCorral 1.0.12), but it keeps dying with the following message:
Undefined first referenced
symbol in file
main
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.2/crt1.o
I've already had to modify the Makefile for this program a couple times,
largely because the configure program failed to include some
Solaris-appropriate flags, and I'm wondering if I'm missing something
else. Here's the gcc command that produced the above error:
gcc -o sendmailfilter
-I/usr/local/sendmail-8.12.6/obj.SunOS.5.6.sun4/libsm
-I/usr/local/sendmail-8.12.6/sendmail
-I/usr/local/sendmail-8.12.6/include -D_REENTRANT -pthreads
/usr/local/sendmail-8.12.6/obj.SunOS.5.6.sun4/libsm/libsm.a
/usr/local/sendmail-8.12.6/obj.SunOS.5.6.sun4/libmilter/libmilter.a
/usr/local/sendmail-8.12.6/obj.SunOS.5.6.sun4/libsmutil/libsmutil.a
I've confirmed that the sendmail and object locations are correct (we
recently upgraded to sendmail 8.12.6 with the libmilter option compiled
in, also compiled with gcc 3.2).
Any ideas? Again, I apologize if this is an inappropriate question for
sunmanagers.
-- Bill Fenwick Email: fenwick@digicomp.com Digicomp Research Voice: (607) 273-5900 ext 32 _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:20 EDT