On Wed, 26 Dec 2007, Wagner, Chris (GEAE, CBTS) wrote:
Reposting since I haven't heard anything from any of the developers. I know u guys are busy but could u give me a cursory diagnosis. Thanks.Hi. I've got a problem trying to compile mod-perl 2.0.3. I get the same error with the SVN snapshot modperl-2.0_20071219053952. Google has nothing. I have ActiveState perl build 822 that I compiled. I'm on Solaris and used the Sun compiler suite. Previously when I had a binary build of Perl I was able to compile mod-perl, same version. But now I need this new Perl and that means I have to recompile mod-perl as well. Here's the run down:[mod_perl-2.0.3]$ make cd "src/modules/perl" && make
make[1]: Entering directory `/apps/pkgs/mod_perl-2.0.3/src/modules/perl' /opt/SUNWspro/bin/cc -I/apps/pkgs/mod_perl-2.0.3/src/modules/perl -I/apps/pkgs/m od_perl-2.0.3/xs -I/usr/apache2/include -I/usr/apache2/include -I/usr/apache2/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/include -I/opt/Activ ePerl-5.8/lib/perl5/5.8.8/sun4-solaris-thread-multi/CORE -DMOD_PERL -DMP_COMPAT_ 1X -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -O -KPIC \ -c mod_perl.c && mv mod_perl.o mod_perl.lo "mod_perl.c", line 599: undefined symbol: my_perl "mod_perl.c", line 599: warning: improper pointer/integer combination: arg #1 cc: acomp failed for mod_perl.c make[1]: *** [mod_perl.lo] Error 2 make[1]: Leaving directory `/apps/pkgs/mod_perl-2.0.3/src/modules/perl' make: *** [modperl_lib] Error 2
Just a guess, but in your perl -V, you have
*** /opt/ActivePerl-5.8/bin/perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multicc='/opt/SUNWspro/bin/cc', ccflags ='-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/include',
along with
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_ITHREADS USE_PERLIO
USE_REENTRANT_API
To compare, with my Win32 ActivePerl, perl -V:ccflags isccflags='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX'
along with
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS PERL_MALLOC_WRAP
PL_OP_SLAB_ALLOC USE_ITHREADS
USE_LARGE_FILES
USE_PERLIO USE_SITECUSTOMIZE
What I'm wondering is why your perl -V:ccflags doesn't
include -DPERL_IMPLICIT_CONTEXT, etc.? Assuming the
same compile time options were used, is it possible
to compare perl -V:ccflags with that of the binary
perl that you used successfully to build mod_perl?
--
best regards,
Randy Kobes
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.