[MacPorts] #20548: (tiger) e2fsprogs build failure

MacPorts noreply at macports.org
Mon Aug 3 23:39:33 PDT 2009


#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


More information about the macports-tickets mailing list