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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |