Jan,

thanks for your suggestion.

On Wed, 2010-05-19 at 14:28 +0200, Jan Nieuwenhuizen wrote:
> What happens if you replace librestrict/kernel_stat.h by the
> mips one that I'm attaching?
> 

I've tried but I get a similar error:


Tail of target/tools/log/librestrict.log >>>>>>>>
    ./xstatconv.c:251: error: 'struct kernel_stat' has no member named
'st_atim'
    ./xstatconv.c:252: error: 'struct kernel_stat' has no member named
'st_mtim'
    ./xstatconv.c:253: error: 'struct kernel_stat' has no member named
'st_ctim'
    Command barfed:
cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall
-fno-stack-protector -I. -fPIC -shared -o librestrict-stat.so
restrict-stat.c || gcc -W -Wall  -I. -fPIC -shared -o
librestrict-stat.so restrict-stat.c
<<<<<<<< Tail of target/tools/log/librestrict.log

*** Failed target: tools::librestrict


I attach also the complete log.

BTW, in the log I read:
+build_bits=32

Shouldn't it be 64?
This is my CPU:
http://en.wikipedia.org/wiki/Loongson#Loongson_2F 

Goodnight,
Federico

 * Starting build: Fri May 21 00:42:50 2010
must rebuild: tools::librestrict

 *** Checksum mismatch: diff (librestrict, tools)
--- /home/fede/gub/target/tools/packages/librestrict.checksum 0000

+++ THIS BUILD Fri May 21 00:41:24 2010

@@ -1,1 +1,217 @@

-0000
+UpdateSourceDir(not tracking)
 *** Checksum mismatch: diff (librestrict, tools)
--- /home/fede/gub/target/tools/packages/librestrict.checksum 0000

+++ THIS BUILD Fri May 21 00:41:24 2010

@@ -1,1 +1,217 @@

