Error during compile of 5.8.1-RC2

Discussion in 'Perl Misc' started by Eric Kidder, Jul 14, 2003.

  1. Eric Kidder

    Eric Kidder Guest

    I tried to send this as an email to , but it kept bouncing.
    This is a compile-time error, so I can't use perlbug to report it.

    My configuration is as follows:
    Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
    Platform:
    osname=hpux, osvers=11.00, archname=PA-RISC2.0
    uname='hp-ux xxxx b.11.00 e 9000800 22704576 8-user license '
    config_args='-Dcc=gcc'
    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
    Compiler:
    cc='gcc', ccflags ='-fPIC -D_HPUX_SOURCE -mpa-risc-2-0
    -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-D_HPUX_SOURCE -fPIC -D_HPUX_SOURCE -mpa-risc-2-0
    -fno-strict-aliasing'
    ccversion='', gccversion='3.2', gccosandvers='hpux11.00'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
    lseeksize=8
    alignbytes=8, prototype=define
    Linker and Libraries:
    ld='/usr/bin/ld', ldflags ='-L/home/cpcusers/ek9635/lib -L/appl/cpc/lib
    -L/usr/local/lib'
    libpth=/home/cpcusers/ek9635/lib /appl/cpc/lib /usr/local/lib /lib
    /usr/lib /usr/ccs/lib
    libs=-lcl -lpthread -lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm
    -lcrypt -lsec -lc
    perllibs=-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec -lc
    libc=/lib/libc.sl, so=sl, useshrplib=true, libperl=libperl.sl
    gnulibc_version=''
    Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E
    -Wl,-B,deferred '
    cccdlflags='-fPIC', lddlflags='-b -L/home/cpcusers/ek9635/lib
    -L/appl/cpc/lib -L/usr/local/lib'

    I am receiving the following error when compiling pp_sys.c:
    `sh cflags "optimize='-O'" pp_sys.o` -fPIC pp_sys.c
    CCCMD = gcc -DPERL_CORE -c -fPIC -D_HPUX_SOURCE -mpa-risc-2-0
    -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    In file included from /usr/include/shadow.h:9,
    from pp_sys.c:36:
    /usr/include/prot.h:600: conflicting types for `Perl_get_seed'
    proto.h:817: previous declaration of `Perl_get_seed'
    make: *** [pp_sys.o] Error 1

    This is because this #define from embed.h:
    #define get_seed Perl_get_seed

    is conflicting with this function prototype from /usr/include/prot.h:
    extern int get_seed __((struct pr_passwd *));

    When pp_sys.c is run through the pre-processor, it is turning all of the
    get_seed()s into Perl_get_seed()s, resulting in the following: (excerpted
    from gcc -E)
    UV Perl_get_seed(void); <-- from perl
    ....
    extern int Perl_get_seed (struct pr_passwd *); <-- from /usr/include/prot.h
    Eric Kidder, Jul 14, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. rySource

    netbeans rc2 derby driver error

    rySource, Jan 21, 2006, in forum: Java
    Replies:
    0
    Views:
    853
    rySource
    Jan 21, 2006
  2. Do Re Mi chel La Si Do

    Trouble with RC2

    Do Re Mi chel La Si Do, Mar 28, 2005, in forum: Python
    Replies:
    2
    Views:
    268
    Do Re Mi chel La Si Do
    Mar 30, 2005
  3. Nagaraj
    Replies:
    1
    Views:
    837
    Lionel B
    Mar 1, 2007
  4. traveller
    Replies:
    0
    Views:
    1,172
    traveller
    Jan 8, 2008
  5. mwlang88
    Replies:
    1
    Views:
    126
    Julian Leviston
    Jan 30, 2009
Loading...

Share This Page