This is the mail archive of the gcc-help@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]

some trouble with using gcc on SunOS


HI!

We've just installed gcc 2.95 on a SunOS 5.6.
The compiler itself works well but infortunately we are unable to link the
.o file with a .a.
The trouble is it can't find a symbol and no output file is generated.
We've been verifying that the missing symbol is present in the .a file. 

Here is a copy of the used comands:

scedev:/export/home/herve/sources> gcc  -ltngdt envoi_simple.c
Undefined                       first referenced
 symbol                             in file
TNGDT_Server_Connect                /var/tmp/ccUUQ9VP.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
scedev:/export/home/herve/sources> echo $LD_LIBRARY_PATH

:/maia/maia_prd/tng/tngdts/lib:/usr/local/CAlib:/usr/ccs/lib:usr/lib:/usr/dt
/lib
scedev:/export/home/herve/sources> dump -g
/maia/maia_prd/tng/tngdts/lib/*|grep TNGDT_Server_Connect

192442  TNGDT_Server_Connect

TNGDT_Server_Connect is an int function out of an SDK API. So it may have
been compiled with an other compiler.

The same module has been tested on an other SunOs system with cc compiler
and it runs fairly.

Would you be kind enough to help us on this case?

Thanks a lot!


Hervé Ramboz 


*************************************************************************

Ce message et toutes les pièces jointes (ci-après le "message") sont
confidentiels et établis à l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisée est interdite. 
Tout message électronique est susceptible d'altération. 
La SOCIETE GENERALE et ses filiales déclinent toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié.

				********

This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited. 
E-mails are susceptible to alteration.   
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. 

*************************************************************************


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