-0000
+UpdateSourceDir(not tracking)
+Dump
+/home/fede/gub/target/tools/status/librestrict-1.9.a-1.9.a
+untar
+Dump
+/home/fede/gub/target/tools/status/librestrict-1.9.a-1.9.a
+patch
+rm -rf /home/fede/gub/target/tools/build/librestrict-1.9.a
+ShadowTree
+/home/fede/gub/librestrict
+/home/fede/gub/target/tools/build/librestrict-1.9.a
+Dump
+/home/fede/gub/target/tools/status/librestrict-1.9.a-1.9.a
+shadow
+cd /home/fede/gub/target/tools/build/librestrict-1.9.a && cd /home/fede/gub/target/tools/build/librestrict-1.9.a && cat restrict-open.c > restrict-all.c
+cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-exec.so restrict-exec.c || gcc -W -Wall  -I. -fPIC -shared -o librestrict-exec.so restrict-exec.c
+cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-open.so restrict-open.c || gcc -W -Wall  -I. -fPIC -shared -o librestrict-open.so restrict-open.c
+cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-stat.so restrict-stat.c || gcc -W -Wall  -I. -fPIC -shared -o librestrict-stat.so restrict-stat.c
+cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-all.so restrict-all.c || gcc -W -Wall  -I. -fPIC -shared -o librestrict-all.so restrict-all.c
+cd /home/fede/gub/target/tools/build/librestrict-1.9.a && mv librestrict-all.so librestrict.so
+Dump
+/home/fede/gub/target/tools/status/librestrict-1.9.a-1.9.a
+compile
+rm -rf /home/fede/gub/target/tools/install/librestrict-1.9.a-root
+cd /home/fede/gub/target/tools/build/librestrict-1.9.a &&  mkdir -p /home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr/lib && cp -p librestrict*.so /home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr/lib 
+Func
+        def install (logger, lst):
+            for file in lst:
+                if os.path.exists (file):
+                    cmd = self.expand ('''
+mkdir -p %(install_root)s/license
+cp %(file)s %(install_root)s/license/%(name)s
+''', locals ())
+                    loggedos.system (logger, cmd)
+                    return
+
+(['/home/fede/gub/target/tools/src/librestrict-1.9.a/COPYING', '/home/fede/gub/target/tools/src/librestrict-1.9.a/COPYING.LIB', '/home/fede/gub/target/tools/src/librestrict-1.9.a/LICENSE', '/home/fede/gub/target/tools/src/librestrict-1.9.a/LICENCE'],)
+MapLocate
+        def installed_la_fixup (logger, la):
+            (dir, base) = os.path.split (la)
+            base = base[3:-3]
+            dir = re.sub (r"^\./", "/", dir)
+
+            loggedos.file_sub (logger, [(''' *-L *[^\"\' ][^\"\' ]*''', ''),
+                    (self.expand ('''( |=|\')(/[^ ]*usr/lib|%(targetdir)s.*)/lib([^ \'/]*)\.(a|la|so)[^ \']*'''),
+                    '\\1-l\\3 '),
+                    ('^old_library=.*',
+                     self.expand ("""old_library='lib%(base)s.a'""", env=locals ())),
+                    ],
+                   la)
+            if self.settings.platform.startswith ('mingw'):
+
+                loggedos.file_sub (logger, [('library_names=.*',
+                                 self.expand ("library_names='lib%(base)s.dll.a'", env=locals ()))],
+                               la)
+
+/home/fede/gub/target/tools/install/librestrict-1.9.a-root
+lib*.la
+rm -f     /home/fede/gub/target/tools/install/librestrict-1.9.a-root/home/fede/gub/target/tools/root/usr/info/dir     /home/fede/gub/target/tools/install/librestrict-1.9.a-root/home/fede/gub/target/tools/root/usr/info/dir.old     /home/fede/gub/target/tools/install/librestrict-1.9.a-root/home/fede/gub/target/tools/root/usr/share/info/dir     /home/fede/gub/target/tools/install/librestrict-1.9.a-root/home/fede/gub/target/tools/root/usr/share/info/dir.old     /home/fede/gub/target/tools/install/librestrict-1.9.a-root/home/fede/gub/target/tools/root/usr/cross/info/dir     /home/fede/gub/target/tools/install/librestrict-1.9.a-root/home/fede/gub/target/tools/root/usr/cross/info/dir.old     /home/fede/gub/target/tools/install/librestrict-1.9.a-root/home/fede/gub/target/tools/root/usr/cross/share/info/dir     /home/fede/gub/target/tools/install/librestrict-1.9.a-root/home/fede/gub/target/tools/root/usr/cross/share/info/dir.old 
+Dump
+/home/fede/gub/target/tools/status/librestrict-1.9.a-1.9.a
+install
+tar -C /home/fede/gub/target/tools/src --exclude "*~" --exclude "*.orig" -zcf /home/fede/gub/target/tools/packages/librestrict-1.9.a-src.tools.tar.gz librestrict-1.9.a
+Dump
+/home/fede/gub/target/tools/status/librestrict-1.9.a-1.9.a
+src_package
+MapLocate
+        def rewire (logger, file):
+            if os.path.islink (file):
+                s = os.readlink (file)
+                if s.startswith ('/') and self.settings.system_root not in s:
+                    new_dest = os.path.join (self.settings.system_root, s[1:])
+                    loggedos.remove (logger, file)
+                    loggedos.symlink (logger, new_dest, file)
+
+/home/fede/gub/target/tools/install/librestrict-1.9.a-root
+*
+PackageGlobs
+/
+/home/fede/gub/target/tools/install/librestrict-1.9.a-root
+/home/fede/gub/target/tools/root
+/home/fede/gub/target/tools/packages/librestrict-1.9.a.tools.gup
+Dump
+/home/fede/gub/target/tools/packages/librestrict.tools.hdr
+CPATH=
+CPLUS_INCLUDE_PATH=/home/fede/gub/target/tools/root/usr/include
+C_INCLUDE_PATH=/home/fede/gub/target/tools/root/usr/include
+LD_LIBRARY_PATH=/home/fede/gub/target/tools/root
+LD_PRELOAD=
+LIBRARY_PATH=/home/fede/gub/target/tools/root/usr/lib
+PATH=/home/fede/gub/target/tools/root/usr/bin:/home/fede/gub/target/tools/root/usr/cross/bin:/home/fede/gub/target/tools/root/usr/bin:/home/fede/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
+PERL5LIB=foo:/home/fede/gub/target/tools/root/usr/lib/perl5/5.10.0:/home/fede/gub/target/tools/root/usr/lib/perl5/5.10.0/mipsel-linux:/home/fede/gub/target/tools/root/usr/share/autoconf
+__module__=librestrict
+_created_name=librestrict
+allbuilddir=/home/fede/gub/target/tools/build
+alllogdir=/home/fede/gub/log
+allsrcdir=/home/fede/gub/target/tools/src
+alltargetdir=/home/fede/gub/target
+architecture=tools
+autodir=/home/fede/gub/target/tools/src/librestrict-1.9.a
+ball_suffix=-1.9.a
+basename=librestrict-1.9a
+bits=32
+branch=
+build_architecture=mipsel-linux
+build_bits=32
+build_cpu=mipsel
+build_dependencies_string=system::gcc
+build_hardware_bits=32
+build_number=0
+build_os=linux
+build_platform=linux-mipsel
+builddir=/home/fede/gub/target/tools/build/librestrict-1.9.a
+category=
+checksum_file=/home/fede/gub/target/tools/packages/librestrict.checksum
+compile_command=cd /home/fede/gub/target/tools/build/librestrict-1.9.a && cat restrict-open.c > restrict-all.c
+cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-exec.so restrict-exec.c || gcc -W -Wall  -I. -fPIC -shared -o librestrict-exec.so restrict-exec.c
+cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-open.so restrict-open.c || gcc -W -Wall  -I. -fPIC -shared -o librestrict-open.so restrict-open.c
+cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-stat.so restrict-stat.c || gcc -W -Wall  -I. -fPIC -shared -o librestrict-stat.so restrict-stat.c
+cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-all.so restrict-all.c || gcc -W -Wall  -I. -fPIC -shared -o librestrict-all.so restrict-all.c
+cd /home/fede/gub/target/tools/build/librestrict-1.9.a && mv librestrict-all.so librestrict.so
+compile_command_native=make -j2 prefix=/home/fede/gub/target/tools/root/usr 
+compile_flags=
+config_cache_file=/home/fede/gub/target/tools/build/librestrict-1.9.a/config.cache
+config_cache_overrides=
+configure_binary=/home/fede/gub/target/tools/src/librestrict-1.9.a/configure
+configure_command= sh /home/fede/gub/target/tools/src/librestrict-1.9.a/configure --prefix=/home/fede/gub/target/tools/root/usr --enable-shared --enable-static --disable-silent-rules  CFLAGS=-I/home/fede/gub/target/tools/root/usr/include LDFLAGS='-L/home/fede/gub/target/tools/root/usr/lib -Wl,-rpath -Wl,\$$ORIGIN/../lib -Wl,-rpath -Wl,/home/fede/gub/target/tools/root/usr/lib ' 
+configure_flags= --prefix=/home/fede/gub/target/tools/root/usr --enable-shared --enable-static --disable-silent-rules 
+configure_prefix=/home/fede/gub/target/tools/root/usr
+configure_variables= CFLAGS=-I/home/fede/gub/target/tools/root/usr/include LDFLAGS='-L/home/fede/gub/target/tools/root/usr/lib -Wl,-rpath -Wl,\$$ORIGIN/../lib -Wl,-rpath -Wl,/home/fede/gub/target/tools/root/usr/lib ' 
+conflicts_string=;librestrict;librestrict-exec;librestrict-exec-open;librestrict-exec-open-stat;librestrict-exec-stat;librestrict-open;librestrict-open-stat;librestrict-stat;coreutils;bash
+core_prefix=/home/fede/gub/target/tools/root/usr/cross/core
+cpu=tools
+cpu_count=1
+cpu_count_str=1
+cross_allsrcdir=/home/fede/gub/target/tools/src/cross
+cross_dir=/cross
+cross_packages=/home/fede/gub/target/tools/packages/cross
+cross_prefix=/home/fede/gub/target/tools/root/usr/cross
+cross_statusdir=/home/fede/gub/target/tools/status/cross
+debian_branch=stable
+dependencies_string=;
+description=
+downloads=/home/fede/gub/downloads
+fakeroot=fakeroot -i -s 
+fakeroot_cache=
+file_name=librestrict-1.9a.tar
+full_version=1.9.a
+gtk_version=2.8
+gubdir=/home/fede/gub
+gubdir_prefix=/home/fede/gub
+install_command= mkdir -p /home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr/lib && cp -p librestrict*.so /home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr/lib 
+install_flags= DESTDIR=/home/fede/gub/target/tools/install/librestrict-1.9.a-root install
+install_flags_destdir_broken= bindir=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr/bin aclocaldir=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr/share/aclocal datadir=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr/share exec_prefix=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr gcc_tooldir=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr includedir=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr/include infodir=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr/share/info libdir=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr/lib libexecdir=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr/lib mandir=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr/share/man prefix=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr sysconfdir=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr/etc tooldir=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr 
+install_prefix=/home/fede/gub/target/tools/install/librestrict-1.9.a-root//home/fede/gub/target/tools/root/usr
+install_root=/home/fede/gub/target/tools/install/librestrict-1.9.a-root
+installdir=/home/fede/gub/target/tools/install
+job_spec=-j2
+libs=
+logdir=/home/fede/gub/target/tools/log
+make_flags=prefix=/home/fede/gub/target/tools/root/usr
+name=librestrict
+name_version=librestrict-1.9.a
+nsisdir=/home/fede/gub/nsis
+os=tools
+package_arch=mipsel
+packages=/home/fede/gub/target/tools/packages
+packaging_suffix_dir=/home/fede/gub/target/tools/root
+patchdir=/home/fede/gub/patches
+platform=tools
+platform_uploads=/home/fede/gub/uploads/tools
+prefix_dir=/usr
+pretty_name=Librestrict_nomake
+root_dir=/root
+rpath=-Wl,-rpath -Wl,\$$ORIGIN/../lib -Wl,-rpath -Wl,/home/fede/gub/target/tools/root/usr/lib
+so_extension=.so
+so_version=1
+source_checksum=1.9.a
+source_name=librestrict
+sourcefiledir=/home/fede/gub/sourcefiles
+specdir=/home/fede/gub/gub/specs
+split_ball=/home/fede/gub/target/tools/packages/librestrict-1.9.a.tools.gup
+split_hdr=/home/fede/gub/target/tools/packages/librestrict.tools.hdr
+split_name=librestrict
+src_package_ball=/home/fede/gub/target/tools/packages/librestrict-1.9.a-src.tools.tar.gz
+src_package_uploads=/home/fede/gub/target/tools/packages
+srcdir=/home/fede/gub/target/tools/src/librestrict-1.9.a
+stamp_file=/home/fede/gub/target/tools/status/librestrict-1.9.a-1.9.a
+statusdir=/home/fede/gub/target/tools/status
+sub_name=
+system_cross_prefix=/home/fede/gub/target/tools/root/usr/cross
+system_prefix=/home/fede/gub/target/tools/root/usr
+system_root=/home/fede/gub/target/tools/root
+target_architecture=mipsel-linux
+target_bits=32
+target_cpu=mipsel
+target_gcc_flags=
+target_os=linux
+target_platform=tools
+targetdir=/home/fede/gub/target/tools
+toolchain_prefix=
+tools_cross_prefix=/home/fede/gub/target/tools/root/usr/cross
+tools_prefix=/home/fede/gub/target/tools/root/usr
+tools_root=/home/fede/gub/target/tools/root
+tools_root_dir=/tools/root
+uploads=/home/fede/gub/uploads
+vc_branch=
+vc_branch_suffix=
+version=1.9.a
+workdir=/home/fede/gub
+workdir_prefix=/home/fede/gub
+rm -rf /home/fede/gub/target/tools/install/librestrict-1.9.a-root
+Dump
+/home/fede/gub/target/tools/status/librestrict-1.9.a-1.9.a
+package
+rm -rf  /home/fede/gub/target/tools/status/librestrict-1.9.a-1.9.a /home/fede/gub/target/tools/install/librestrict-1.9.a-root
+rm -rf /home/fede/gub/target/tools/src/librestrict-1.9.a /home/fede/gub/target/tools/build/librestrict-1.9.a
building package: tools::librestrict
 *** Stage: download (librestrict, tools)
 *** Stage: untar (librestrict, tools)
