[MacPorts] #31748: gtkwave @ 3.3.15: fails to build on Mac OS X Lion with Xcode 4.2 (clang) due to references to undefined symbols by lxtminer.o and lxt2vcd.o

MacPorts noreply at macports.org
Mon Oct 24 03:07:37 PDT 2011


#31748: gtkwave @ 3.3.15: fails to build on Mac OS X Lion with Xcode 4.2 (clang)
due to references to undefined symbols by lxtminer.o and lxt2vcd.o
-----------------------------------+----------------------------------------
 Reporter:  Torsten.Maehne@…       |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  2.0.3                                
 Keywords:                         |        Port:  gtkwave                              
-----------------------------------+----------------------------------------
 The current version 3.3.15 of gtkwave available in MacPorts fails to build
 with the following linker errors:
 {{{
 ...
 Undefined symbols for architecture x86_64:
   "_lxt2_rd_clr_fac_process_mask", referenced from:
       _vcd_callback in lxt2miner.o
   "_lxt2_rd_get_num_facs", referenced from:
       _process_lxt2 in lxt2miner.o
   "_lxt2_rd_set_fac_process_mask_all", referenced from:
       _process_lxt2 in lxt2miner.o
   "_lxt2_rd_set_max_block_mem_usage", referenced from:
       _process_lxt2 in lxt2miner.o
 ld: symbol(s) not found for architecture x86_64
 ...
 Undefined symbols for architecture x86_64:
   "_lxt2_rd_get_num_facs", referenced from:
       _process_lxt in lxt2vcd.o
   "_lxt2_rd_set_fac_process_mask_all", referenced from:
       _process_lxt in lxt2vcd.o
   "_lxt2_rd_set_max_block_mem_usage", referenced from:
       _process_lxt in lxt2vcd.o
   "_lxt2_rd_get_timescale", referenced from:
       _process_lxt in lxt2vcd.o
   "_lxt2_rd_get_alias_root", referenced from:
       _process_lxt in lxt2vcd.o
   "_lxt2_rd_get_start_time", referenced from:
       _process_lxt in lxt2vcd.o
   "_lxt2_rd_get_end_time", referenced from:
       _process_lxt in lxt2vcd.o
 ld: symbol(s) not found for architecture x86_64
 ...
 }}}
 I'm using Mac OS X Lion 10.7.2 with Xcode 4.2 ({{{clang}}}). Apparently,
 the source code is not yet compatible to {{{clang}}}. I succeeded to
 compile it by setting {{{configure.compiler}}} to {{{llvm-gcc-4.2}}}.

 A patch for the {{{Portfile}}} is attached, which also bumps the gtkwave
 version to 3.3.26.

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


More information about the macports-tickets mailing list