Re: Configure errors under yocto
- From: Dan Williams <dcbw redhat com>
- To: Colin Helliwell <colin helliwell ln-systems com>, networkmanager-list gnome org
- Subject: Re: Configure errors under yocto
- Date: Wed, 29 Mar 2017 13:58:16 -0500
On Wed, 2017-03-29 at 16:52 +0100, Colin Helliwell wrote:
On 29 March 2017 at 15:13 Dan Williams <dcbw redhat com> wrote:
On Wed, 2017-03-29 at 14:32 +0100, Colin Helliwell wrote:
On 27 March 2017 at 14:25 Colin Helliwell <colin.helliwell@ln
-sys tems.com> wrote:
...
... but still have subsequent errors which seem to have been
due
to output directories not having been created e.g. libnm-
core,
introspection.
I can get it to limp a little further by creating the
directories
in the pre-configure, but not totally.
Something perhaps not hooked in right to cater for the build
directory being different to the source directory...?
May I contribute the attached patch for building-outside-source-
directory? Well, as a starting point, at least - there may be
other
build targets which could benefit from a similar mod, but I'm
building with my own (reduced) feature set, so I may not being
seeing
all of them.
Hopefully it helps though.
NM should support "srcdir != builddir" already, but sometimes bugs
creep into the makefiles. What specific error are you getting from
the
build process?
The error log is (bearing in mind this is under Yocto environment):
DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32',
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi',
'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 8
/usr/bin/perl ../git/tools/enums-to-docbook.pl 'nm-vpn-dbus-types'
'VPN Plugin D-Bus API Types' ../git/libnm-core/nm-vpn-dbus-
interface.h ../git/tools/enums-to-docbook.pl >libnm-core/nm-vpn-dbus-
types.xml
/usr/bin/perl ../git/tools/enums-to-docbook.pl 'nm-dbus-types'
'NetworkManager D-Bus API Types' ../git/libnm-core/nm-dbus-
interface.h ../git/tools/enums-to-docbook.pl >libnm-core/nm-dbus-
types.xml
/bin/sh: libnm-core/nm-vpn-dbus-types.xml: No such file or directory
/bin/sh: libnm-core/nm-dbus-types.xml: No such file or directory
make: *** [libnm-core/nm-vpn-dbus-types.xml] Error 1
make: *** Waiting for unfinished jobs....
make: *** [libnm-core/nm-dbus-types.xml] Error 1
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at
/home/colin/100051-karo/fsl-community-bsp/build/tmp/work/cortexa9hf-
neon-poky-linux-gnueabi/networkmanager/1.6-
r0/temp/log.do_compile.6973)
'ls <build-dir>' shows just:
aclocal-copy config.log docs libnm-
util po vapi
arm-poky-linux-gnueabi-
libtool config.status libnm Makefile shared
config.h data libnm-
glib NetworkManager.pc stamp-h1
Does this patch make anything better?
diff --git a/Makefile.am b/Makefile.am
index bacc616..1b9a2b4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -586,12 +586,12 @@ EXTRA_DIST += \
libnm-core/crypto_nss.c
libnm-core/nm-vpn-dbus-types.xml: libnm-core/nm-vpn-dbus-interface.h tools/enums-to-docbook.pl
- @$(MKDIR_P) libnm-core/
- $(AM_V_GEN) @PERL@ $(srcdir)/tools/enums-to-docbook.pl 'nm-vpn-dbus-types' 'VPN Plugin D-Bus API
Types' $< >$@
+ @$(MKDIR_P) $(top_builddir)/libnm-core/
+ $(AM_V_GEN) @PERL@ $(srcdir)/tools/enums-to-docbook.pl 'nm-vpn-dbus-types' 'VPN Plugin D-Bus API
Types' $< >$(top_builddir)/$@
libnm-core/nm-dbus-types.xml: libnm-core/nm-dbus-interface.h tools/enums-to-docbook.pl
- @$(MKDIR_P) libnm-core/
- $(AM_V_GEN) @PERL@ $(srcdir)/tools/enums-to-docbook.pl 'nm-dbus-types' 'NetworkManager D-Bus API
Types' $< >$@
+ @$(MKDIR_P) $(top_builddir)/libnm-core/
+ $(AM_V_GEN) @PERL@ $(srcdir)/tools/enums-to-docbook.pl 'nm-dbus-types' 'NetworkManager D-Bus API
Types' $< >$(top_builddir)/$@
BUILT_SOURCES += \
libnm-core/nm-vpn-dbus-types.xml \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]