gnash-dev
[Top][All Lists]
Advanced

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

[Gnash-dev] make check: 'S_IRWXU' was not declared / libintl_gettext mis


From: Marcin Cieslak
Subject: [Gnash-dev] make check: 'S_IRWXU' was not declared / libintl_gettext missing
Date: Sat, 28 Feb 2009 01:31:14 +0000 (UTC)
User-agent: slrn/0.9.9p1 (FreeBSD)

Two more reports from "make check" on FreeBSD 7/amd64 with snapshot
20090225:

1) in test_cache.cpp:

test_cache.cpp: In function 'void create_file(const std::string&, size_t)':
test_cache.cpp:351: error: 'S_IRWXU' was not declared in this scope

Easily fixed by:

diff -ru testsuite.orig/libnet.all/test_cache.cpp 
testsuite/libnet.all/test_cache.cpp
--- testsuite.orig/libnet.all/test_cache.cpp    2009-02-27 10:16:24.998106694 
+0100
+++ testsuite/libnet.all/test_cache.cpp 2009-02-27 10:34:30.139506872 +0100
@@ -27,6 +27,9 @@
 #ifdef HAVE_GETOPT_H
 # include <getopt.h>
 #endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
 
 #ifndef __GNUC__
 extern int optind, getopt(int, char *const *, const char *);

2) libbase testsuite does not compile because -lintl_gettext is not linked. 
Quick fix:

--- testsuite.orig/libbase/Makefile.in  2009-02-27 10:16:24.341119529 +0100
+++ testsuite/libbase/Makefile.in       2009-02-27 10:59:04.142154447 +0100
@@ -31,6 +31,7 @@
 #   along with this program; if not, write to the Free Software
 #   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 VPATH = @srcdir@
+AM_LDFLAGS = $(INTLLIBS)
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@

(Of course, this needs proper auto* voodoo).

There are more failures, but I haven't had a look at them yet. Among others,
actionscript.all aborts with:

Compiling `./XML.as.pp' into frame 2... failed:
   if ( this.childNodes[0] ===
                             ^
  Line 364:  Reason: 'syntax error'

-- 
              << Marcin Cieslak // address@hidden >>





reply via email to

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