Using SCO object files under Linux

Using SCO object files under Linux

Post by msutto.. » Wed, 26 May 1999 04:00:00



I'm trying to use a object file that was built under SCO.  When I try to
link the object to my objects developed under linux, I get a link error:

<sco_object>.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status

Is there anyway to use the SCO object under linux?  I have messed around
with the iBCS and that seems to only be for binary compatibility not so
much "object" compatibility.  Would it be possible to use a SCO compiler
to compile the project?  If so, where might I get a hold of a SCO
compiler?

Any assistance would be appreciated.

Mike

--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

 
 
 

Using SCO object files under Linux

Post by Jim Rober » Wed, 26 May 1999 04:00:00




Quote:> I'm trying to use a object file that was built under SCO.  When I try to
> link the object to my objects developed under linux, I get a link error:

> <sco_object>.o: file not recognized: File format not recognized
> collect2: ld returned 1 exit status

> Is there anyway to use the SCO object under linux?  I have messed around
> with the iBCS and that seems to only be for binary compatibility not so
> much "object" compatibility.  Would it be possible to use a SCO compiler
> to compile the project?  If so, where might I get a hold of a SCO
> compiler?

> Any assistance would be appreciated.

> Mike

Mike,

Could it be that the SCO object file is 'coff' object format, not ELF?

Try 'file SCO.object' on both the linux and SCO box if you can.

On my SCO box, the default object format is COFF, not ELF.

Jim

 
 
 

1. Using SCO object files under Linux

I'm trying to use a object file that was built under SCO.  When I try to
link the object to my objects developed under linux, I get a link error:

<sco_object>.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status

Is there anyway to use the SCO object under linux?  I have messed around
with the iBCS and that seems to only be for binary compatibility not so
much "object" compatibility.  Would it be possible to use a SCO compiler
to compile the project?  If so, where might I get a hold of a SCO
compiler?

Any assistance would be appreciated.

Mike

--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

2. X11 startup...

3. how to make one object file from several object files

4. Bug in 2.0.17

5. splitting an object file (.o) into multiple object files

6. hiding password output

7. Convert SunOS object files into Solaris object files?

8. Multi-Tech ISI552

9. x.out SCO Xenix object file format

10. Finding object usage within an object file

11. Reading ELF format object files using GNU tools on the Power Maxion

12. Question on Solaris Shared Object (using an exp file)

13. How to control output of object files using make rules