bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: m4-1.4q on Tru64Unix


From: Gary V. Vaughan
Subject: Re: m4-1.4q on Tru64Unix
Date: Thu, 09 Oct 2003 11:46:48 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3

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>


--
  ())_.  Gary V. Vaughan    gary@(lilith.warpmail.net|gnu.org)
  ( '/   Research Scientist http://www.oranda.demon.co.uk       ,_())____
  / )=   GNU Hacker         http://www.gnu.org/software/libtool  \'      `&
`(_~)_   Tech' Author       http://sources.redhat.com/autobook   =`---d__/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]