pspp-dev
[Top][All Lists]
Advanced

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

Re: error when building


From: Harry Thijssen
Subject: Re: error when building
Date: Sun, 16 Apr 2017 12:34:48 +0200

Hi

There seems to be a new issue introduced. Now I get:

libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./gl -I./gl -DINSTALLDIR=\"/usr/i686-w64-mingw32/sys-root/mingw/bin\" -I./src -I./lib -I./src/language/stats -I./src/language/expressions -I./src/language/expressions -Isrc -I/usr/i686-w64-mingw32/sys-root/mingw/include -mms-bitfields -I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0 -I/usr/i686-w64-mingw32/sys-root/mingw/include/harfbuzz -I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0 -I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo -I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/pixman-1 -I/usr/i686-w64-mingw32/sys-root/mingw/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2 -I/usr/i686-w64-mingw32/sys-root/mingw/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16 -ggdb -MT src/ui/terminal/src_ui_terminal_libui_la-terminal.lo -MD -MP -MF src/ui/terminal/.deps/src_ui_terminal_libui_la-terminal.Tpo -c src/ui/terminal/terminal.c  -DDLL_EXPORT -DPIC -o src/ui/terminal/.libs/src_ui_terminal_libui_la-terminal.o
src/ui/terminal/terminal.c: In function 'terminal_check_size':
src/ui/terminal/terminal.c:51:18: error: storage size of 'ws' isn't known
   struct winsize ws;
                  ^~
src/ui/terminal/terminal.c:52:12: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
   if (0 == ioctl (0, TIOCGWINSZ, &ws))
            ^~~~~
src/ui/terminal/terminal.c:52:22: error: 'TIOCGWINSZ' undeclared (first use in this function)
   if (0 == ioctl (0, TIOCGWINSZ, &ws))
                      ^~~~~~~~~~
src/ui/terminal/terminal.c:52:22: note: each undeclared identifier is reported only once for each function it appears in
Makefile:8870: recipe for target 'src/ui/terminal/src_ui_terminal_libui_la-terminal.lo' failed
make[2]: *** [src/ui/terminal/src_ui_terminal_libui_la-terminal.lo] Error 1
make[2]: Leaving directory '/home/harry/pspp-master-20170416/pspp-0.10.4-g0ff73f'
Makefile:11578: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1

Have fun


2017-04-15 22:53 GMT+02:00 Ben Pfaff <address@hidden>:
I think that I've now fixed this problem.  Thanks for the hint.
"distclean" was deleting the testsuite, which it should not have done.

On Thu, Mar 09, 2017 at 10:30:51AM +0100, Harry Thijssen wrote:
> I was building from Ben's daily tarball which is, as far as I know,
> identical to a released tarball.
>
> BTW it happens in the second build after a distclean. So maybe the problem
> has soemthing to do with disctclean.
>
> So it is a bug?
>
> Have fun
>
> 2017-03-09 6:58 GMT+01:00 John Darrington <address@hidden>:
>
> > On Wed, Mar 08, 2017 at 10:38:36PM +0100, Harry Thijssen wrote:
> >
> >      When I try to build pspp for MSWindows I get:
> >
> >      /usr/bin/sed -e '/^"POT-Creation-Date: /d' po/zh_CN.po,tmp >
> >      po/zh_CN.po,tmp2
> >      rm -f po/zh_CN.po,tmp
> >      mv po/zh_CN.po,tmp2 po/zh_CN.po
> >      POFILES="po/ca.po po/de.po po/el.po po/es.po po/fr.po po/gl.po
> > po/hu.po
> >      po/ja.po po/lt.po po/nl.po po/pl.po po/pt_BR.po po/ru.po po/sl.po
> > po/tr.po
> >      po/uk.po po/zh_CN.po" top_builddir="." /bin/sh
> >      src/ui/gui/gen-dot-desktop.sh > src/ui/gui/pspp.desktop
> >      /bin/sh ./build-aux/missing --run autom4te --language=autotest -I '.'
> > tests/
> >      testsuite.at | /usr/bin/sed 's/@<00A0>@/ /g' > tests/testsuite.tmp
> >      ./build-aux/missing: line 81: autom4te: command not found
> >      WARNING: 'autom4te' is missing on your system.
> >               You might have modified some maintainer files that require
> >               the 'autom4te' program to be rebuilt.
> >               The 'autom4te' program is part of the GNU Autoconf package:
> >               <http://www.gnu.org/software/autoconf/>
> >               It also requires GNU m4 and Perl in order to run:
> >               <http://www.gnu.org/software/m4/>
> >               <http://www.perl.org/>
> >      test -s tests/testsuite.tmp
> >      Makefile:12456: recipe for target 'tests/testsuite' failed
> >      make[2]: *** [tests/testsuite] Error 1
> >
> >
> >      Is this an error?
> >
> > It depends:
> >
> > If you are building from a released tarball, then the answer is "yes".
> >
> > However, if you are building from (say) a git snapshot, then "no"; it means
> > that you haven't got autoconf installed (or your system can't find it).
> > See the file README.Git for details of what exactly you need to build
> > from a Git checkout.
> >
> > HTH,
> >
> > J'
> >
> >
> > --
> > Avoid eavesdropping.  Send strong encrypted email.
> > PGP Public key ID: 1024D/2DE827B3
> > fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
> > See http://sks-keyservers.net or any PGP keyserver for public key.
> >
> >

> _______________________________________________
> pspp-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/pspp-dev



reply via email to

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