没有在自动步骤上建立香料。

时间:2022-08-28 16:33:28

I have a problem with subdir-objects, trying to build libspice

我有一个关于subdirl对象的问题,试图构建libspice。

./autogen.sh --prefix=$PREFIX
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /home/shved/Projects/usr/share/aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory spice-common to autoreconf
autoreconf: Entering directory `spice-common'
autoreconf: configure.ac: adding subdirectory spice-protocol to autoreconf
autoreconf: Entering directory `spice-protocol'
autoreconf: running: aclocal -I /home/shved/Projects/usr/share/aclocal --force 
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `spice-protocol'
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
automake: warnings are treated as errors
common/Makefile.am:4: warning: source file '$(srcdir)/generated_client_demarshallers.c' is in a subdirectory,
common/Makefile.am:4: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
common/Makefile.am:4: warning: source file '$(srcdir)/generated_client_demarshallers1.c' is in a subdirectory,
common/Makefile.am:4: but option 'subdir-objects' is disabled
common/Makefile.am:4: warning: source file '$(srcdir)/generated_client_marshallers.c' is in a subdirectory,
common/Makefile.am:4: but optio./autogen.sh --prefix=$PREFIX
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /home/shved/Projects/usr/share/aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory spice-common to autoreconf
autoreconf: Entering directory `spice-common'
autoreconf: configure.ac: adding subdirectory spice-protocol to autoreconf
autoreconf: Entering directory `spice-protocol'
autoreconf: running: aclocal -I /home/shved/Projects/usr/share/aclocal --force 
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `spice-protocol'
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
automake: warnings are treated as errors
common/Makefile.am:4: warning: source file '$(srcdir)/generated_client_demarshallers.c' is in a subdirectory,
common/Makefile.am:4: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
common/Makefile.am:4: warning: source file '$(srcdir)/generated_client_demarshallers1.c' is in a subdirectory,
common/Makefile.am:4: but option 'subdir-objects' is disabled
common/Makefile.am:4: warning: source file '$(srcdir)/generated_client_marshallers.c' is in a subdirectory,
common/Makefile.am:4: but option 'subdir-objects' is disabled
common/Makefile.am:4: warning: source file '$(srcdir)/generated_client_marshallers1.c' is in a subdirectory,
common/Makefile.am:4: but option 'subdir-objects' is disabled
common/Makefile.am:11: warning: source file '$(srcdir)/generated_server_demarshallers.c' is in a subdirectory,
common/Makefile.am:11: but option 'subdir-objects' is disabled
common/Makefile.am:11: warning: source file '$(srcdir)/generated_server_marshallers.c' is in a subdirectory,
common/Makefile.am:11: but option 'subdir-objects' is disabled
autoreconf: automake failed with exit status: 1

I did change nothing, only clone from git. I tried to ask at bugzilla, but there no response.

我没有改变什么,只是从git克隆。我试着问bugzilla,但是没有回应。

My autoreconf version is 2.69 My automake version is 1.14

我的autoreconf版本是2.69我的自动版本是1.14。

Any idea? Thank you.

任何想法?谢谢你!

1 个解决方案

#1


1  

Downgrading to automake 1.13.4 resolved this problem.

降级为automake 1.13.4解决了这个问题。

#1


1  

Downgrading to automake 1.13.4 resolved this problem.

降级为automake 1.13.4解决了这个问题。