On 2010/01/17 13:05, Michael Lechtermann wrote:
> Hi,
> 
> I've tried to build several packages on sparc64 current, but glib2
> doesn't want to build. Any ideas?

If it's already installed, remove it first. This is the number 1 cause
of 'undefined reference to ...' errors.


> /usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib/tests/testing.c:206:
> undefined reference to `g_test_log_set_fatal_handler'
> testing.o(.text+0x1794):/usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib/tests/testing.c:210:
> undefined reference to `g_test_log_set_fatal_handler'
> collect2: ld returned 1 exit status
> gmake[4]: *** [testing] Error 1
> gmake[4]: Leaving directory
> `/usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib/tests'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/pobj/glib-2.22.4/glib-2.22.4'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/devel/glib2 (line 2193 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
> 
> Stop in /usr/ports/devel/glib2 (line 1448 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
> 
> Stop in /usr/ports/devel/glib2 (line 1988 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> 
> 
> 
> 
> OpenBSD 4.6-current (GENERIC) #0: Fri Jan 15 10:39:06 CET 2010
>     r...@************:/usr/src/sys/arch/sparc64/compile/GENERIC
> real mem = 268435456 (256MB)
> 
> avail mem = 247955456 (236MB)
> 
> mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 400MHz)
> 
> cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 9.1) @ 400 MHz
> 
> cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K
> external (64 b/l)
> psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign
> 7c0
> psycho0: bus range 0-2, PCI bus 0
> 
> psycho0: dvma map c0000000-dfffffff
> 
> pci0 at psycho0
> 
> ppb0 at pci0 dev 1 function 1 "Sun Simba PCI-PCI" rev 0x13
> pci1 at ppb0 bus 1
> ebus0 at pci1 dev 1 function 0 "Sun PCIO EBus2" rev 0x01
> auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003,
> 72c000-72c003, 72f000-72f003
> power0 at ebus0 addr 724000-724003 ivec 0x25
> "SUNW,pll" at ebus0 addr 504000-504002 not configured
> sab0 at ebus0 addr 400000-40007f ivec 0x2b: rev 3.2
> sabtty0 at sab0 port 0
> sabtty1 at sab0 port 1
> comkbd0 at ebus0 addr 3083f8-3083ff ivec 0x29: layout 37
> wskbd0 at comkbd0: console keyboard
> comms0 at ebus0 addr 3062f8-3062ff ivec 0x2a
> wsmouse0 at comms0 mux 0
> lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ivec
> 0x22: polled
> "fdthree" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ivec
> 0x27 not configured
> clock1 at ebus0 addr 0-1fff: mk48t59
> "flashprom" at ebus0 addr 0-fffff not configured
> audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f,
> 722000-722003 ivec 0x23 ivec 0x24: nvaddrs 0
> audio0 at audioce0
> hme0 at pci1 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address
> 08:00:20:f9:10:f6
> nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
> machfb0 at pci1 dev 2 function 0 "ATI Mach64" rev 0x5c
> machfb0: ATY,GT-C, 1152x900
> wsdisplay0 at machfb0 mux 1: console (std, sun emulation), using wskbd0
> pciide0 at pci1 dev 3 function 0 "CMD Technology PCI0646" rev 0x03: DMA,
> channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide0: using ivec 0x7e0 for native-PCI interrupt
> wd0 at pciide0 channel 0 drive 0: <ST320420A>
> wd0: 16-sector PIO, LBA, 19458MB, 39851760 sectors
> wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets
> probe(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x0
>     SENSE KEY: Unit Attention
>      ASC/ASCQ: Power On, Reset, or Bus Device Reset Occurred
> probe(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x0
>     SENSE KEY: Not Ready
>      ASC/ASCQ: Medium Not Present
> cd0 at scsibus0 targ 0 lun 0: <LG, CD-ROM CRD-8483B, 1.00> ATAPI 5/cdrom
> removable
> cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
> ppb1 at pci0 dev 1 function 0 "Sun Simba PCI-PCI" rev 0x13
> pci2 at ppb1 bus 2
> ahc0 at pci2 dev 1 function 0 "Adaptec AHA-2940" rev 0x00: ivec 0x7d0
> scsibus1 at ahc0: 8 targets, initiator 7
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> bootpath: /p...@1f,0/p...@1,1/i...@3,0/d...@0,0
> root on wd0a swap on wd0b dump on wd0b
> 

Reply via email to