Openembedded Core Discussions
 help / color / mirror / Atom feed
* systemtap build fails
@ 2012-05-31 23:18 Andreas Müller
  2012-06-04 14:20 ` Tom Zanussi
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Müller @ 2012-05-31 23:18 UTC (permalink / raw)
  To: openembedded-core

Hi,

I pulled today, started a build from scratch and ran into trouble with
systemtap:
...
| In file included from csclient.h:12:0,
|                  from main.cxx:24:
| cscommon.h:8:17: fatal error: ssl.h: No such file or directory
| compilation terminated.
| In file included from csclient.h:12:0,
|                  from session.cxx:18:
| cscommon.h:8:17: fatal error: ssl.h: No such file or directory
| compilation terminated.
| make[2]: *** [stap-session.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: *** [stap-main.o] Error 1
| make[2]: Leaving directory
`/home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/systemtap-1.7+git1+83bd2699d8cff2f2d6b9eaf5ea254e4cb6b33e81-r4/git'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/systemtap-1.7+git1+83bd2699d8cff2f2d6b9eaf5ea254e4cb6b33e81-r4/git'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
...

I added --without-nss to EXTRA_OECONF and rebuild. Now stap-main.o and
stap-session.o were build but now I get
...
| modverify.c:28:21: fatal error: pk11pub.h: No such file or directory
| compilation terminated.
| make[3]: *** [staprun-modverify.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| ../../nsscommon.cxx:37:17: fatal error: ssl.h: No such file or directory
| compilation terminated.
| make[3]: *** [staprun-nsscommon.o] Error 1
| make[3]: Leaving directory
`/home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/systemtap-1.7+git1+83bd2699d8cff2f2d6b9eaf5ea254e4cb6b33e81-r5/git/runtime/staprun'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory
`/home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/systemtap-1.7+git1+83bd2699d8cff2f2d6b9eaf5ea254e4cb6b33e81-r5/git/runtime/staprun'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/systemtap-1.7+git1+83bd2699d8cff2f2d6b9eaf5ea254e4cb6b33e81-r5/git'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
...

In config.log I find
...
HAVE_NSS_TRUE='#'
...

This is strange: In runtime/staprun/Makefile.am the failed files
should be excluded from build
...
if HAVE_NSS
staprun_SOURCES += modverify.c ../../nsscommon.cxx
staprun_CFLAGS += $(nss_CFLAGS)
staprun_CXXFLAGS += $(nss_CFLAGS)
staprun_LDADD += $(nss_LIBS)
endif
...

Seems HAVE_NSS_TRUE='#' has not reached runtime/staprun

Any thoughts?

Andreas



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-05 10:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-31 23:18 systemtap build fails Andreas Müller
2012-06-04 14:20 ` Tom Zanussi
2012-06-04 22:46   ` Andreas Müller
2012-06-04 22:53     ` Tom Zanussi
2012-06-05 10:02       ` Andreas Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox