problem on solaris 2.7
Chris Hayner
hayner80@astro.ocis.temple.edu
Tue Jan 30 13:57:00 GMT 2001
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
More information about the Gcc-bugs
mailing list