CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Advanced:
Strange runtime errors


New User

Jun 8, 2007, 6:08 PM

Post #1 of 2 (1679 views)
Strange runtime errors Can't Post

We recently moved our perl codes and cgi to a new platform on a Solaris 10 X86 system. Installed perl 5.8.8 and all the perl modules necessary to make our application run. Used a gcc 3.4.6 compiler to create the binaries. We also needed syscalls so I got all the C header files *.h to *.ph using h2ph. Perfect? ...not so. When I run the web application at some point it calls a and throws out the following error:

Software error:

[Mon Jun 4 12:12:01 2007] nph-ExperimentEntry: [Mon Jun 4 12:12:01 2007] nph-ExperimentEntry: Undefined subroutine &main::__GNUC_PATCHLEVEL__ called at (eval 264) line 1.
[Mon Jun 4 12:12:01 2007] nph-ExperimentEntry: Compilation failed in require at /tools/perl/5.8.8_new/lib/site_perl/5.8.8/i86pc-solaris/sys/ line 7.
Compilation failed in require at /tools/perl/5.8.8_new/lib/site_perl/5.8.8/i86pc-solaris/sys/ line 7.
For help, please send mail to the webmaster giving this error message and the time and date of the error.

nph-ExperimentEntry is the perl script that is doing the system call. On the old platform which is Solaris SPARC, it runs without any problems. Ofcourse there is no such thing as ccompile.h there. What can be wrong. Is there something that I would have missed while using the compiler. I had suspected my build of the gcc compiler 3.4.6 and so recompiled perl using the gcc compiler that came with solaris 10. There was no improvement either way.

I look forward to any reply/insight to this strange problem.

Thanks much.


Jun 9, 2007, 2:17 PM

Post #2 of 2 (1668 views)
Re: [zeb] Strange runtime errors [In reply to] Can't Post

Ask on if you get no replies here.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives