Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 94525 invoked from network); 5 Apr 2004 15:21:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Apr 2004 15:21:43 -0000 Received: (qmail 40751 invoked by uid 500); 5 Apr 2004 15:21:26 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 40529 invoked by uid 500); 5 Apr 2004 15:21:24 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 40515 invoked from network); 5 Apr 2004 15:21:23 -0000 From: "Joseph E. Sacco, Ph. D." Organization: J.E. Sacco & Associates, Inc. To: modperl@perl.apache.org Subject: Old question: 'my_perl undeclared' Date: Mon, 5 Apr 2004 10:21:23 -0500 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404051121.23139.jsacco@earthlink.net> X-Scanned-By: MIMEDefang 2.39 X-ELNK-Trace: 8d9efc9a3472fc8794f5150ab1c16ac08bb5361f5afbff6052b6b9697fe4faead784a67482d8d89d350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N System: * PowerMac silver with dual G4 533MHz CPUs' * YDL-3.0.1 * perl-5.8.3 * httpd-2.0.40-21.3b * mod_perl-1.99_xx =============================================== I am having problems building mod_perl-1.99_xx. Specifically there is an unsatisfied reference to 'my_perl'. For example [using the source that came with YDL-3.0.1]: gcc -I/usr/src/rpm/BUILD/mod_perl-1.99_05/src/modules/perl -I/usr/src/rpm/BUILD/mod_perl-1.99_05/xs -I/usr/include/httpd -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.3/ppc-linux-thread-multi/CORE -DMOD_PERL -O2 -g -fsigned-char -fpic \ -c modperl_env.c && mv modperl_env.o modperl_env.lo modperl_env.c: In function `modperl_env_hash_keys': modperl_env.c:48: `my_perl' undeclared (first use in this function) modperl_env.c:48: (Each undeclared identifier is reported only once modperl_env.c:48: for each function it appears in.) make[1]: *** [modperl_env.lo] Error 1 make[1]: Leaving directory `/usr/src/rpm/BUILD/mod_perl-1.99_05/src/modules/perl' make: *** [modperl_lib] Error 2 I am using perl-5.8.3. Running 'perl -V' shows: .... usethreads=define use5005threads=undef useithreads=define usemultiplicity=define .... Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux I have browsed the archives for a solution to this problem and have found some discussion about this problem, but nothing enlightening. There were some cases reported where MULTIPLICITY was set but threading was not enabled. That's not the case here. Thoughts??? -Joseph -- Joseph E. Sacco, Ph.D. J.E. Sacco & Associates, Inc. -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html