[yocto] autotools error when building libdbus-c++; autoreconf "possibly undefined macro: AC_DEFINE"
S.Jaritz at esa-grimma.de
S.Jaritz at esa-grimma.de
Fri May 13 07:21:43 PDT 2016
Hej
I try to build the libdbus-c++ libary. The build process is based on
autotools. When compiling it do_configure throws an error. The macro
"AC_DEFINE" is not found. Any idea how to make autoreconf run?
Below I listed to recipe and after the Error plot
######### libdbus-c++_0.9.bb ###########
SUMMARY = "libdbus-c++"
SECTION = "ccc"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
inherit autotools
SRC_URI[md5sum] = "e752116f523fa88ef041e63d3dee4de2"
SRC_URI[sha256sum] =
"bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385af4e61"
SRC_URI = "
https://sourceforge.net/projects/dbus-cplusplus/files/dbus-c++/0.9.0/libdbus-c++-0.9.0.tar.gz
"
S = "${WORKDIR}/libdbus-c++-0.9.0"
BBCLASSEXTEND += "native"
####################
######### Error ###########
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal
--system-acdir=/home/user/myTC/poky/build/tmp/work/cortexa5hf-vfp-poky-linux-gnueabi/libdbus-c++/0.9-r0/build/aclocal-copy/
-I
/home/user/myTC/poky/build/tmp/work/cortexa5hf-vfp-poky-linux-gnueabi/libdbus-c++/0.9-r0/libdbus-c++-0.9.0/m4/
-I
/home/user/myTC/poky/build/tmp/work/cortexa5hf-vfp-poky-linux-gnueabi/libdbus-c++/0.9-r0/libdbus-c++-0.9.0/m4/
--force -I m4
| autoreconf: configure.ac: tracing
| autoreconf: running: libtoolize --copy --force
| libtoolize: putting auxiliary files in '.'.
| libtoolize: copying file './ltmain.sh'
| libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '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'
| autoreconf: running:
/home/user/myTC/poky/build/tmp/sysroots/x86_64-linux/usr/bin/autoconf
--include=/home/user/myTC/poky/build/tmp/work/cortexa5hf-vfp-poky-linux-gnueabi/libdbus-c++/0.9-r0/libdbus-c++-0.9.0/m4/
--force
| configure.ac:54: error: possibly undefined macro: AC_DEFINE
| If this token and others are legitimate, please use
m4_pattern_allow.
| See the Autoconf documentation.
| autoreconf:
/home/user/myTC/poky/build/tmp/sysroots/x86_64-linux/usr/bin/autoconf
failed with exit status: 1
####################
Mit freundlichen Grüßen
Stefan Jaritz
Entwickler
------------------------------------------------------------
ESA Elektroschaltanlagen Grimma GmbH
Broner Ring 30
04668 Grimma
Telefon: +49 3437 9211 176
Telefax: +49 3437 9211 26
E-Mail: s.jaritz at esa-grimma.de
Internet: www.esa-grimma.de
Geschäftsführer:
Dipl.-Ing. Jörg Gaitzsch
Jörg Reinker
Sitz der Gesellschaft: Grimma
Ust.-ID: DE 141784437
Amtsgericht: Leipzig, HRB 5159
Steuernummer: 238/108/00755
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten
haben, informieren Sie bitte sofort den Absender und löschen Sie diese
Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
Mail
ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you
are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is
strictly
forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160513/03ca6de4/attachment.html>
More information about the yocto
mailing list