Opened 15 years ago

Last modified 15 years ago

#17771 closed defect

Unable to compile ext2fuse port — at Initial Version

Reported by: a@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: ext2fuse

Description

Unfortunately OSX unable to install ext2fuse port. It always gives linker error:

/usr/bin/gcc-4.0 -O2 -DFreeBSD=10 -I/opt/local/include/fuse -L/opt/local/lib -o ext2fuse ext2fuse-ext2fs.o ext2fuse-mkdir.o ext2fuse-readdir.o ext2fuse-symlink.o ext2fuse-wipe_block.o ext2fuse-fuse-ext2fs.o ext2fuse-perms.o ext2fuse-rename.o ext2fuse-truncate.o ../lib/et/libcom_err.a ../lib/ext2fs/libext2fs.a -lfuse Undefined symbols:

"_ext2fs_test_generic_bitmap", referenced from:

_do_create in ext2fuse-ext2fs.o _ext2fs_new_inode in libext2fs.a(libext2fs_a-alloc.o) _ext2fs_new_inode in libext2fs.a(libext2fs_a-alloc.o) _ext2fs_new_block in libext2fs.a(libext2fs_a-alloc.o)

"_ext2fs_test_block_bitmap_range", referenced from:

_ext2fs_get_free_blocks in libext2fs.a(libext2fs_a-alloc.o)

ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: * [ext2fuse] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

OSX is 10.5.6 and uses following gcc compiler:

i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Any idea how to fix it?

Thanks, Alexander.

Change History (0)

Note: See TracTickets for help on using tickets.