This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

problem on solaris 2.7



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]