[EMAIL PROTECTED] said:
> Unfortunately this is a different problem from mine.
Sorry about that. I think I understand the problem now.
I can't reproduce this on either 2.2.5 or 2.2.14 in the simplest case (add a
virtual interface, ssh out to another machine, look at where it thinks I came
fro
Try putting gcc before cc in the path of the user that's doing the compiling
(presumably root). That has worked for me. Also, I've hit lots of
situations where a compile finally uses gcc and keeps complaining. Adding
/usr/ccs2/bin and /usr/ucb clears up a lot of issues.
What are you compili
[EMAIL PROTECTED] said:
> so far i know parent and child process should have separate address
> space. but here the addresses are same in both the processes. r they
> sharing the same address space?
They are in different address spaces, which is why those addresses can be the
same without them i
Excerpts from linuxchix: 20-Oct-100 [techtalk] (no subject) by Arindam
Chatterjee@yahoo
> i get the following output:
>
> child process
> addr of x = bb00 addr of y = bafc
> parent process
> addr of x = bb00 addr of y = bafc
>
> so far i know parent and child proces
Check the Makefile for something like:
CC=cc
change cc to gcc.
That may work.
alissa bader wrote:
> Hey there all, yet another really solaris question,
> but I think it's general enough to apply to this list
> :>
>
> I have installed gcc and it seems to work all right.
> but when i try to compil
Hey there all, yet another really solaris question,
but I think it's general enough to apply to this list
:>
I have installed gcc and it seems to work all right.
but when i try to compile some software that asks for
cc, the compile fails. I've tried setting up a
symbolic link for /usr/ucb/cc to
hi
when i run the program below:
#include
#include
#include
main()
{
pid_t pid;
int x = 5, y = 9;
pid = fork();
if(pid == 0)
{
printf("child process\n addr of x = %x addr of y =
%x\n", &x, &y);
fflush(stdout);
}
else
{
wait(0);
printf("parent proc
Jeff Dike:
> [EMAIL PROTECTED] said:
> > Then we upgraded the kernel to 2.2.14, and the behaviour changed: now
> > it suddenly started to announce the name/IP on the last virtual
> > interface on eth0 as its name, fex. when being used for irc or when
> > NFS-mounting directories.
>
> There was a