[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m4-1.4q on Tru64Unix
From: |
Martin MOKREJŠ |
Subject: |
Re: m4-1.4q on Tru64Unix |
Date: |
Thu, 9 Oct 2003 13:12:30 +0200 (CEST) |
On Thu, 9 Oct 2003, Gary V. Vaughan wrote:
Yes, that helped.
I get then:
make[3]: Entering directory `/usr/local/scratch/m4-1.4q/modules'
source='perl.c' object='perl_la-perl.lo' libtool=yes \
depfile='.deps/perl_la-perl.Plo' tmpdepfile='.deps/perl_la-perl.TPlo' \
depmode=tru64 /bin/bash ../config/depcomp \
/bin/bash ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..
-I../m4 -I../m4 -I/software/@sys/usr/include -I/usr/local2/include
-I/usr/local/include -I/usr/local2/openssl/include `perl -MExtUtils::Embed -e
ccopts` -O2 -arch ev56 -c -o perl_la-perl.lo `test -f 'perl.c' || echo
'./'`perl.c
rm -f .libs/perl_la-perl.lo
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../m4 -I../m4
-I/software/@sys/usr/include -I/usr/local2/include -I/usr/local/include
-I/usr/local2/openssl/include -pthread -std -fprm d -ieee
-I/software/@sys/usr/include -I/software/@sys/usr/BerkeleyDB-4.1.25/include
-I/usr/local2/include -DLANGUAGE_C
-I/software/@sys/usr/lib/perl5/5.8.1/alpha-dec_osf-thread-multi-ld/CORE -O2
-arch ev56 -c -MD perl.c -DPIC -o .libs/perl_la-perl.lo
mv -f .libs/perl_la-perl.lo perl_la-perl.o
(cd . && ln -s perl_la-perl.o perl_la-perl.lo)
/bin/bash ../libtool --mode=link cc -O2 -arch ev56 -no-undefined -o perl.la
-rpath /software/@sys/usr/libexec/ -module `perl -MExtUtils::Embed -ee ldopts`
perl_la-perl.lo ../m4/libm4.la
*** Warning: Linking the shared library perl.la against the
*** static library
/software/@sys/usr/lib/perl5/5.8.1/alpha-dec_osf-thread-multi-ld/auto/DynaLoader/DynaLoader.a
is not portable!
rm -fr .libs/perl.la .libs/perl.* .libs/perl.*
$ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
Platform:
osname=dec_osf, osvers=5.1a, archname=alpha-dec_osf-thread-multi-ld
uname='osf1 serow.gsf.de v5.1 1885 alpha alpha unknown tru64 '
config_args='-de -Dlocincpth=/software/@sys/usr/include
/software/@sys/usr/BerkeleyDB-4.1.25/include /usr/local2/include
-Dloclibpth=/software/@sys/usr/lib /software/@sys/usr/BerkeleyDB-4.1.25/lib
/usr/local2/lib -Doptimize=-O3 -arch ev56 -Accflags=
-Aldflags=-L/software/@sys/usr/lib -L/software/@sys/usr/BerkeleyDB-4.1.25/lib
-L/usr/local2/lib -Dprefix=/software/@sys/usr -Duselongdouble -Dusedl -Ushrplib
-Uuseshrplib -Duseithreads'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=define
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-pthread -std -fprm d -ieee -I/software/@sys/usr/include
-I/software/@sys/usr/BerkeleyDB-4.1.25/include -I/usr/local2/include
-DLANGUAGE_C',
optimize='-O3 -arch ev56',
cppflags='-pthread -std -fprm d -ieee -I/software/@sys/usr/include
-I/software/@sys/usr/BerkeleyDB-4.1.25/include -I/usr/local2/include
-DLANGUAGE_C'
ccversion='V6.5-207', gccversion='', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='long double', nvsize=16, Off_t='off_t',
lseeksize=8
alignbytes=16, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -L/software/@sys/usr/lib
-L/software/@sys/usr/BerkeleyDB-4.1.25/lib -L/usr/local2/lib'
libpth=/software/@sys/usr/lib /software/@sys/usr/BerkeleyDB-4.1.25/lib
/usr/local2/lib /usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib
/usr/local/lib /var/shlib
libs=-lgdbm -ldbm -ldb -lm -lutil -lpthread -lexc
perllibs=-lm -lutil -lpthread -lexc
libc=/usr/shlib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O3 -msym -std -s
-L/software/@sys/usr/lib -L/software/@sys/usr/BerkeleyDB-4.1.25/lib
-L/usr/local2/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_64_BIT_ALL
USE_LONG_DOUBLE USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under dec_osf
Compiled at Oct 2 2003 22:51:12
@INC:
/software/@sys/usr/lib/perl5/5.8.1/alpha-dec_osf-thread-multi-ld
/software/@sys/usr/lib/perl5/5.8.1
/software/@sys/usr/lib/perl5/site_perl/5.8.1/alpha-dec_osf-thread-multi-ld
/software/@sys/usr/lib/perl5/site_perl/5.8.1
/software/@sys/usr/lib/perl5/site_perl
.
$
> Akim Demaille wrote:
> > Hi!
> >
> > That's for bug-m4, not for me.
> >
> > ----------------------------------------------------------------------
> > Hi,
> > I have the following problem compiling m4-1.4q on Tru64Unix:
> >
> > source='perl.c' object='perl_la-perl.lo' libtool=yes
> > depfile='.deps/perl_la-perl.Plo' tmpdepfile='.deps/perl_la-perl.TPlo'
> > depmode=tru64 /bin/bash ../config/depcomp /bin/bash ../libtool
> > --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../m4 -I../m4
> > -I/software/@sys/usr/include -I/usr/local2/include -I/usr/local/include
> > -I/usr/local2/openssl/include `perl -MExtUtils::Embed -e ccopts` -O2 -arch
> > ev56 -c -c9x -o perl_la-perl.lo `test -f 'perl.c' || echo './'`perl.c
> > rm -f .libs/perl_la-perl.lo
> > cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../m4 -I../m4
> > -I/software/@sys/usr/include -I/usr/local2/include -I/usr/local/include
> > -I/usr/local2/openssl/include -pthread -std -fprm d -ieee
> > -I/software/@sys/usr/include -I/software/@sys/usr/BerkeleyDB-4.1.25/include
> > -I/usr/local2/include -DLANGUAGE_C
> > -I/software/@sys/usr/lib/perl5/5.8.1/alpha-dec_osf-thread-multi-ld/CORE -O2
> > -arch ev56 -c -c9x -MD perl.c -DPIC -o .libs/perl_la-perl.lo
> > cc: Error: ../m4/hash.h, line 38: Error parsing parameter list. Found
> > "__builtin_try" when expecting one of: ",", ")". (notexpecting)
> > typedef int m4_hash_cmp_func (const void *key, const void *try);
> > ---------------------------------------------------------------^
> > cc: Error: ../m4/hash.h, line 53: Error parsing parameter list. Found
> > "__builtin_try" when expecting one of: ",", ")". (notexpecting)
> > int m4_hash_string_cmp (const void *key, const void *try);
> > ------------------------------------------------------------------^
> > cc: Error: ../m4/hash.h, line 41: In this declaration, "m4_hash_cmp_func"
> > does not name a type. (nottypedef)
> > m4_hash_cmp_func *cmp_func);
> > ---------------------------------^
> >
> >
> > Changing compile switches does not help. Any ideas? ;)
>
> Does this patch work?
>
> Index: perl.c
> ===================================================================
> RCS file: /cvsroot/m4/m4/modules/perl.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 perl.c
> --- perl.c 27 Aug 2003 17:10:12 -0000 1.12
> +++ perl.c 9 Oct 2003 10:39:27 -0000
> @@ -23,6 +23,7 @@
> #undef PACKAGE
>
> #include "perlxsi.c" /* Perl stuff */
> +#undef try
> #undef _
>
> #include <m4module.h>
>
>
>
--
Martin Mokrejs <address@hidden>, <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
- Re: m4-1.4q on Tru64Unix, Akim Demaille, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Gary V. Vaughan, 2003/10/09
- Re: m4-1.4q on Tru64Unix,
Martin MOKREJŠ <=
- Re: m4-1.4q on Tru64Unix, Gary V. Vaughan, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Martin MOKREJŠ, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Gary V. Vaughan, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Akim Demaille, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Martin MOKREJŠ, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Gary V. Vaughan, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Martin MOKREJŠ, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Martin MOKREJŠ, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Gary V. Vaughan, 2003/10/10
- Re: m4-1.4q on Tru64Unix, Martin MOKREJŠ, 2003/10/10