Solved

How to port  C code from Vx works operating system to unix?

Posted on 2006-11-03
2
217 Views
Last Modified: 2010-04-15
I want to port a part of C code from Vxworks operatingsystem to Unix OS,but when I am trying do that,it dosen't compile
because it throws an error with the symbol table not found or inappropriate symbol table.How do I make my own symbol table or is there any other way where I can complie my code or make changes with the existing symblo table code.

Also, tell me where can I find the documents for building the symblo table code on the web?

A prompt response is highly appreciated.


 
0
Comment
Question by:tatikor_143
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 45

Accepted Solution

by:
Kent Olsen earned 250 total points
ID: 17869509

"Symbol table not found" sounds more like a loader error than a compiler error.  I suspect that you're trying to link a file that's not a library.

Start with the basics.  Can you compile without linking?


   cc -c source.c


Kent
0
 
LVL 15

Expert Comment

by:bpmurray
ID: 17870645
This isn't a compiler problem, but rather a linker problem. You're using a library (or a .a or .o or a .obj file) from another platform (Vxworks perhaps?), and trying to combine this with your code.

The solution is to only use the .c files from the vxworks project, and use whatever is available on the Unix OS (is it real Unix or Linux or what?).
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question