[BusyBox 0000413]: compile error in e2fsprogs with debugging turned on

bugs at busybox.net bugs at busybox.net
Sat Sep 24 10:34:31 UTC 2005


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=413 
====================================================================== 
Reported By:                bernhardf
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   413
Category:                   Other
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             09-05-2005 13:21 PDT
Last Modified:              09-24-2005 03:34 PDT
====================================================================== 
Summary:                    compile error in e2fsprogs with debugging turned on
Description: 
The final linking of the busybox binary fails with

/home/cow/obj.ia32/busybox/e2fsprogs/e2fsprogs.a(mke2fs.o): In function
`handle_bad_blocks':
/home/cow/obj.ia32/busybox/e2fsprogs/mke2fs.c:262: undefined reference to
`ext2fs_group_of_blk'
/home/cow/obj.ia32/busybox/e2fsprogs/mke2fs.c:278: undefined reference to
`ext2fs_mark_block_bitmap'
/home/cow/obj.ia32/busybox/e2fsprogs/e2fsprogs.a(mke2fs.o): In function
`create_bad_block_inode':
/home/cow/obj.ia32/busybox/e2fsprogs/mke2fs.c:487: undefined reference to
`ext2fs_mark_inode_bitmap'
/home/cow/obj.ia32/busybox/e2fsprogs/e2fsprogs.a(mke2fs.o): In function
`reserve_inodes':
/home/cow/obj.ia32/busybox/e2fsprogs/mke2fs.c:503: undefined reference to
`ext2fs_mark_inode_bitmap'
/home/cow/obj.ia32/busybox/e2fsprogs/mke2fs.c:504: undefined reference to
`ext2fs_group_of_ino'
/home/cow/obj.ia32/busybox/e2fsprogs/mke2fs.c:508: undefined reference to
`ext2fs_mark_ib_dirty'
/home/cow/obj.ia32/busybox/e2fsprogs/e2fsprogs.a(mkjournal.o): In function
`ext2fs_create_journal_superblock':
/home/cow/obj.ia32/busybox/e2fsprogs/ext2fs/mkjournal.c:54: undefined
reference to `ext2fs_get_mem'
/home/cow/obj.ia32/busybox/e2fsprogs/e2fsprogs.a(mkjournal.o): In function
`write_journal_file':
/home/cow/obj.ia32/busybox/e2fsprogs/ext2fs/mkjournal.c:133: undefined
reference to `ext2fs_free_mem'
/home/cow/obj.ia32/busybox/e2fsprogs/e2fsprogs.a(mkjournal.o): In function
`write_journal_inode':
/home/cow/obj.ia32/busybox/e2fsprogs/ext2fs/mkjournal.c:243: undefined
reference to `ext2fs_mark_super_dirty'
/home/cow/obj.ia32/busybox/e2fsprogs/ext2fs/mkjournal.c:246: undefined
reference to `ext2fs_free_mem'
/home/cow/obj.ia32/busybox/e2fsprogs/e2fsprogs.a(mkjournal.o): In function
`ext2fs_add_journal_device':
/home/cow/obj.ia32/busybox/e2fsprogs/ext2fs/mkjournal.c:306: undefined
reference to `ext2fs_mark_super_dirty'
/home/cow/obj.ia32/busybox/e2fsprogs/e2fsprogs.a(mkjournal.o): In function
`ext2fs_add_journal_inode':
/home/cow/obj.ia32/busybox/e2fsprogs/ext2fs/mkjournal.c:384: undefined
reference to `ext2fs_mark_super_dirty'
/home/cow/obj.ia32/busybox/e2fsprogs/e2fsprogs.a(unix_io.o): In function
`alloc_cache':
/home/cow/obj.ia32/busybox/e2fsprogs/ext2fs/unix_io.c:264: undefined
reference to `ext2fs_get_mem'
/home/cow/obj.ia32/busybox/e2fsprogs/e2fsprogs.a(unix_io.o): In function
`free_cache':
/home/cow/obj.ia32/busybox/e2fsprogs/ext2fs/unix_io.c:284: undefined
reference to `ext2fs_free_mem'
/home/cow/obj.ia32/busybox/e2fsprogs/e2fsprogs.a(unix_io.o): In function
`unix_open':
/home/cow/obj.ia32/busybox/e2fsprogs/ext2fs/unix_io.c:384: undefined
reference to `ext2fs_get_mem'
/home/cow/obj.ia32/busybox/e2fsprogs/ext2fs/unix_io.c:389: undefined
reference to `ext2fs_get_mem'
/home/cow/obj.ia32/busybox/e2fsprogs/ext2fs/unix_io.c:394: undefined
reference to `ext2fs_get_mem'
/home/cow/obj.ia32/busybox/e2fsprogs/ext2fs/unix_io.c:462: undefined
reference to `ext2fs_free_mem'
/home/cow/obj.ia32/busybox/e2fsprogs/ext2fs/unix_io.c:465: undefined
reference to `ext2fs_free_mem'
etc, etc.
====================================================================== 

---------------------------------------------------------------------- 
 vapier - 09-24-05 00:20  
---------------------------------------------------------------------- 
works for me ... post your .config file if it's still failing 

---------------------------------------------------------------------- 
 bernhardf - 09-24-05 03:34  
---------------------------------------------------------------------- 
Still fails.

Here is a minimal config which fails:
$ egrep -v "(^#|^$)" .config
HAVE_DOT_CONFIG=y
CONFIG_FEATURE_BUFFERS_USE_MALLOC=y
CROSS_COMPILER_PREFIX=""
EXTRA_CFLAGS_OPTIONS=""
PREFIX="./_install"
CONFIG_CHATTR=y
CONFIG_E2FSCK=y
CONFIG_FSCK=y
CONFIG_LSATTR=y
CONFIG_MKE2FS=y
CONFIG_TUNE2FS=y
CONFIG_E2LABEL=y
CONFIG_FINDFS=y
CONFIG_FEATURE_SH_IS_NONE=y
CONFIG_FEATURE_COMMAND_HISTORY=0
CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0
CONFIG_DEBUG=y
CONFIG_NO_DEBUG_LIB=y 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-05-05 13:21  bernhardf      New Issue                                    
09-05-05 13:21  bernhardf      Status                   new => assigned     
09-05-05 13:21  bernhardf      Assigned To               => BusyBox         
09-24-05 00:20  vapier         Note Added: 0000573                          
09-24-05 03:34  bernhardf      Note Added: 0000574                          
======================================================================




More information about the busybox-cvs mailing list