All of lore.kernel.org
 help / color / mirror / Atom feed
* ERROR when bitbake e2fsprogs
@ 2011-05-23 16:10 张文杰
  2011-05-23 16:20 ` bitbake e2fsprogs encounter undefined reference 张文杰
  0 siblings, 1 reply; 3+ messages in thread
From: 张文杰 @ 2011-05-23 16:10 UTC (permalink / raw)
  To: yocto

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

The error log is blow:
| make[2]: Entering directory `/sdb1/yocto/poky-bernard-5.0/build/tmp/work/ppce500v2-wrs-linux-gnu/e2fsprogs-1.41.12-r20/e2fsprogs-1.41.12/misc'
|COMPILE_ET prof_err.et
|CC mke2fs.c
|CC util.c
|CC ../e2fsck/profile.c
|CC prof_err.c
|PROFILE_TO_C mke2fs.conf
|CC default_profile.c
|LD mke2fs
|CC badblocks.c
|LD badblocks
|CC tune2fs.c
|LD tune2fs
|CC dumpe2fs.c
|LD dumpe2fs
|CC blkid.c
|LD blkid
| ../lib/libext2fs.so: undefined reference to `sem_init'
| ../lib/libext2fs.so: undefined reference to `sem_destroy'
| ../lib/libext2fs.so: undefined reference to `sem_post'
| ../lib/libext2fs.so: undefined reference to `sem_wait'
| collect2: ld returned 1 exit status
| make[2]: *** [blkid] Error 1
| make[2]: Leaving directory `/sdb1/yocto/poky-bernard-5.0/build/tmp/work/ppce500v2-wrs-linux-gnu/e2fsprogs-1.41.12-r20/e2fsprogs-1.41.12/misc'
| make[1]: *** [all-progs-recursive] Error 1
| make[1]: Leaving directory `/sdb1/yocto/poky-bernard-5.0/build/tmp/work/ppce500v2-wrs-linux-gnu/e2fsprogs-1.41.12-r20/e2fsprogs-1.41.12'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
| ERROR: Function 'do_compile' failed (see /sdb1/yocto/poky-bernard-5.0/build/tmp/work/ppce500v2-wrs-linux-gnu/e2fsprogs-1.41.12-r20/temp/log.do_compile.10589 for further information)
NOTE: package e2fsprogs-1.41.12-r20: task do_compile: Failed
ERROR: Task 8 (/sdb1/yocto/poky-bernard-5.0/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.12.bb, do_compile) failed with exit code '1'
Waiting for 1 active tasks to finish:
0: ncurses-5.7-r1 do_package (pid 31748)


And in its Makefile of DIR misc it has
#
# Library definitions
#
LIB = $(top_builddir)/lib
LIBSS = $(LIB)/libss.so # -ldl
LIBCOM_ERR = $(LIB)/libcom_err.so # -lpthread
LIBE2P = $(LIB)/libe2p.so
LIBEXT2FS = $(LIB)/libext2fs.so
LIBUUID = -luuid
LIBBLKID = $(LIB)/libblkid.so # $(LIBUUID)
I think the red lind should append -lpthread, but it not. any suggestion?




