Link problems with SparcWorks 4.2

Link problems with SparcWorks 4.2

Post by Michael Fleischhaue » Sat, 08 Aug 1998 04:00:00



Hello,

I've problems linking my object files with SparcWorks 4.2 under
Solaris 2.6. After compiling I invoke the link phase with

CC -g0 Xt_Test.o Xt_Xtension.o Xt_Dms.o -lorb_r -o client

... and I get the following strange (?) errors:
"Xt_Dms.h", line 6: Error: Could not open include file <CORBA.h>.
"Xt_Dms.h", line 9: Error: Could not open include file
"MyTest_c.hh".
"Xt_Dms.h", line 5: Error: Could not open include file <vector.h>
[...]

I don't understand what CC want's to compile here. All object files
and libs are allready compiled (and exist). I even tried to
put the include path (-I) into the linker command above, but that also
didn't help. Maybe it has something to do with templates, which are
not yet compiled (we're using the standard template library)?
Does anyone know how to solve this problem?

Greetings
Michael

--
Michael Fleischhauer      Telefon: (+49 89) 356256 25
Vision GmbH               Fax    : (+49 89) 356256 56

D-80807 Mnchen           http://www.vision-gmbh.de

 
 
 

Link problems with SparcWorks 4.2

Post by Michael Fleischhaue » Sat, 08 Aug 1998 04:00:00


Hello,

I've done a 'make clean' and tried once again. Now I get another linker
error message:

CC -g0 Xt_Test.o Xt_Xtension.o Xt_Dms.o -L/usr/local/vbroker/lib
-lorb_r  -o client
CC: No infile with -ptm flag; exiting
tdb_link : Error: Error occurred in invoked compiler, exit status =
1(2).  Aborting...

What does this error message mean? vWhat's the -ptm flag? I didn't find
one in the man pages to CC or ld.

Greetings
Michael

--
Michael Fleischhauer      Telefon: (+49 89) 356256 25
Vision GmbH               Fax    : (+49 89) 356256 56

D-80807 Mnchen           http://www.vision-gmbh.de

 
 
 

Link problems with SparcWorks 4.2

Post by Casper H.S. Dik - Network Security Engine » Sat, 08 Aug 1998 04:00:00


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>I've problems linking my object files with SparcWorks 4.2 under
>Solaris 2.6. After compiling I invoke the link phase with
>CC -g0 Xt_Test.o Xt_Xtension.o Xt_Dms.o -lorb_r -o client
>=2E.. and I get the following strange (?) errors:
>"Xt_Dms.h", line 6: Error: Could not open include file <CORBA.h>.
>"Xt_Dms.h", line 9: Error: Could not open include file
>"MyTest_c.hh".
>"Xt_Dms.h", line 5: Error: Could not open include file <vector.h>
>[...]
>I don't understand what CC want's to compile here. All object files
>and libs are allready compiled (and exist). I even tried to
>put the include path (-I) into the linker command above, but that also
>didn't help. Maybe it has something to do with templates, which are
>not yet compiled (we're using the standard template library)?
>Does anyone know how to solve this problem?

You need to specify all the CC arguments you specified before.

Yes, it probably has to do with templates.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

1. Where can I find SparcWorks C++ compiler 4.2?

I'm trying to port our code which uses Inprise/Borland's Visibroker
CORBA 3.3 to Solaris.  Visibroker's software requirements are quite
clear and quite strict.  For some reason they require the 4.1 or 4.2
version of SparcWorks C++.  We have SparcWorks C++ compiler v .0 and
I've tried to compile using the -compat=4 flag.  Everything compiles
just fine, but all our programs hang at startup.

I'd just like to know whether the problem is the compiler or our code.
Does anyone know where I can find even just a demo copy of the
SparcWorks C++ compiler version 4.1 or 4.2.  I already tried contacting
Sun's software sales, and they said they can't help me.

Any help would be greatly appreciated, and an email CC would be great.
Thanks in advance.

--Ivans

--

Photon Research Associates                         Phone: (858) 455-9741
5720 Oberlin Drive San Diego, California 92121       FAX: (858) 455-0658

2. Is openBSD really secure ???

3. where can I find: SPARCWorks Compiler C/C++ 4.2 for x86

4. Limited Telnet Sessisions

5. SparcWorks C++ 4.2 Compiler Bug!

6. Domain-Redirect

7. Compiling SparcWorks 4.2 Sources on Intel?

8. Generic user mangement tool

9. Sparcworks 4.2

10. non optimizing routine Sparcworks 4.2

11. SPARCworks problems w/linking

12. Linking Problems on SCO 4.2 - please read

13. Solaris 2.5, CC 4.2 and link problems