[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

[ID 20000110.001] 'make' problem in perl-5.005.03



Hi,

I've tried to download and install perl-5.005.03 software 
available at http://www.gnu.org.
I am able to run the Configure script without any problems,
but when I execute the make command, I get parse errors all
over the place like :

`sh  cflags libperl.a miniperlmain.o`  miniperlmain.c
          CCCMD =  gcc -DPERL_CORE -c  -O   
In file included from perl.h:367,
                 from miniperlmain.c:11:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/sys/param.h:187:
warning: `NBBY' redefined
/usr/include/sys/select.h:56: warning: this is the location of the
previous definition
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/time.h:90,
                 from /usr/include/sys/time.h:405,
                 from /usr/include/sys/select.h:17,
                 from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/sys/types.h:281,
                 from perl.h:307,
                 from miniperlmain.c:11:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or
union
/usr/include/sys/siginfo.h:76: parse error before `}'
In file included from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:38,
                 from perl.h:523,
                 from miniperlmain.c:11:
/usr/include/sys/vnode.h:163: parse error before `u_offset_t'
/usr/include/sys/vnode.h:163: warning: no semicolon at end of struct or
union
/usr/include/sys/vnode.h:171: parse error before `}'


The output of ./myconfig script is as follows:

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos maruti 5.7 generic sun4m sparc sunw,sparcstation-4 '
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.7.2.2
    cppflags=''
    ccflags =''
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Thanks in advance for your help regarding this.
-Raj

-- 
====================================================================
Rajeshwar Naik                           Ph #  : (91)40-7721642 (w) 
Senior Design Engineer                   Fax#  : (91)40-7720884 (w) 
Sand Microelectronics (India) Pvt. Ltd.  Email : raj@sandi.stph.net


Follow-Ups from:
Nick Ing-Simmons <nik@tiuk.ti.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]