Difference between Unix and Linux for resolving symbols
I came across a difference between Unix and Linux, when it comes to resolving the symbols from the libs.
consider the following code segments...
Highlights are...
* a1 is defined in call1 and is being referenced in test.c and is being used also
* a3 is referenced to in test.c and is not defined anywhere. It is being used but in a dead function prnt_a3
I am running it as
The executable gets build in HP Unix bit in Linux, it fails saying
I don't know the concept/rationale behind the same.
HPUx just refers to the data definitions and it doesn't bother about the functions unless there is atleast 1 function being used from that routine (in which case, HP also gives error) ???
If anyone can suggest some reading material for the same, it'll also be great.
Thanks...
Last edited by Scott; 10-17-2012 at 12:42 PM..
Reason: After almost 5 years, you should know to use code tags :)
This may/may not be a long answer to a short question.
I am learning the C programming language at home.I have seen some good books on the UNIX programming enviroment.However, there were a few books that hinted towards the Linux programming enviroment.Is there any difference between the two as... (1 Reply)
Ok, I'm confused.
Can someone answer these (stupid) questions please for me?
1. What is the difference between unix and linux?
2. Is FreeBSD a unix distribution?
3. If not, then what is Unix? I actually gone to Unix.com because I thought this is it's official website where I could download... (1 Reply)
OK, I've used various versions of UNIX(Solaris, HPUX, etc..) over the years. Now the organization I work for is leaning towards more Linux based systems(Redhat, Suse, etc..)
I do see differences in in comands and how to accomplish basic adminstration, but nothing mind blowing.
So, what is it... (5 Replies)
:confused: Hi All
Can anyone help me in finding the answer of the question mentioned below.
What is the difference between Unix & linux ?
Thanks in Advance to all
CSaha (1 Reply)
Sir ,
Can any body explain the difference between linux , Unix and AIx on command Reference all the command on AIx and unix is same or not
please reply (2 Replies)
Hi,
I am using some codes that have been ported from unix to linux, and now the sorting no longer results in the desired ordering. I'm hoping to find a way to mimic the unix sort command in linux. The input file is structured the following:
$> cat file.txt... (6 Replies)
Hi Guys,
I am trying to test installation of a local rpm to my RHEL5 server. I am expecting it to fail as a previous version of the same package name exists. On using rpm -i this behaves as expected but yum install does not pick up the conflict. Here is the element of my SPEC file with the... (5 Replies)