Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17771 closed defect (fixed)

Unable to compile ext2fuse port

Reported by: a@… Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: macports@…, lists@…, ytsmith2@…
Port: ext2fuse

Description (last modified by mf2k (Frank Schima))

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

/usr/bin/gcc-4.0  -O2 -D__FreeBSD__=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.

Attachments (1)

Portfile.diff (300 bytes) - added by puzzl@… 16 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: ext2fuse removed
Owner: changed from macports-tickets@… to lorenz.schori@…
Priority: HighNormal

Assigning to maintainer. I have the same problem when I try to build it.

comment:2 Changed 16 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:3 Changed 16 years ago by lists@…

Cc: lists@… added

Cc Me!

Changed 16 years ago by puzzl@…

Attachment: Portfile.diff added

comment:4 Changed 16 years ago by puzzl@…

The attached portfile patch should fix this issue, the include path was wrong, I think. It works for me now (10.5.6)

The patch for the portfile fixes another issue which causes problems on PPC platforms. See http://www.mail-archive.com/macfuse-devel@googlegroups.com/msg00850.html for more information.

comment:5 Changed 16 years ago by Wportegijs@…

Added the 2 lines to the Portfile of ext2fs and it build's just fine. Any reason why this is not yet updated?

comment:6 in reply to:  5 Changed 16 years ago by Wportegijs@…

..... I still can't mount my ext3 usb stick though...... And somehow ntfs-3g install did work since I can acces ntfs now. This is on a MacBook2,1 10.5.6 macports 1.7 and I did selfupdate and upgrade b4 I started

comment:7 in reply to:  5 Changed 16 years ago by mf2k (Frank Schima)

Replying to Wportegijs@…:

Added the 2 lines to the Portfile of ext2fs and it build's just fine. Any reason why this is not yet updated?

I'd test the patch but I can't install the port due to #16271.

comment:8 Changed 16 years ago by mf2k (Frank Schima)

Cc: ytsmith2@… added

Ccing reporter of dup #18431.

comment:9 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from lorenz.schori@… to macsforever2000@…
Status: newassigned

Maintainer timeout.

comment:10 Changed 16 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed

Committed revision r46802. Thanks for the patch!

comment:11 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.