Opened 15 years ago
Last modified 15 years ago
#20548 closed defect
Error compiling e2fsprogs — at Initial Version
Reported by: | nils@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | tiger | Cc: | |
Port: | e2fsprogs |
Description
When I try to compile e2fsprog i get:
making all in lib/ext2fs
GEN_BSD_SOLIB libext2fs.2.1.dylib
ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option tdb.o definition of common _tdb_null (size 16) /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command failed make[2]: * [libext2fs.2.1.dylib] Error 1 make[1]: * [all-libs-recursive] Error 1 make: * [all] Error 2
Solution:
Add
CFLAGS = -O2 -fno-common
in file: lib/ext2fs/Makefile
Note: See
TracTickets for help on using
tickets.