invoking rm -rf /home/fede/gub/target/tools/src/librestrict-1.9.a /home/fede/gub/target/tools/build/librestrict-1.9.a /home/fede/gub/target/tools/install/librestrict-1.9.a-root
Running dump_file
  ('untar', '/home/fede/gub/target/tools/status/librestrict-1.9.a-1.9.a', 'w')
  {'permissions': 420}
 *** Stage: patch (librestrict, tools)
Running dump_file
  ('patch', '/home/fede/gub/target/tools/status/librestrict-1.9.a-1.9.a', 'w')
  {'permissions': 420}
 *** Stage: shadow (librestrict, tools)
invoking rm -rf /home/fede/gub/target/tools/build/librestrict-1.9.a
Running shadow
  ('/home/fede/gub/librestrict', '/home/fede/gub/target/tools/build/librestrict-1.9.a', False)
  {}
Running dump_file
  ('shadow', '/home/fede/gub/target/tools/status/librestrict-1.9.a-1.9.a', 'w')
  {'permissions': 420}
 *** Stage: compile (librestrict, tools)
invoking cd /home/fede/gub/target/tools/build/librestrict-1.9.a && cd /home/fede/gub/target/tools/build/librestrict-1.9.a && cat restrict-open.c > restrict-all.c
invoking cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-exec.so restrict-exec.c || gcc -W -Wall  -I. -fPIC -shared -o librestrict-exec.so restrict-exec.c
invoking cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-open.so restrict-open.c || gcc -W -Wall  -I. -fPIC -shared -o librestrict-open.so restrict-open.c
invoking cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-stat.so restrict-stat.c || gcc -W -Wall  -I. -fPIC -shared -o librestrict-stat.so restrict-stat.c
In file included from ./xstatconv.c:22,
                 from restrict-stat.c:106:
