[MacPorts] #20548: Error compiling e2fsprogs
#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
#20548: (tiger) e2fsprogs build failure ------------------------------+--------------------------------------------- Reporter: nils@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: tiger | Port: e2fsprogs ------------------------------+--------------------------------------------- Changes (by toby@…): * keywords: => tiger * version: 1.7.1 => * port: => e2fsprogs -- Ticket URL: <http://trac.macports.org/ticket/20548#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20548: (tiger) e2fsprogs build failure ------------------------------+--------------------------------------------- Reporter: nils@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: tiger | Port: e2fsprogs ------------------------------+--------------------------------------------- Description changed by toby@…: Old 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
New 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 -- -- Ticket URL: <http://trac.macports.org/ticket/20548#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20548: (tiger) e2fsprogs build failure ------------------------------+--------------------------------------------- Reporter: nils@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: tiger | Port: e2fsprogs ------------------------------+--------------------------------------------- Changes (by toby@…): * cc: nils@… (removed) -- Ticket URL: <http://trac.macports.org/ticket/20548#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20548: (tiger) e2fsprogs build failure -------------------------------+-------------------------------------------- Reporter: nils@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: duplicate | Keywords: tiger Port: e2fsprogs | -------------------------------+-------------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => duplicate Comment: Dup of #16300. -- Ticket URL: <http://trac.macports.org/ticket/20548#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts