[MacPorts] #24951: kismet-2010-01-R1 build failure on Tiger

MacPorts noreply at macports.org
Sun Jan 30 17:21:11 PST 2011


#24951: kismet-2010-01-R1 build failure on Tiger
-----------------------------------+----------------------------------------
 Reporter:  fabien.essely@…        |       Owner:  snc@…           
     Type:  defect                 |      Status:  assigned        
 Priority:  Normal                 |   Milestone:                  
Component:  ports                  |     Version:  1.8.2           
 Keywords:  tiger                  |        Port:  kismet          
-----------------------------------+----------------------------------------

Comment(by snc@…):

 I tried using -fnested-functions to no avail. You'll note the error no
 longer complains about the `-fnested-functions` but continues to fail.
 {{{
 cc1plus: warning: command line option "-fnested-functions" is valid for
 C/ObjC but not for C++
 /usr/bin/g++-4.0 -I/opt/local/include -fnested-functions
 -I/usr/include/ncurses -Wall -pipe -O2 -arch ppc -c
 darwin_control_wrapper.m -o darwin_control_wrapper.mo
 darwin_control_wrapper.m: In function 'darwin_set_channel':
 darwin_control_wrapper.m:203: warning: unused variable 'err'
 darwin_control_wrapper.m: In function 'darwin_get_channels':
 darwin_control_wrapper.m:242: error: syntax error before 'in'
 darwin_control_wrapper.m:229: warning: unused variable 'x'
 darwin_control_wrapper.m: At top level:
 darwin_control_wrapper.m:246: warning: type defaults to 'int' in
 declaration of 'ret_channels'
 darwin_control_wrapper.m:246: error: 'ret' undeclared here (not in a
 function)
 darwin_control_wrapper.m:246: warning: data definition has no type or
 storage class
 darwin_control_wrapper.m:248: warning: type defaults to 'int' in
 declaration of 'x'
 darwin_control_wrapper.m:248: error: 'supported' undeclared here (not in a
 function)
 darwin_control_wrapper.m:248: warning: data definition has no type or
 storage class
 darwin_control_wrapper.m:250: error: parse error before 'return'
 gnumake: *** [darwin_control_wrapper.mo] Error 1
 }}}

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


More information about the macports-tickets mailing list