All of lore.kernel.org
 help / color / mirror / Atom feed
* libatasmart_0.13.bb: `No package 'libudev' found` and `./strpool: ./strpool: cannot execute binary file`
@ 2010-09-23 11:30 Paul Menzel
  2010-09-23 12:21 ` Steffen Sledz
  2010-09-23 13:36 ` Steffen Sledz
  0 siblings, 2 replies; 9+ messages in thread
From: Paul Menzel @ 2010-09-23 11:30 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2485 bytes --]

Dear OE folks,


I am trying to build `libatasmart_0.13.bb`.

Using Minimal as distribution `do_configure()` fails, because package
config for libudev is not found.

        […]
        | checking for arm-oe-linux-gnueabi-pkg-config... no
        | checking for pkg-config... /oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/bin/pkg-config
        | configure: WARNING: using cross tools not prefixed with host triplet
        | checking pkg-config is at least version 0.9.0... yes
        | checking for LIBUDEV... configure: error: Package requirements (libudev) were not met:
        |
        | No package 'libudev' found
        |
        | Consider adjusting the PKG_CONFIG_PATH environment variable if you
        | installed software in a non-standard prefix.
        |
        | Alternatively, you may set the environment variables LIBUDEV_CFLAGS
        | and LIBUDEV_LIBS to avoid the need to call pkg-config.
        | See the pkg-config man page for more details.
        |
        | ERROR: Function do_configure failed
        NOTE: package libatasmart-0.13-r1: task do_configure: Failed
        […]

`find minimal-dev/ -name *libudev*` did not return anything useful.
Steffen added `udev` to `DEPENDS` [1] but that does not seem to help.
(Although I do not know if he saw the same error as I do, because it is
not mentioned in the commit message.)

Using Ȧngström 2008.1 this error was not met though. But `do_compile()`
fails with `./strpool: cannot execute binary file`.

        Log data follows:
        | NOTE: make
        |   CC     strpool.o
        |   CCLD   strpool
        | ./strpool atasmart.c atasmart.strpool.c
        | ./strpool: ./strpool: cannot execute binary file
        | make: *** [atasmart.strpool.c] Error 126
        | FATAL: oe_runmake failed
        | ERROR: Function do_compile failed
        NOTE: package libatasmart-0.13-r1: task do_compile: Failed

But as far as I understand the recipe takes care of that by compiling
`strpool` for the build host [2].

        do_compile_prepend() {
        	rm strpool -f
        	${BUILD_CC} -o strpool strpool.c
        	chmod +x strpool
        }


Thanks,

Paul


[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=f94938ac8022a9ab94cccf1e61eb069a30133ffb
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/devicekit/libatasmart_0.13.bb?id=67ab615dac83b0460fa1b88dfb11c72d7c93e259

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

end of thread, other threads:[~2010-09-24 10:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-23 11:30 libatasmart_0.13.bb: `No package 'libudev' found` and `./strpool: ./strpool: cannot execute binary file` Paul Menzel
2010-09-23 12:21 ` Steffen Sledz
2010-09-23 13:36 ` Steffen Sledz
2010-09-23 14:13   ` Steffen Sledz
2010-09-24  9:03     ` Steffen Sledz
2010-09-24  9:23       ` [PATCH] libatasmart-0.13: resolve cross compile problem Steffen Sledz
2010-09-24  9:29         ` Koen Kooi
2010-09-24  9:55           ` Paul Menzel
2010-09-24 10:01             ` Steffen Sledz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.