[-- Attachment #2: Type: text/html, Size: 3566 bytes --]

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

* bitbake e2fsprogs encounter undefined reference
  2011-05-23 16:10 ERROR when bitbake e2fsprogs 张文杰
@ 2011-05-23 16:20 ` 张文杰
  2011-05-25  2:21   ` Cui, Dexuan
  0 siblings, 1 reply; 3+ messages in thread
From: 张文杰 @ 2011-05-23 16:20 UTC (permalink / raw)
  To: yocto

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




At 2011-05-24 00:10:19,"张文杰" <157724595@163.com> wrote:
The error log is blow:
| make[2]: Entering directory `/sdb1/yocto/poky-bernard-5.0/build/tmp/work/ppce500v2-wrs-linux-gnu/e2fsprogs-1.41.12-r20/e2fsprogs-1.41.12/misc'
|COMPILE_ET prof_err.et
|CC mke2fs.c
|CC util.c
|CC ../e2fsck/profile.c
|CC prof_err.c
|PROFILE_TO_C mke2fs.conf
|CC default_profile.c
|LD mke2fs
|CC badblocks.c
|LD badblocks
|CC tune2fs.c
|LD tune2fs
|CC dumpe2fs.c
|LD dumpe2fs
|CC blkid.c
|LD blkid
| ../lib/libext2fs.so: undefined reference to `sem_init'
| ../lib/libext2fs.so: undefined reference to `sem_destroy'
| ../lib/libext2fs.so: undefined reference to `sem_post'
| ../lib/libext2fs.so: undefined reference to `sem_wait'
| collect2: ld returned 1 exit status
| make[2]: *** [blkid] Error 1
| make[2]: Leaving directory `/sdb1/yocto/poky-bernard-5.0/build/tmp/work/ppce500v2-wrs-linux-gnu/e2fsprogs-1.41.12-r20/e2fsprogs-1.41.12/misc'
| make[1]: *** [all-progs-recursive] Error 1
| make[1]: Leaving directory `/sdb1/yocto/poky-bernard-5.0/build/tmp/work/ppce500v2-wrs-linux-gnu/e2fsprogs-1.41.12-r20/e2fsprogs-1.41.12'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
| ERROR: Function 'do_compile' failed (see /sdb1/yocto/poky-bernard-5.0/build/tmp/work/ppce500v2-wrs-linux-gnu/e2fsprogs-1.41.12-r20/temp/log.do_compile.10589 for further information)
NOTE: package e2fsprogs-1.41.12-r20: task do_compile: Failed
ERROR: Task 8 (/sdb1/yocto/poky-bernard-5.0/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.12.bb, do_compile) failed with exit code '1'
Waiting for 1 active tasks to finish:
0: ncurses-5.7-r1 do_package (pid 31748)


And in its Makefile of DIR misc it has
#
# Library definitions
#
LIB = $(top_builddir)/lib
LIBSS = $(LIB)/libss.so # -ldl
LIBCOM_ERR = $(LIB)/libcom_err.so # -lpthread
LIBE2P = $(LIB)/libe2p.so
LIBEXT2FS = $(LIB)/libext2fs.so
LIBUUID = -luuid
LIBBLKID = $(LIB)/libblkid.so # $(LIBUUID)
I think the red lind should append -lpthread, but it not. any suggestion?







[-- Attachment #2: Type: text/html, Size: 3866 bytes --]

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

* Re: bitbake e2fsprogs encounter undefined reference
  2011-05-23 16:20 ` bitbake e2fsprogs encounter undefined reference 张文杰
@ 2011-05-25  2:21   ` Cui, Dexuan
  0 siblings, 0 replies; 3+ messages in thread
From: Cui, Dexuan @ 2011-05-25  2:21 UTC (permalink / raw)
  To: '张文杰', yocto

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

I can't reproduce the issue on poky's branch master's recent commit (e10c2742bf0cf750a5c14b4e5f4763b86be2ab07) -- e2fsprogs builds fine and I don't see the "undefined reference" issue.
Looks you're using bernard branch. Maybe there are some differences between bernard and master??

Thanks,
-- Dexuan

________________________________
From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of 张文杰
Sent: 2011年5月24日 0:20
To: yocto@yoctoproject.org
Subject: [yocto] bitbake e2fsprogs encounter undefined reference



At 2011-05-24 00:10:19,"张文杰" <157724595@163.com> wrote:
The error log is blow:
| make[2]: Entering directory `/sdb1/yocto/poky-bernard-5.0/build/tmp/work/ppce500v2-wrs-linux-gnu/e2fsprogs-1.41.12-r20/e2fsprogs-1.41.12/misc'
| COMPILE_ET prof_err.et
| CC mke2fs.c
| CC util.c
| CC ../e2fsck/profile.c
| CC prof_err.c
| PROFILE_TO_C mke2fs.conf
| CC default_profile.c
| LD mke2fs
| CC badblocks.c
| LD badblocks
| CC tune2fs.c
| LD tune2fs
| CC dumpe2fs.c
| LD dumpe2fs
| CC blkid.c
| LD blkid
| ../lib/libext2fs.so: undefined reference to `sem_init'
| ../lib/libext2fs.so: undefined reference to `sem_destroy'
| ../lib/libext2fs.so: undefined reference to `sem_post'
| ../lib/libext2fs.so: undefined reference to `sem_wait'
| collect2: ld returned 1 exit status
| make[2]: *** [blkid] Error 1
| make[2]: Leaving directory `/sdb1/yocto/poky-bernard-5.0/build/tmp/work/ppce500v2-wrs-linux-gnu/e2fsprogs-1.41.12-r20/e2fsprogs-1.41.12/misc'
| make[1]: *** [all-progs-recursive] Error 1
| make[1]: Leaving directory `/sdb1/yocto/poky-bernard-5.0/build/tmp/work/ppce500v2-wrs-linux-gnu/e2fsprogs-1.41.12-r20/e2fsprogs-1.41.12'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
| ERROR: Function 'do_compile' failed (see /sdb1/yocto/poky-bernard-5.0/build/tmp/work/ppce500v2-wrs-linux-gnu/e2fsprogs-1.41.12-r20/temp/log.do_compile.10589 for further information)
NOTE: package e2fsprogs-1.41.12-r20: task do_compile: Failed
ERROR: Task 8 (/sdb1/yocto/poky-bernard-5.0/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.12.bb, do_compile) failed with exit code '1'
Waiting for 1 active tasks to finish:
0: ncurses-5.7-r1 do_package (pid 31748)

And in its Makefile of DIR misc it has
#
# Library definitions
#
LIB = $(top_builddir)/lib
LIBSS = $(LIB)/libss.so # -ldl
LIBCOM_ERR = $(LIB)/libcom_err.so # -lpthread
LIBE2P = $(LIB)/libe2p.so
LIBEXT2FS = $(LIB)/libext2fs.so
LIBUUID = -luuid
LIBBLKID = $(LIB)/libblkid.so # $(LIBUUID)
I think the red lind should append -lpthread, but it not. any suggestion?







[-- Attachment #2: Type: text/html, Size: 5698 bytes --]

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

end of thread, other threads:[~2011-05-25  2:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 16:10 ERROR when bitbake e2fsprogs 张文杰
2011-05-23 16:20 ` bitbake e2fsprogs encounter undefined reference 张文杰
2011-05-25  2:21   ` Cui, Dexuan

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.