LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2005, 02:05 AM   #1
mchitrakar
Member
 
Registered: Mar 2004
Posts: 93
Blog Entries: 1

Rep: Reputation: 15
converting from sco-ux


i have to convert a sco-ux program to run in linux. I changed the makefile with cc rewritten to gc.
up to there so fine..new problems arized.following messsages appeared as:

<<------------------------------->>
gcc -c falcsad.c
In file included from falcsad.c:5:
stc.h:15:24: sys/stream.h: No such file or directory
In file included from stc.h:26,
from falcsad.c:5:
../hdr/tab.d:78: warning: useless keyword or type name in empty declaration
make: *** [alcsad.o] Error 1

<<---------------->>


My question is whether gcc libraries for linux is different thatn for other unix versions?
 
Old 09-05-2005, 11:32 PM   #2
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
Uh, why don't you just backup all the stuff you want to save on the system, wipe it, and install a linux distro from scratch?
 
Old 09-06-2005, 12:25 PM   #3
mchitrakar
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Blog Entries: 1

Rep: Reputation: 15
thanks for "a" solution. But that is a "no solution" for me. My problem was one (pls. see the ques, at the last of the ..) and the solution different.anyway, thks.
 
Old 09-06-2005, 02:03 PM   #4
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
I'm afraid it won't be that easy. There is no sys/stream.h in linux nor in glibc.

You will have to rewrite some parts of the code to use linux functions and header files instead of sco ones.
 
Old 09-07-2005, 12:24 PM   #5
mchitrakar
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Blog Entries: 1

Rep: Reputation: 15
yeah...I think I shud do that..cool anyway to hack and rewrite portions of the source code not mine. And I had wasted weeks trying to give at compile time the options into gcc about location of sys/stream.h...thumbs up r0b0...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about "converting" from SCO Unix to Linux... severedhead Linux - Software 4 09-15-2009 03:08 PM
SCO vs Novell - SCO claims ownership to UNIX Ephracis General 5 10-02-2004 02:55 PM
SCO once again... stonehurstX11 General 5 03-05-2004 10:30 AM
SCO what a naughty SCO demmylls General 15 12-05-2003 09:19 AM
caldera, SCO, SCo group? qanopus General 7 08-25-2003 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration