Help with AIX XL C++ complier: app exit before main program
I have two shared libraries, A, B(B depents on A, both linked with -G option which means they're rtl enable), B's toc size is bigger than 64K(-bbigtoc), while A's toc size smaller than 64K.
Then I write a "Hello, world" example E, and link with A and B.
Link cmd 1:
Link cmd 2:
I don't know why?
Why the first one cannot runinto main program? Why the second one works. I've tryed serveral methods, but failed.
This problem is weird, but interesting!
Looking forward for solutions. Guys, thanks advance!!!
I am having trouble running jgrasp. I get the message above when I try to run jgrasp. I am running fedora if that makes a difference.
I have already set my environmental variable with this. Hopefully I did it right.
JGRASP_HOME=/opt/jgrasp
export... (0 Replies)
Hello All,
I am trying to call a function from the calling main program from a dlopened library function, below is the entire code, when I execute it it crashes with sigill. Can you guys help me out I guess I am missing out on the linker flag or something here. besides I am new to AIX and... (1 Reply)
Hey , guys I am new to shell programing ,, so need a help from you guys ...
I have to write a shell script that accepts file name or directory name from the user if it is a directory then throw an error if it is a file then give the user two options .
1.overwrite the content
2.append the... (2 Replies)
We have our in house developed software running on AIX 6.1 (6100-06-06-1140). The application is a 32 bit application and the operating system is 64 bit. We are running this application without any issue on AIX 5.3 32-bit on P5. We are facing issue with this application after moving on P7 with aix... (4 Replies)
I'm trying to install wireshark on Fedora(latest version with gnome3) and I keep getting the above error. I keep killing the offending process after finding it's pid using "ps aux | grep yum", but the same process spawns again with a different pid. root 1605 0.0 3.4 54424 26228 ? SN 10:51 0:02... (1 Reply)
I am trying to understand a program in a book and this program suppose to call other programs which are in the same folder, the other programs are called 'lu' and 'add' but for some reason when it gets to the last line of each case to call these programs there is an error message saying
./rolo:... (2 Replies)
Hi,
A quick question. If I build an application on AIX 6.1 TL3 using XL C/C++ 8.0 and Oracle 10g, can I then take those binaries and run them on AIX 5.3 and previous?
Regards
Kevin (3 Replies)
Hi,
I have 2 problems with a simple C++ app which i feel may be related.
1/ my app throws a Segmentaion Fault when my code exists from main(). I have stripped it to it's simplest form with no code in main and it still generates a segmentation fault.
I'm not sure what is causing this,... (9 Replies)
main()
{
pid_t child;
child=fork();
if(child > 0)
{sleep(60);
}
else
{exit(0);
}
}
the above code will create zombie process,which will be adopted by init as soon as parent process will dies.Can any one gimme a code or an alogrithm to keep this zombie proocess alive even after... (6 Replies)
Hi,
I want a command in unix shell script which will exit my whole program, not only from the function it's using. For e.g:
$1 == "m_who" && $4 == "Extrnl Vendor" {
print "You don have access"
exit (0);
}
If this error is showing on the screen, then nothing should not... (9 Replies)