./kernel_stat.h:43: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
In file included from restrict-stat.c:106:
./xstatconv.c: In function '__xstat_conv':
./xstatconv.c:66: error: 'struct kernel_stat' has no member named 'st_blksize'
./xstatconv.c:67: error: 'struct kernel_stat' has no member named 'st_blocks'
./xstatconv.c:76: error: 'struct kernel_stat' has no member named 'st_atim'
./xstatconv.c:77: error: 'struct kernel_stat' has no member named 'st_mtim'
./xstatconv.c:78: error: 'struct kernel_stat' has no member named 'st_ctim'
./xstatconv.c: In function '__xstat64_conv':
./xstatconv.c:137: error: 'struct kernel_stat' has no member named 'st_blksize'
./xstatconv.c:137: error: 'struct kernel_stat' has no member named 'st_blksize'
./xstatconv.c:138: error: 'struct kernel_stat' has no member named 'st_blocks'
./xstatconv.c:138: error: 'struct kernel_stat' has no member named 'st_blocks'
./xstatconv.c:147: error: 'struct kernel_stat' has no member named 'st_atim'
./xstatconv.c:147: error: 'struct kernel_stat' has no member named 'st_atim'
./xstatconv.c:148: error: 'struct kernel_stat' has no member named 'st_mtim'
./xstatconv.c:148: error: 'struct kernel_stat' has no member named 'st_mtim'
./xstatconv.c:149: error: 'struct kernel_stat' has no member named 'st_ctim'
./xstatconv.c:149: error: 'struct kernel_stat' has no member named 'st_ctim'
./xstatconv.c: In function '__xstat32_conv':
./xstatconv.c:234: error: 'struct kernel_stat' has no member named 'st_blksize'
./xstatconv.c:235: error: 'struct kernel_stat' has no member named 'st_blocks'
./xstatconv.c:237: error: 'struct kernel_stat' has no member named 'st_blocks'
./xstatconv.c:238: error: 'struct kernel_stat' has no member named 'st_blocks'
./xstatconv.c:251: error: 'struct kernel_stat' has no member named 'st_atim'
./xstatconv.c:252: error: 'struct kernel_stat' has no member named 'st_mtim'
./xstatconv.c:253: error: 'struct kernel_stat' has no member named 'st_ctim'
In file included from ./xstatconv.c:22,
                 from restrict-stat.c:106:
