httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Kobes <>
Subject Re: apreq_xs_tables.h w/o USE_ITHREADS
Date Thu, 05 Aug 2004 19:35:11 GMT
On Thu, 5 Aug 2004, Joe Schaefer wrote:

> Randy Kobes <> writes:
> > In the latest cvs httpd-apreq-2 on a linux machine w/o
> > USE_ITHREADS defined, I've run into a couple of problems in
> > the perl glue, specifically with apreq_xs_tables.h. One
> > problem, in apreq_xs_table_keys, is that *d is declared
> > within an #ifdef USE_ITHREADS/#endif block, so should be
> > moved out.
> +1.  It was originally put in there to evade a silly compiler
> warning.  We now always require *d for the tainting mechanics,
> so it needs to come out of the ifdef.
> > However, another problem is that both within
> > dTHXa() call, which I think should be within #ifdef
> > USE_ITHREADS/#endif.
> Why?  Doesn't our ppport.h header define this to dNOOP?

You're right - it's a different problem I'm having. Here's
what happens in compiling the perl glue (after
fixing the declaration of *d above):
In function `apreq_xs_jar_get':
parse error before ',' token
In file included from Cookie.xs:38:
In function `apreq_xs_table_get':
parse error before ',' token
In file included from Cookie.xs:38:
In function `apreq_xs_table_do':
parse error before ',' token
This is with perl -V:
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
    osname=linux, osvers=2.4.20-31.9, archname=i686-linux
    uname='linux 2.4.20-31.9 #1 tue apr 13 18:04:23 edt 2004 i686 i686
i386 gnulinux '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    cppflags='-fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='3.2.2 20030222 (Red Hat Linux 3.2.2-5)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Jul 26 2004 10:53:57

best regards,

View raw message