[MacPorts] #21411: can't build i386-elf-binutils

MacPorts noreply at macports.org
Mon Oct 26 16:11:57 PDT 2009


#21411: can't build i386-elf-binutils
-----------------------------+----------------------------------------------
 Reporter:  vvv@…            |       Owner:  stepan@…             
     Type:  defect           |      Status:  new                  
 Priority:  Normal           |   Milestone:                       
Component:  ports            |     Version:  1.8.0                
 Keywords:                   |        Port:  i386-elf-binutils    
-----------------------------+----------------------------------------------

Comment(by bjorn@…):

 According to [http://thread.gmane.org/gmane.os.apple.macports.user/16155
 this post] from Rainer Müller to the Mac Ports user list, this can be
 addressed by changing line 100 in the `strings.c` file referenced in the
 error message.

 Rainer suggests replacing the line with `#if 0`. I replaced the 0 with an
 undefined variable, from:

 {{{
 #ifdef 0
 }}}

 to

 {{{
 #ifdef SOMETHING_NOT_DEFINED
 }}}

 and then re-execute `sudo port install i386-elf-binutils`. Don't know why
 I did that instead of trying `#if 0`, but this worked for me.

-- 
Ticket URL: <http://trac.macports.org/ticket/21411#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list