Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2018 00:05:58 +0200
From:      Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
To:        freebsd-ports@freebsd.org
Subject:   kbuild
Message-ID:  <6b7d93e7-0105-a5b6-614e-316673fae69a@utanet.at>

next in thread | raw e-mail | index | archive | help
fails to build

n file included from 
/ram/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/commands.c:19:0:
/ram/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/commands.c: In 
function 'delete_target':
/ram/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/make.h:872:52: 
error: 'errno' undeclared (first use in this function)
  #define EINTRLOOP(_v,_c)   while (((_v)=_c)==-1 && errno==EINTR)
                                                     ^
/ram/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/commands.c:856:3: 
note: in expansion of macro 'EINTRLOOP'
    EINTRLOOP (e, stat (file->name, &st));
    ^~~~~~~~~
/ram/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/make.h:872:52: 
note: each undeclared identifier is reported only once for each function 
it appears in
  #define EINTRLOOP(_v,_c)   while (((_v)=_c)==-1 && errno==EINTR)
                                                     ^
/ram/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/commands.c:856:3: 
note: in expansion of macro 'EINTRLOOP'
    EINTRLOOP (e, stat (file->name, &st));
    ^~~~~~~~~
/ram/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/make.h:872:59: 
error: 'EINTR' undeclared (first use in this function)
  #define EINTRLOOP(_v,_c)   while (((_v)=_c)==-1 && errno==EINTR)
                                                            ^
/ram/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/commands.c:856:3: 
note: in expansion of macro 'EINTRLOOP'
    EINTRLOOP (e, stat (file->name, &st));
    ^~~~~~~~~
/ram/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/commands.c:865:11: 
warning: implicit declaration of function 'unlink' 
[-Wimplicit-function-declaration]
        if (unlink (file->name) < 0
            ^~~~~~
/ram/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/commands.c:866:16: 
error: 'ENOENT' undeclared (first use in this function)
     && errno != ENOENT) /* It disappeared; so what.  */
                 ^~~~~~
gmake[5]: *** [Makefile:845: commands.o] Error 1
gmake[5]: Leaving directory 
'/ram/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/bootstrap/kmk'
gmake[4]: *** [Makefile:1482: all-recursive] Error 1
gmake[4]: Leaving directory 
'/ram/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/bootstrap/kmk'
gmake[3]: *** [Makefile:650: all] Error 2




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6b7d93e7-0105-a5b6-614e-316673fae69a>