This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
problem on solaris 2.7
- To: <gcc-bugs at gcc dot gnu dot org>
- Subject: problem on solaris 2.7
- From: Chris Hayner <hayner80 at astro dot ocis dot temple dot edu>
- Date: Tue, 30 Jan 2001 16:57:05 -0500 (EST)
I hope this is the right place for this error to be reported.
here is the command, and the output:
gcc -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC -G
-Wl,-soname,libpsqlodbc.so.0 -Wl,-Bsymbolic info.o bind.o columninfo.o
connection.o convert.o drvconn.o environ.o execute.o lobj.o misc.o
options.o pgtypes.o psqlodbc.o qresult.o results.o socket.o parse.o
statement.o gpps.o tuple.o tuplelist.o dlg_specific.o -lm -ldl -lsocket
-lresolv -lnsl -lm -lc -Wl,-rpath,/usr/local/pgsql/lib -o
libpsqlodbc.so.0.26
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/crt1.o: In function
`_start':
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/crt1.o(.text+0x5c):
undefined reference to `main'
collect2: ld returned 1 exit status
if anyone could help me with this i would greatly appreciate it.
thanks in advance,
chris hayner