./kernel_stat.h:43: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
In file included from restrict-stat.c:106:
./xstatconv.c: In function '__xstat_conv':
./xstatconv.c:66: error: 'struct kernel_stat' has no member named 'st_blksize'
./xstatconv.c:67: error: 'struct kernel_stat' has no member named 'st_blocks'
./xstatconv.c:76: error: 'struct kernel_stat' has no member named 'st_atim'
./xstatconv.c:77: error: 'struct kernel_stat' has no member named 'st_mtim'
./xstatconv.c:78: error: 'struct kernel_stat' has no member named 'st_ctim'
./xstatconv.c: In function '__xstat64_conv':
./xstatconv.c:137: error: 'struct kernel_stat' has no member named 'st_blksize'
./xstatconv.c:137: error: 'struct kernel_stat' has no member named 'st_blksize'
./xstatconv.c:138: error: 'struct kernel_stat' has no member named 'st_blocks'
./xstatconv.c:138: error: 'struct kernel_stat' has no member named 'st_blocks'
./xstatconv.c:147: error: 'struct kernel_stat' has no member named 'st_atim'
./xstatconv.c:147: error: 'struct kernel_stat' has no member named 'st_atim'
./xstatconv.c:148: error: 'struct kernel_stat' has no member named 'st_mtim'
./xstatconv.c:148: error: 'struct kernel_stat' has no member named 'st_mtim'
./xstatconv.c:149: error: 'struct kernel_stat' has no member named 'st_ctim'
./xstatconv.c:149: error: 'struct kernel_stat' has no member named 'st_ctim'
./xstatconv.c: In function '__xstat32_conv':
./xstatconv.c:234: error: 'struct kernel_stat' has no member named 'st_blksize'
./xstatconv.c:235: error: 'struct kernel_stat' has no member named 'st_blocks'
./xstatconv.c:237: error: 'struct kernel_stat' has no member named 'st_blocks'
./xstatconv.c:238: error: 'struct kernel_stat' has no member named 'st_blocks'
./xstatconv.c:251: error: 'struct kernel_stat' has no member named 'st_atim'
./xstatconv.c:252: error: 'struct kernel_stat' has no member named 'st_mtim'
./xstatconv.c:253: error: 'struct kernel_stat' has no member named 'st_ctim'
Command barfed: cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-stat.so restrict-stat.c || gcc -W -Wall  -I. -fPIC -shared -o librestrict-stat.so restrict-stat.c
Traceback (most recent call last):
  File "bin/gub", line 233, in exceptional_build
    build (settings, options, files)
  File "bin/gub", line 229, in build
    b.build_source_packages (names)
  File "bin/../gub/buildrunner.py", line 334, in build_source_packages
    self.spec_build (spec_name)
  File "bin/../gub/buildrunner.py", line 262, in spec_build
    deferred_runner.execute_deferred_commands ()
  File "bin/../gub/runner.py", line 167, in execute_deferred_commands
    cmd.execute (self.logger)
  File "bin/../gub/commands.py", line 75, in execute
    ignore_errors=self.ignore_errors)
  File "bin/../gub/loggedos.py", line 93, in system
    raise misc.SystemFailed (m)
SystemFailed: Command barfed: cd /home/fede/gub/target/tools/build/librestrict-1.9.a && gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-stat.so restrict-stat.c || gcc -W -Wall  -I. -fPIC -shared -o librestrict-stat.so restrict-stat.c

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to