Hi all,
I have a question : would like to activate the threads with perl-5.8.8 on a
Sparc Solaris 8 server.
# /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos 5.8 generic_108528-11 sun4u sparc sunw,ultra-5_10 solaris '
config_args='-Dcc=gcc'
hint=recommended, useposix=true, d_sigaction=define
[b]usethreads=undef[/b] 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
I try to recompile the source with the options :
# sh Configure -Dcc=gcc -Dusethreads
But make generate an error :
# make
...
`sh cflags "optimize='-O'" op.o` op.c
CCCMD = gcc -DPERL_CORE -c -D_REENTRANT -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
op.c:3149: macro `va_start' used with too many (2) args
op.c:3160: macro `va_start' used with too many (2) args
op.c: In function `Perl_load_module':
op.c:3149: `__builtin_va_alist' undeclared (first use in this function)
op.c:3149: (Each undeclared identifier is reported only once
op.c:3149: for each function it appears in.)
op.c: In function `Perl_load_module_nocontext':
op.c:3160: `__builtin_va_alist' undeclared (first use in this function)
op.c: In function `Perl_vload_module':
op.c:3182: warning: implicit declaration of function `__builtin_va_arg_incr'
*** Error code 1
make: Fatal error: Command failed for target `op.o'
#
Thank's for your reply.
Nanard78
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]