You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by "Philip M. Gollucci" <pg...@p6m7g8.com> on 2005/04/10 00:21:57 UTC

build error on trunk

FreeBSD-6.0-current/i386
svn trunk of modperl2,apreq2
beadperl w/ ithreads
svn trunk of httpd2/worker mpm and apr is threaded

./buildconf --with-perl=/home/pgollucci/dev/inst/perl/5.9.3-i/bin/perl

./configure  --enable-perl-glue \
	--with-perl=/home/pgollucci/dev/inst/perl/5.9.3-i/bin/perl \
	--with-apache2-apxs=[APXS] \
	--with-expat=/usr/local

cd perl; make
cc -c  -I/usr/home/pgollucci/dev/src/apreq2/glue/perl/xs 
-I/usr/home/pgollucci/dev/src/apreq2/include 
-I/usr/home/pgollucci/dev/src/apreq2/glue/perl/xsbuilder 
-I/home/pgollucci/dev/inst/httpd/2.1.5-dev/worker-thread-i/include 
-I/home/pgollucci/dev/inst/httpd/2.1.5-dev/worker-thread-i/include 
-I/usr/home/pgollucci/dev/src/httpd2/srclib/apr-util/../apr-iconv/include 
-I/usr/local/include  -pipe -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H 
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include 
-I/home/pgollucci/dev/inst/perl/5.9.3-i/lib/perl5/5.9.3/mach/CORE 
-DMOD_PERL -Wall -Wmissing-prototypes -Wstrict-prototypes 
-Wmissing-declarations -Werror -DAP_DEBUG 
-DAP_HAVE_DESIGNATED_INITIALIZER -DMP_DEBUG -DMP_TRACE 
-I/usr/home/pgollucci/dev/src/httpd2/srclib/pcre -DAP_DEBUG -ggdb3 -O0 
   -DVERSION=\"2.05-dev\"  -DXS_VERSION=\"2.05-dev\" -DPIC -fPIC 
"-I/home/pgollucci/dev/inst/perl/5.9.3-i/lib/perl5/5.9.3/mach/CORE" 
Cookie.c
Cookie.c: In function `XS_APR__Request__Cookie__Table_cookie_class':
Cookie.c:551: warning: cast to pointer from integer of different size
Cookie.c:564: warning: cast to pointer from integer of different size
*** Error code 1

Stop in /usr/home/pgollucci/dev/src/apreq2/glue/perl/xs/APR/Request/Cookie.
*** Error code 1

Stop in /usr/home/pgollucci/dev/src/apreq2/glue/perl/xs/APR/Request.
*** Error code 1

Stop in /usr/home/pgollucci/dev/src/apreq2/glue/perl/xs/APR.
*** Error code 1

Stop in /usr/home/pgollucci/dev/src/apreq2/glue/perl/xs.
*** Error code 1

Stop in /usr/home/pgollucci/dev/src/apreq2/glue/perl.
*** Error code 1

Stop in /usr/home/pgollucci/dev/src/apreq2/glue.
*** Error code 1

Stop in /usr/home/pgollucci/dev/src/apreq2.

Unfortunately I'm way out of my league in the XS stuff here

The problem is it expects a pointer, but is just getting an instance of 
the class.

HTH

END
------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml