[MacPorts] #20548: Error compiling e2fsprogs
MacPorts
noreply at macports.org
Mon Aug 3 23:23:18 PDT 2009
#20548: Error compiling e2fsprogs
------------------------------+---------------------------------------------
Reporter: nils@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port:
------------------------------+---------------------------------------------
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
--
Ticket URL: <http://trac.macports.org/ticket/20548>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list