Unix Technical Forum

aCC runtime: ERROR: _main() not called.

This is a discussion on aCC runtime: ERROR: _main() not called. within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> I am trying to port an application from HPUX 10.x to HPUX 11.0. A portion of the code base ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 04:45 PM
Jeff McCallister
 
Posts: n/a
Default aCC runtime: ERROR: _main() not called.

I am trying to port an application from HPUX 10.x to HPUX 11.0.
A portion of the code base is a C-based library which I only have in
binary form. When I do a UNIX file command on the binary library,
it says "archive file -s800 relocatable library".

After fighting through the various C++ cfront to aCC upgrade issues,
I finally got the application to compile and link.

However, when I run it, I get "aCC runtime: ERROR: _main() not called"
followed by a memory fault core dump.

I have tried calling _main() from the C++ main(), but this doesn't
help.

All the postings I have seen seem to be apply to C main's that need to
call _main(). My case is the opposite: I have a main() compiled with
aCC that eventually calls both aCC++ shared libraries and the C binary
library I mentioned earlier.

Any help would be appreciated,
Jeff McCallister
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 04:46 PM
jignaasu
 
Posts: n/a
Default Re: aCC runtime: ERROR: _main() not called.

> However, when I run it, I get "aCC runtime: ERROR: _main() not called"
> followed by a memory fault core dump.


can you post your compile command ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:12 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com